B3IQ is a local-first inference node stack with a hosted control plane and protocol accountability layer. The local node must work without cloud enrollment. Managed and network features build on top of that local baseline.

Components

ComponentRuntimeResponsibility
Host AgentGo serviceLocal identity, inventory, setup APIs, runtime probes, model jobs, local auth, API keys, receipts, heartbeats
Setup WizardReact/Vite static appBrowser UI served by the host agent at /setup
Control PlaneCloudflare Worker + D1Enrollment, node inventory, heartbeats, commands, receipts, billing, public network APIs
Protocol ExplorerCloudflare Worker static assetsPublic b3iq.org site, install scripts, network status, model and node views
ContractsSolidity + scriptsBase registry primitives and B3 mainnet payout settlement pilot contracts

Local Flow

1

Initialize host state

The host agent creates local config, identity, setup token state, runtime records, and local service state.

2

Serve setup

The setup wizard opens from the host agent at /setup/ and calls local APIs.

3

Claim ownership

The operator creates the local owner account, reviews hardware, configures runtime/model posture, and creates scoped local API keys.

4

Use local inference

Local clients call /v1/models and /v1/chat/completions through b3iq_local_ credentials.

Managed Flow

Managed enrollment avoids inbound firewall setup. The node signs outbound heartbeats and polls for commands over HTTPS.

Managed Node Flow
request + signverified enrollmentpollresults + receipts Host Agent Ed25519 node identity Enrollment Challenge Control plane nonce D1 State Inventory, commands, receipts Command Polling Outbound HTTPS only

Public Protocol Flow

b3iq.org reads public-safe network data from the control plane. It can show route readiness, model classes, public node status, receipt summaries, settlement metadata, and payout batch state. It must not expose prompts, outputs, API keys, customer IDs, exact private routes, raw tunnel details, local URLs, or raw TEE material.

State Boundaries

StateLocationNotes
Node configB3IQ home config.jsonNode ID, identity, setup token state, runtime config, local setup state
Local app statestate.db next to configJobs, audit events, receipts, users, sessions, API keys, support grants
Control-plane stateCloudflare D1Enrolled nodes, commands, heartbeats, receipts, private job metadata, billing rows
Public chain stateBase and B3 mainnetStake, registry state, public commitments, payout proof logs
Generated downloadsb3iq.org static assetsInstall scripts, release metadata, public GUI pilot artifacts

Design Principles

  • Local-first must work without cloud enrollment.
  • Managed and network features should not require inbound firewall or router setup.
  • Host-agent actions are narrow and explicit, not arbitrary shell access.
  • Browser code should not hold infrastructure credentials.
  • Onchain and public surfaces carry commitments and summaries, not private payloads.
Local, Managed, Network

Understand B3IQ's operating modes and what each one guarantees.

Learn More
Route readiness

See how public route eligibility is evaluated.

Learn More
Protocol overview

Follow receipts, settlement, stake, and reputation commitments.

Learn More
Ask a question... ⌘I