@abox-dev/sdk
v0.2.1
Published
AgentBox SDK for secure cloud sandboxes
Maintainers
Readme
@abox-dev/sdk
The official JavaScript and TypeScript SDK for AgentBox sandboxes and templates.
npm install @abox-dev/sdkCreate an API key using the API key guide and set AGENTBOX_API_KEY.
import { Sandbox } from '@abox-dev/sdk'
const sandbox = await Sandbox.create()
try {
const result = await sandbox.commands.run('echo "Hello from AgentBox"')
console.log(result.stdout)
} finally {
await sandbox.kill()
}For explicit per-client configuration:
import { AgentBox } from '@abox-dev/sdk'
const client = new AgentBox({ apiKey: 'ab_...' })
const sandbox = await client.Sandbox.create()Documentation: core SDK, sandboxes, commands, files, templates, and API reference.
