Sandboxes for AI agents

Run AI-generated code safely. 10x cheaper than alternatives.

Isolated sandboxes that spin up in seconds. Built for LLM code execution and autonomous agents.

2s Sandbox warm-up
5 min Setup time
10x Lower cost vs market

How it works

Three API calls. That's it.

Create a sandbox

Spin up an isolated environment in 2 seconds. Set CPU, RAM, and timeout.

  • POST /api/sandboxes
  • Configurable resources
  • Optional Docker socket

Run code

Execute commands, stream output, manage files. Full shell access.

  • POST /api/sandboxes/:id/exec
  • File upload + download
  • Playwright + browsers included

Tear down

Terminate and clean up. Pay only for what you used.

  • POST /api/sandboxes/:id/terminate
  • Automatic cleanup
  • Full event telemetry
API sample 2 requests
curl -X POST https://sandbox-as-a-service.com/api/sandboxes \
  -H "Authorization: Bearer $SANDY_API_KEY" \
  -d '{"enable_docker_socket": false}'

curl -X POST https://sandbox-as-a-service.com/api/sandboxes/sb_72b4/exec \
  -H "Authorization: Bearer $SANDY_API_KEY" \
  -d '{"command": "node --version"}'

Pricing

Pay less. Get more.

Lite

$17/month

2 vCPU · 4 GB RAM · 40 GB SSD

  • 2 vCPU
  • 4 GB RAM
  • 40 GB SSD
  • Playwright + browsers included

Max

$59/month

8 vCPU · 16 GB RAM · 160 GB SSD

  • 8 vCPU
  • 16 GB RAM
  • 160 GB SSD
  • Playwright + browsers included

For AI agents

Built for autonomous workflows.

Hardened by default

Every sandbox runs in isolation with strict resource limits and zero-trust networking. No extra config needed.

Interactive API docs

Full OpenAPI reference with try-it-out. Explore every endpoint, test with your API key.

Open API docs →

Agent-friendly docs

Machine-readable documentation for LLMs and autonomous agents to discover and use the Sandy API.

View llms.txt →

Start building today.

Get access to Sandy. No credit card required.