Next-Gen Platform Pillars (v2.18.0)
All 10 platform pillars: CoW CSI repo-cache hot-forks, autonomous triggers, sidecars, replay, multi-harness routing, BYOC VPC + SLSA v1.0, marketplace, swarms, Spot GPUs, and migration.
StateSet Sandbox v2.18.0 — 10-Pillar Next-Gen Platform Guide
StateSet Sandbox v2.18.0 ships 10 integrated execution, RLVR post-training, orchestration, and enterprise governance pillars on one unified control plane — hardened on distroless/base-nossl-debian13 with **0 HIGH / 0 CRITICAL** CVEs, backed by Redis with automatic in-memory fallback, full OpenAPI 3.1 contracts, and first-class parity across all 10 SDKs (TypeScript, Python, Go, Rust, Java, Kotlin, .NET, PHP, Ruby, Swift), CLI (@stateset/sandbox-cli), 135-tool Hosted MCP Server (@stateset/sandbox-mcp), and Dashboard.
Live in production on GKE Autopilot (us-central1): 27/27 10-Pillar E2E smoke checks passing with 78–119 ms API latency, Ed25519 SLSA v1.0 cluster signing, and live-verified Spot NVIDIA L4 CUDA execution. Inspect the measurements on Live Benchmarks or test workflows in the Interactive Playground.1. CoW CSI Repo-Cache Hot-Forks
Eliminate repeated git clone, npm ci, pip install, cargo build, and go mod download cold starts across parallel swarm workers. Pre-warm a per-repository Copy-on-Write CSI VolumeSnapshot (stateset-repo-cache-cow) and hot-fork up to 16 isolated sandboxes in milliseconds.
- API:
GET/POST /api/v1/caches/repos,GET /api/v1/caches/repos/stats,POST /api/v1/caches/repos/resolve,POST /api/v1/caches/repos/:cacheId/warm,POST /api/v1/caches/repos/:cacheId/fork,DELETE /api/v1/caches/repos/:cacheId - Ecosystem profiles:
node,python,rust,go,polyglot,custom - Kubernetes: CoW
VolumeSnapshotClassand hourly snapshot GC CronJob (k8s/components/repo-cache/)
stateset swarm cache create --repo https://github.com/acme/web --ecosystem node
stateset swarm cache warm rcache_123
stateset swarm cache fork rcache_123 --count 4
stateset swarm cache stats2. Autonomous Incident & Issue Triggers (GitHub, Sentry, PagerDuty, Linear, Jira)
Turn failing CI runs, @stateset PR comments, issue labels (stateset:fix / stateset:ship), and Sentry, PagerDuty, Linear, or Jira events directly into isolated investigation, patch, and test-verification Draft PRs with zero custom webhook glue.
- API:
GET/POST /api/v1/swarms/triggers,GET /api/v1/swarms/triggers/deliveries,GET/PATCH/DELETE /api/v1/swarms/triggers/:ruleId, and HMAC-SHA256-verified webhook receiversPOST /api/v1/swarms/triggers/webhooks/:source/:ruleId(github,sentry,pagerduty,linear,jira) - Security & deduplication: Timing-safe HMAC verification against raw wire bytes, one-time signing secret disclosure on create (redacted on all subsequent reads), and Redis distributed cooldown/deduplication locks
stateset swarm trigger create \
--source github_ci_failure \
--repo https://github.com/acme/web \
--preset bug-triage
stateset swarm trigger list
stateset swarm trigger deliveries3. Ephemeral Service Sidecars & Visual PR Previews
Boot real stateful dependencies per sandbox, clone seeded PostgreSQL branches per swarm worker in milliseconds, and attach authenticated Playwright visual diffs across routes to every Draft PR.
- Built-in presets (6):
postgres(postgres:16-alpine+ template DB branching),redis(redis:7-alpine),playwright,localstack,mailpit,mock-stripe - API:
GET /api/v1/services/presets,POST/GET /api/v1/sandbox/:sandboxId/services,DELETE /api/v1/sandbox/:sandboxId/services/:serviceId,POST /api/v1/sandbox/:sandboxId/services/:serviceId/branch,POST /api/v1/swarms/:swarmId/preview,GET /api/v1/swarms/:swarmId/previews
stateset swarm sidecar presets
stateset swarm sidecar start sb_123 --presets postgres,redis,playwright
stateset swarm sidecar branch sb_123 svc_pg_1 --name worker_checkout_fix
stateset swarm sidecar preview swarm_123 --sandbox sb_123 --port 3000 --routes /,/checkout4. Time-Travel Session Replay & Live Human Takeover
Scrub a unified timeline across terminal output (asciicast v2 backed by libghostty-vt), file diffs, screenshots, LLM tool calls, and cost ticks — and step directly into a live worker terminal or Web-IDE whenever human judgment helps, then hand control cleanly back to the agent.
- API:
GET /api/v1/swarms/:swarmId/replay-timeline,POST /api/v1/swarms/:swarmId/replay-timeline/events,GET /api/v1/swarms/:swarmId/takeovers,POST /api/v1/swarms/:swarmId/workers/:workerId/takeover,POST /api/v1/swarms/:swarmId/workers/:workerId/handback - Single-use attach tokens enforce audited pause/resume handoffs without losing workspace state
stateset swarm timeline swarm_123 --asciicast
stateset swarm takeover swarm_123 worker-impl --mode terminal --reason "Nudge migration edge case"
stateset swarm handback swarm_123 worker-impl --note "Fixed schema constraint; re-run tests"5. Heterogeneous Multi-Harness Auto-Router
Mix coding-agent harnesses per DAG role across agy, claude-code, codex, gemini-cli, and opencode with BYOK provider credentials, automatic circuit-breaker failover around 429/5xx upstream errors, and cost-per-verified-pass optimization powered by 90-day Swarm Archive telemetry.
- Supported harnesses (5):
agy,claude-code,codex,gemini-cli,opencode - API:
GET /api/v1/swarms/routing/harnesses,GET/PUT/POST /api/v1/swarms/routing/policy,POST /api/v1/swarms/routing/recommend,POST /api/v1/swarms/routing/outcomes,GET /api/v1/swarms/routing/telemetry
stateset swarm routing harnesses
stateset swarm routing recommend --roles security,implementation,testing --goal balanced
stateset swarm routing telemetry6. BYOC VPC Runner, Policy-as-Code Gates & Ed25519 SLSA v1.0 Provenance
Run sandboxes inside your own cloud VPC while keeping StateSet as the control plane, enforce deterministic change-control policy gates before patches merge, and verify Ed25519-signed in-toto/SLSA v1.0 execution attestations.
- BYOC VPC Runner API:
GET/POST /api/v1/byoc/runners,GET/DELETE /api/v1/byoc/runners/:runnerId,POST /api/v1/byoc/runners/jobs,GET /api/v1/byoc/runners/jobs/:jobId, plus runner-authenticatedheartbeat,claim, andcomplete - Runner package & manifests: Zero-dependency Node 20 runner (
@stateset/byoc-runner) with hardened Kubernetes manifests (k8s/byoc-runner/) - Policy-as-Code Gates API:
GET/POST /api/v1/swarms/policies,GET /api/v1/swarms/policies/templates(strict-finance,soc2-change-control,airgapped-security),POST /api/v1/swarms/policies/evaluate - Signed SLSA v1.0 Provenance API:
GET /api/v1/swarms/provenance/public-key,GET /api/v1/swarms/:swarmId/provenance,POST /api/v1/swarms/:swarmId/provenance/verify
Read our architecture details on the Security page.
7. Public Versioned Playbook Marketplace & Weekly Eval Leaderboard
Discover, publish, rate, and 1-click install Kahn-verified multi-wave playbooks and track continuous head-to-head swarm performance on verified pass rate and cost-per-verified-success.
- Verified
@stateset/*playbooks (6):@stateset/nextjs-15-upgrade,@stateset/soc2-audit,@stateset/commerce-checkout-e2e,@stateset/rust-clippy-hardening,@stateset/cve-patch-sweep,@stateset/ci-flake-hunter - API:
GET /api/v1/swarms/marketplace,GET /api/v1/swarms/marketplace/:namespace/:slug,POST /api/v1/swarms/marketplace/publish,POST /api/v1/swarms/marketplace/:namespace/:slug/install,POST /api/v1/swarms/marketplace/:namespace/:slug/rate - Weekly Eval Leaderboard: Automated evaluation pipeline published on Live Benchmarks
stateset swarm marketplace list --verified
stateset swarm marketplace install stateset soc2-audit8. Closed-Loop Managed Swarms, Verification Oracle, Blackboard & Repo Memory
Launch disconnect-safe, server-side DAG wave swarms that coordinate parallel specialist workers across isolated sandboxes, enforce human wave-approval gates and spend/token budgets, accept live steering notes, verify patches automatically through a closed-loop **Verification Oracle** (verify_command, max_fix_attempts, require_verification), coordinate live findings and file-ownership locks via the **Swarm Blackboard**, persist cross-run learnings in **Repo Memory**, and open Draft or Ready GitHub Pull Requests automatically.
- Built-in presets (6):
code-review,security-audit,feature-ship,bug-triage,pr-hardening,commerce-ops - API:
POST/GET /api/v1/swarms,GET /api/v1/swarms/:id,POST /api/v1/swarms/:id/approve,POST /api/v1/swarms/:id/steer,POST /api/v1/swarms/:id/create-pr,POST /api/v1/swarms/:id/replay,GET /api/v1/swarms/:id/report,GET /api/v1/swarms/:id/workers/:workerId/logs,GET/POST /api/v1/swarms/:id/blackboard/facts,GET/POST/DELETE /api/v1/swarms/:id/blackboard/leases,GET/POST/DELETE /api/v1/memory/repos,GET/POST /api/v1/swarms/schedules,GET/POST /api/v1/swarms/templates,GET /api/v1/swarms/analytics
stateset swarm presets
stateset swarm managed --preset feature-ship --repo https://github.com/acme/web --task "Add idempotency keys"
stateset swarm approve swarm_123
stateset swarm pr swarm_123
stateset swarm analytics9. Serverless Batch .map(), Spot GPUs & Model-Weight CSI Caches
Fan out 1 to 1,000 parallel tasks across ephemeral CPU or NVIDIA GPU sandboxes with bounded concurrency (1–256), Spot pricing with automatic On-Demand preemption fallback, scale-to-zero idle GPU replicas, hard USD budget caps, and pre-warmed **Model-Weight CSI Caches** (Llama-3, Qwen, Flux, Whisper) that mount multi-GB weights read-only into GPU pods with zero HuggingFace redownload latency.
- Compute SKUs (6):
cpu-standard,cpu-highmem,nvidia-t4,nvidia-l4(23,034 MiB VRAM, live-verified CUDA on GKE Autopilot),nvidia-a100-80gb,nvidia-h100-80gb - Batch API:
GET /api/v1/batch/gpus,POST /api/v1/batch/map,GET /api/v1/batch,GET /api/v1/batch/:batchId,GET /api/v1/batch/:batchId/results,POST /api/v1/batch/:batchId/cancel - Model-Weight Cache API:
GET /api/v1/batch/model-caches/presets,GET /api/v1/batch/model-caches/stats,GET/POST /api/v1/batch/model-caches,GET/DELETE /api/v1/batch/model-caches/:cacheId,POST /api/v1/batch/model-caches/:cacheId/warm
stateset batch gpus --family gpu
stateset batch map \
--name gpu-eval \
--command "python3 score.py" \
--items '["prompt-1","prompt-2","prompt-3"]' \
--sku nvidia-l4 \
--gpus 1 \
--spot \
--concurrency 16 \
--budget 25
stateset batch list10. Zero-Friction Migration & 130-Tool Hosted MCP Server
Adopt StateSet Sandbox in seconds without rewriting your existing stack:
- 5 drop-in compatibility adapters:
@stateset/e2b-compat,stateset-e2b-compat,@stateset/daytona-compat,stateset-daytona-compat, andstateset-modal-compat - Automated CLI codemod:
npx @stateset/sandbox-cli migrate --from auto|e2b|modal|daytona --mode compat|native --apply - 135-tool Hosted Streamable HTTP & stdio MCP Server (
@stateset/sandbox-mcp) athttps://mcp.sandbox.stateset.app/mcpwith RFC 9728 OAuth 2.0 discovery
See the Competitor Migration Guide and MCP Server Guide for full walkthroughs.
Multi-SDK Quick Reference
| Surface | Accessors / Entry Points |
|---|---|
TypeScript SDK (@stateset/sandbox-sdk) | client.repoCaches, client.modelCaches, client.memory, client.serviceSidecars, client.triggers, client.replay, client.harnessRouter, client.byoc, client.policyGates, client.provenance, client.marketplace, client.swarms, client.batch |
Python SDK (stateset-sandbox) | client.repo_caches, client.model_caches, client.memory, client.services, client.triggers, client.replay, client.routing, client.byoc, client.policy_gates, client.provenance, client.marketplace, client.swarms, client.batch |
Go SDK (sdk-go) | client.RepoCaches(), client.ModelCaches(), client.AgentMemory(), client.ServiceSidecars(), client.Triggers(), client.SessionReplay(), client.HarnessRouter(), client.ByocRunners(), client.PolicyGates(), client.Provenance(), client.Marketplace(), client.Batch() |
Rust SDK (sdk-rust) | client.platform() (NextGenPlatformApi) |
Hosted & Stdio MCP (@stateset/sandbox-mcp) | 27 Next-Gen Pillar, Repo Memory, Blackboard & Model-Weight Cache tools plus 21 Managed Swarm tools and 82 core/terminal/registry/credit tools (130 total; 135 with Commerce) |
Related Resources
- Migrating from E2B, Daytona & Modal — 5 drop-in adapters and automated CLI codemod
- MCP Server Guide (130 Tools) — Hosted Streamable HTTP (
https://mcp.sandbox.stateset.app/mcp) and local stdio setup - Compare vs E2B, Daytona & Modal — 10-pillar capability matrix and Monthly Fleet TCO calculator
- Interactive Playground — Try workflows and the 10-second competitor code migrator in your browser
- Live Benchmarks (v2.18.0) — Real GKE Autopilot latencies, ~419ms warm gVisor, 27/27 live E2E proof, and NVIDIA L4 CUDA evidence
Ready to run this in a hardened gVisor sandbox?
Test live in the Playground with zero signup, or create a free workspace with $25 in trial credits.