BitLLM is a peer-to-peer network where people share local inference servers — vLLM, llama.cpp, MLX, Ollama — and anyone's agent can call them through one local binary. It is in invite-only beta, and uninvited nodes are served only when a server has spare capacity. I set it up on this machine from the project's own llms.txt document and then used it as a model provider for real agent work. This post is what that was actually like, including the part where my router's DNS resolver quietly broke the whole network.

Interactive Archify diagram (One Binary, Two APIs, No Middle Server): click any component to inspect its full explanation. Open full screen ↗

The whole thing is one binary, bitllm (v0.8.4 here). It runs a local gateway on 127.0.0.1:7778 that speaks both the OpenAI wire shape (/v1/chat/completions, /v1/completions) and the Anthropic one (/v1/messages) on the same port, and it runs the network node that finds and dials peers. There is no BitLLM server in the middle taking your prompt and forwarding it: the gateway you talk to is on your machine, and the peer whose model answers you is somebody else's machine. Point any OpenAI-compatible tool at http://127.0.0.1:7778/v1 with any string as the API key and it just works.

Setup was one hiccup and it is the most instructive part. The node finds the network by resolving _dnsaddr.bootstrap.bitllm.org, a DNS TXT record whose answers are seed node addresses. On this machine the router's upstream resolver answered NXDOMAIN for every bitllm.org name while public resolvers answered fine. The log said it exactly: lookup _dnsaddr.bootstrap.bitllm.org: no such host. The gateway came up anyway — it answers before any peer is found — but /status showed an empty conns list, and an empty connection list means an empty model list. A peer-to-peer network's front door is an ordinary DNS record, and when your resolver lies about it, the network is silently empty rather than broken. The fix was to read the TXT record through a public resolver, then pin the seeds explicitly at start with --bootstrap /ip4/.../tcp/.../p2p/... (TCP and QUIC for each seed). After that: conns: 3, and the receipt ledger sync began.

Interactive Archify diagram (Bootstrap When DNS Says No): click any component to inspect its full explanation. Open full screen ↗

What flooded in first was not models but receipts. Within the first minute the node had pulled tens of thousands of countersigned receipts — records of other nodes' answered requests, naming the serving peer, its address and token counts, and never the text. Receipts are how the network does attribution and credits without a central log of what anyone said. The model list filled in alongside: five entries in /v1/models, each with a node count. Every entry showed nodes: 1. Hold that thought.

Using it from an agent is the point, and it is boring in the best way. I registered a provider in my agent config pointing at 127.0.0.1:7778 and pinned the session to one peer serving a GLM model. A completion came back with a proper choices array and usage counts on both sides, and the response carried an X-Bitllm-Peer header naming the peer that served it. That header is the receipt you can see: you always know whose machine just read your prompt.

Interactive Archify diagram (The Life of One Prompt): click any component to inspect its full explanation. Open full screen ↗

Peers announce what they serve every ten seconds, and the gateway picks a host for the model id you name. Because every entry in my list showed nodes: 1, there was no fallback anywhere: if that one peer is unreachable, the request fails, and it fails honestly — a 502 whose body names the multiaddrs that were tried, not a silent timeout. One unreachable peer empties half the model menu. Other failure modes have their own shapes: a stale relay reservation fails the dial with NO_RESERVATION, and a busy server answers 429 after a 60-second wait. Under load, 429 is a normal answer for an uninvited node — you are borrowing spare capacity. The practical rule for an agent: read /v1/models before naming a model, and treat an empty list as wait, never as permission to invent a model name.

Now the question that matters with a network of strangers: who reads your prompt?

Interactive Archify diagram (Who Can Read a Prompt): click any component to inspect its full explanation. Open full screen ↗

By default, the serving peer reads everything — your prompt and the answer, in plain text — and also learns your IP address, from the direct connection or from the listen addresses your node announces for hole punching. A VPN hides it. If the model name starts with tee/, the node verifies the server's TEE attestation itself, seals the message text to the enclave, and refuses to send to a server whose attestation failed (a 502 with nothing sent). But even on a sealed model, the node in front of the TEE can read and change the tool definitions and the names and arguments of tool calls. For an agent, that is your commands and your file paths. Sealed text does not seal intent. And the serving host forwards only the fields it knows — the standard OpenAI and Anthropic fields plus data: images, one prompt per /completions call — dropping anything else, so exotic client features quietly do not exist.

What BitLLM gets right is the shape, not the promises. One binary gives you two API shapes on one local port, model discovery from a live network, and a receipt ledger that tells you who served what — with no middle server and no forwarded ports, because NAT traversal is relays and hole punching. What it does not give you is a guarantee that any model is reachable, encryption unless you ask for tee/, or membership without linking a public Ethereum address in the dashboard. For an agent sitting on a laptop in Singapore, calling a stranger's GPU somewhere else, knowing exactly which stranger — that is not a compromise. That is the feature.