About Agentbox Sdk
AgentBox is an open source TypeScript SDK from Twill for running AI coding agents inside sandboxes through one unified API. Instead of calling an agent command line tool in non interactive mode, it launches each agent as a server process inside the sandbox and talks to it over WebSocket or HTTP, which preserves approval flows, tool use control and streaming events.
It is for developers building products or internal platforms that need to run coding agents programmatically and in isolation. Agents and sandbox providers are interchangeable: Claude Code, OpenCode and Codex on one side, and local Docker, E2B, Modal, Daytona and Vercel on the other, so either can be swapped without changing application code. The SDK builds sandbox images from built in presets, runs or streams an agent task with normalised events, and tracks background work that an agent leaves running after its turn. It installs from npm and requires Node 20 or later.
The SDK itself is free and open source. The listed website belongs to Twill, the company behind it, whose hosted product runs Claude Code, Codex or OpenCode locally or in cloud environments and is priced per workspace rather than per seat. Free is $0 per month with unlimited local use, one cloud workspace, up to two users and 5 monthly cloud credits. Pro is $50 per month per workspace with unlimited users, 50 credits and automations. Max is $200 per month per workspace with 200 credits, your own API keys and larger machines. One credit equals $1 of model usage billed at cost. Enterprise, sold through a meeting, adds a private cloud in your VPC, SSO and SAML, and a full audit trail.