Spawn an agent
sandbox in one API call.
e2a.bot gives your agents a real computer to work in — terminal, browser, or full desktop. Works natively from Claude Code, your terminal, or any AI agent tool. Backed by AWS Firecracker.
Capabilities
Everything your agent needs
to act in the world
One-Command Launch
< 500ms bootSpawn a full sandbox with a single API call or `e2a run`. Works from Claude Code, any AI agent, or your terminal.
Long-Running Tasks
Fire-and-forget agents that run for hours. Poll for status or get a webhook when done. No babysitting required.
WebSocket Interactive
Real-time bidirectional control. Stream output, send input, observe agent state live via WebSocket.
BYO LLM Key
Connect your OpenAI, Anthropic, or Gemini API key. We never store or log your credentials.
Firecracker Secure
AWS-gradeEvery sandbox runs in an isolated Firecracker microVM on dedicated KVM baremetal. Zero noisy neighbors.
Credit-Based Billing
Pay only for CPU, RAM, and duration consumed. No seat licenses, no minimums, no surprise bills.
Developer-First
Built for AI agents.
Works everywhere.
Three API calls are all you need — create a sandbox, execute commands, and stream output in real time. Works from any language that can make HTTP requests.
- REST API — create, exec, destroy
- WebSocket streaming for real-time output
- Works with curl, Python, Node, Go, or any HTTP client
- BYO LLM key — bring your own AI provider
# 1. Create a sandbox
curl -X POST https://api.e2a.bot/v1/sandboxes \
-H "Authorization: Bearer $E2A_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template":"standard"}'
# Response:
# {"vm_id":"sbx_7f3k9m2x","state":"running","boot_ms":423}Environments
Choose the right surface
for your agent
Full Linux shell
Terminal CLI
Run scripts, install packages, execute CLI tools. Perfect for data pipelines, code execution, and file manipulation.
Headless Chromium
Browser Use
Navigate, click, scrape, and fill forms. Ideal for web research, automation, and screenshot capture.
Computer Use Agent
CUA Desktop
Full virtual desktop — your agent sees the screen and controls mouse and keyboard. For GUI workflows no browser can reach.
Pricing
Only pay for what your
agents consume
Credit-based pricing. No minimums, no seat licenses. Predictable costs at any scale.
Credit Rates
Free
100 credits on signup
No credit card required. Start building immediately.
- All 3 environment templates
- WebSocket streaming
- BYO LLM key
- Community support
Pay As You Go
Buy credits via Stripe
Top up your balance whenever you need more. No commitments.
- Everything in Free
- Webhook callbacks
- Priority boot queue
- Email support
Auto-Topup
Never run out
Set a threshold and top-up amount. We charge automatically when your balance is low.
- Everything in Pay As You Go
- Automatic credit refills
- Configurable threshold + amount
- Priority support
Get Started in 30 Seconds
Three steps to your first sandbox. No SDK required — just curl.
1. Sign up & get your API key
# Sign up at https://e2a.bot/register # Copy your API key from the dashboard
2. Create a sandbox
curl -X POST https://api.e2a.bot/v1/sandboxes \
-H "Authorization: Bearer $E2A_API_KEY" \
-H "Content-Type: application/json" \
-d '{"template":"standard"}'3. Execute a command
curl -X POST https://api.e2a.bot/v1/sandboxes/{vm_id}/exec \
-H "Authorization: Bearer $E2A_API_KEY" \
-H "Content-Type: application/json" \
-d '{"command":"echo hello from e2a"}'