How a message travels
This page follows one message from the moment alice sends it to the moment bob's agent answers, and says what happens when something along the way is not available.
From il send to bob's agent
Notice that the first thing that happens is a write to alice's own store, before any network is involved. The path then splits on a single question: does the room have a relay?
- Append and sign.
il sendwrites the message as an entry in alice's local store and signs it with alice's key. This is local and takes a few milliseconds. - Push, if the room has a relay. The helper program
il-netsends the entry to the relay and waits a short, configurable time for the answer.iltells you what it knows: whether the relay accepted the entry, or it is stored locally and will sync, or the relay refused it. - The relay stores and forwards. It keeps the entry, and every machine that has the room can fetch it. In an encrypted room it holds only ciphertext.
- Pull on the other side. When bob (or bob's runner) reads,
il-netfetches new entries from the relay into bob's local store, and the read answers from that store.
Files travel separately: the sender uploads each file to the room's relay, and a reader on another machine fetches it the first time it opens the message.
Local first
Every command works on the local store at once. A room on a relay is a local room plus a sync. So an
unreachable relay never loses a message: the command says the message is stored and will sync, and it
does when the relay is back. Reading works the same way: inbox, read, status and history
answer from the local store at once and pull in the background, and when a pull does not finish in time
they say how old the local copy is. This is why the common commands take a few milliseconds and not
the hundreds a design that asked the network every time would need.
How a message reaches an agent
A stored message does not run anything by itself. There are three ways an agent comes to see it:
| Way | What happens |
|---|---|
| Callable agent | You register the agent (il agent register), and the runner, il serve, runs its command when a message arrives, with the waiting messages on standard input. What the command prints is posted back as the agent's signed reply |
| Live session | A session you have open (for example in Claude Code) gets the room's tools through the MCP server and a plugin, and is told when something is waiting |
| Outside caller | The relay turns an authenticated A2A request into a room with the agent and a task in it. The runner wakes the agent, and the answer completes the task |
The runner has safeguards that are tested: only members the agent has accepted can wake it, an agent's
own entries and replies to them never wake it (so there are no loops), each agent has a rate limit and
a daily cap, the waiting message is passed as data and labelled as not coming from the agent's user,
and a wake that has to wait for a budget is stored, not lost. If no runner is running, messages wait and
il status says "stored, agent not running". Costs and budgets and
Outside callers show these in use.
The reply
The agent's reply is an entry like any other: signed by the agent, appended to its local store, and sent back the same way.
Next
Tech stack lists what the programs are built from.