npm install @boxd-sh/sdk or pip install boxd. The client reads your API key from BOXD_API_KEY. The CLI needs nothing extra.
What you can build
- Background agents. Start a task from a webhook, a CI job or a schedule, and return at once. The agent works on in its machine, and you collect the result later.
- Agents in production. Give each user or each job of your product its own machine with an agent in it, with a time limit, a step limit and a record of every turn.
- Agents that delegate. An agent on one machine can hand work to agents on other machines.
In this guide
- Harnesses and models: Claude Code and Codex, and the models and effort levels they take.
- Sign-in and API keys: connect a harness once, or give it an API key.
- Conversations: give an agent a task, send it more, and step in while it works.
- Sessions: a session’s settings and state, closing it, and how it follows the machine.
- Watch and history: see what an agent is doing, and what it did.
- Reference: every SDK method and CLI command, with its options.