Skip to main content
boxd runs a coding agent inside a machine for you, and you drive it from code: the TypeScript and Python SDKs, or the CLI. The agent works in the machine, not in your process, so it keeps going when your script exits or your laptop closes.
To run it, connect Claude Code or Codex once, and install the SDK with 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.