alineod
A swarm control daemon — start, fork, steer, pause, and collect results from trees of sandboxed agents over HTTP + SSE.
alineod is a long-running daemon that exposes an HTTP + Server-Sent Events API for orchestrating swarms of
agents. Every agent in a swarm is an alineo agent running in its own OpenSandbox container; alineod drives them
in-process through the Agent SDK and keeps a durable, append-only record of the whole swarm.
client ── HTTP + SSE ──▶ alineod ── in-process ──▶ alineo SDK ──▶ OpenSandbox + PiIt is a separate package from the SDK on purpose: the SDK is the library for driving one agent; alineod is the control plane for a tree of them — and because its interface is a wire protocol (an OpenAPI document plus an event schema), any language can drive a swarm without an SDK of its own.
What it does
- Runs and spawn trees — create a run with a root agent, then fork children from any live agent's sandbox.
- Fan-out / gather — a child can
waitForother agents; their results are written into its sandbox before it starts. - Budgets —
spawnDepthandmaxAgentslimits, enforced per lineage, refused with abudget_deniedevent. - Live control —
steera running turn,pause/resumean agent's container,stopan agent or delete a whole run. - One event stream per run — lifecycle events plus every agent's forwarded harness events, resumable with
Last-Event-ID. - Crash-only recovery — agents run in containers, not as child processes; restart alineod and it reconnects to the swarm without interrupting in-flight turns.