Documentation Index
Fetch the complete documentation index at: https://docs.boxcrew.ai/llms.txt
Use this file to discover all available pages before exploring further.
Using the CLI
Install and authenticate
# Install the CLI
cd cli && pnpm install && pnpm build
alias bx="node $(pwd)/dist/index.js"
# Log in (opens browser)
bx login
Create an agent
bx agents create my-agent
This provisions a sandboxed VM with Claude Code installed. It takes about 30 seconds.Chat with your agent
bx agents chat my-agent "Write a Python script that prints hello world"
The response streams back in real-time.
Using the API
If you prefer to integrate directly, use the REST API with an API key.
Get an API key
Create one from the dashboard under Settings > API Keys, or with the CLI:bx keys create --name "My Key"
Save the key — it’s only shown once. Create an agent
curl -X POST https://api.boxcrew.ai/agents \
-H "Authorization: Bearer bxk_your_key_here" \
-H "Content-Type: application/json" \
-d '{"name": "my-agent", "runtime": "claude-code"}'
Chat with your agent
curl -N -X POST https://api.boxcrew.ai/agents/my-agent/chat \
-H "Authorization: Bearer bxk_your_key_here" \
-H "Content-Type: application/json" \
-d '{"message": "Write a Python script that prints hello world"}'
The response is an SSE stream:data: {"type":"response.output_text.delta","delta":"Hello"}
data: {"type":"response.output_text.delta","delta":"! Here's"}
data: {"type":"response.completed"}
Next steps
CLI commands
Full reference for all bx commands.
API reference
Complete REST API documentation.