StateSet
Now with Claude Code pre-installed

Secure sandboxes
for AI agents

Run agent workflows in isolated Kubernetes environments. Execute code, read and write files, and store artifacts — all securely.

View documentation

Free tier includes 5 CPU-hours/month. No credit card required.

terminal
# Create a sandbox
$ curl -X POST https://api.sandbox.stateset.app/v1/sandbox/create \
-H "Authorization: ApiKey sk_live_..." \
-d '{"timeout_seconds": 300}'
# Response
{
"sandbox_id": "sbx_a1b2c3d4",
"status": "running",
"expires_at": "2026-01-20T12:00:00Z"
}
<2s
Sandbox spin-up
99.9%
Uptime SLA
5+
SDK languages
0
Cold starts

Everything you need to run AI agents

Purpose-built infrastructure for autonomous code execution

Fast provisioning

Sandboxes spin up in under 2 seconds with pre-warmed pod pools.

Secure isolation

gVisor runtime, non-root containers, and strict network policies.

Reliable file I/O

Base64-safe file reads and writes that agents can depend on.

Command execution

Run any shell command with full stdout/stderr capture.

Artifact storage

Upload and download files with signed URLs and expiry.

Claude Code ready

CLI pre-installed with BYOK support for seamless integration.

Simple, powerful API

Five endpoints. That's all you need.

1
Create
Spin up a sandbox
2
Execute
Run commands
3
Write
Create files
4
Read
Fetch content
5
Store
Save artifacts
Enterprise-grade security

Built for production

Every sandbox runs in complete isolation with gVisor, non-root containers, and strict network policies. Your agents' code never touches shared infrastructure.

  • gVisor sandboxing with seccomp profiles
  • Non-root container execution
  • Isolated network namespaces
  • AES-256-GCM encrypted secrets
  • SOC 2 Type II compliant
Security layers active
gVisor runtime sandbox
Network policy enforced
Resource limits applied
Filesystem isolated
Process monitoring active
Sandbox sbx_a1b2c3d4 ready

Simple, transparent pricing

Pay only for what you use. Start free.

CPU
$0.128
/hour
Memory
$0.011
/GB-hour
Network
$0.15
/GB
Creates
$0.60
/million
Free tier included
5 CPU-hours, 420 GB-hours memory, 20GB network, 5,000 creates/month

Ready to build?

Get your API key and start running agent workloads in seconds.