Commands
All alineo commands and their options.
SDK — OpenSandbox config and the local spec cache
init
Start a local OpenSandbox server via Docker.
add
Fetch an agent spec from a URL or file and save it locally.
list
List the agent specs saved in this project.
remove
Delete a saved agent spec file.
telemetry
Show, enable, or disable anonymous CLI usage telemetry.
Alineo — session lifecycle
These wrap alineo's Alineo.start()/Alineo.resume()/Alineo.attach()/Alineo.reattach()/Alineo.spawn() directly. Sessions are usually addressed by sandbox ID — prompt, steer, and stop require it (see alineo prompt for why). spawn and logs are addressed by session name instead — see their own pages for why. start begins a fresh session and takes a spec path, not an identifier.
start
Start a fresh, independent agent sandbox from a spec's own snapshot.
prompt
Send one prompt to a running sandbox and print the reply.
spawn
Spawn a child agent from a running session's own live sandbox.
steer
Redirect a running session at its next turn boundary, without restarting it.
agents
List running agent sessions, cross-checked against the live control plane.
stop
Stop a sandbox by ID.
logs
Print ledger events for a session.
Recursive spawning (alineo spawn)
A spec's spawnDepth is a nesting-depth budget — required for alineo spawn to be allowed from inside a session at all. Each spawn force-decrements it (current - 1) into the child's env; 0 means no budget left, undefined means spawning was never enabled for that spec.
maxAgents is a separate, optional ceiling on total descendants for one lineage, independent of nesting depth. Unset means uncapped. Not coordinated across sibling branches spawned in parallel — it's a per-lineage counter, not a global one.
{
"name": "orchestrator",
"harness": "pi",
"spawnDepth": 2,
"maxAgents": 10
}See alineo spawn for the full mechanics.
Pi extension
pi install npm:alineo-cli installs the alineo extension into Pi at user scope. Once installed, any Pi session:
- Bootstraps
alineoautomatically on first use (installs it, runsalineo init) — no manual setup. - Gets
alineo start/alineo spawn/alineo steerCLI syntax injected into its own guidance, dynamically chosen based on whether the current session is itself running inside a alineo-managed sandbox.
The extension source lives at pi-extension/alineo.ts in the alineo npm package.