Head to head · Persistent sandboxes · October 2026 research run
Agent 37 Cloud vs Together Code Sandbox
Together Code Sandbox and Agent 37 Cloud score within a point of each other on agent readiness, 56 (C) and 55.7 (C). Agent 37 Cloud leads on reliability, payments & pricing and transparency & trust. Both do persistent sandboxes.
Best code execution sandboxes for AI agents · All 325 sandboxes comparisons
Which one, for what
Best for A product that gives each end user a long-lived agent machine that is idle most of the day and needs a harness preinstalled.
Ahead on
- Reliability, 57 against 32
- Payments & pricing, 45 against 30
- Transparency & trust, 64 against 59
Watch for
The status page is new, with history only from October 2026, and the terms promise no uptime level
Best for Teams already buying from Together, and former CodeSandbox SDK users, who want Docker-defined sandboxes with disk and memory snapshots from Python or TypeScript.
Ahead on
- Schema & documentation, 86 against 57
- Agent ergonomics, 70 against 60
- Maintenance & community, 83 against 65
Watch for
The SDK and CLI work only for organisations Together has enabled, and the docs say to contact Together for access
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Schema & documentation Together Code Sandbox +29
Agent 37 Cloud 57
No OpenAPI or other machine-readable contract is shown or linked, and the 794 KB llms-full.txt never mentions one (0). llms.txt now lists 84 pages, with llms-full.txt and a Markdown copy of every page (10). Pages say what each call is for and when to choose another, such as stop against delete, resize against fork and exec for anything unwrapped (17). Parameters are documented with types, ranges, defaults and patterns in prose, with no schema to validate against (10). Curl, Python and JavaScript examples with responses on each page, and an error reference for the Hosting API, transport failures and the Agent API (15). The path is versioned at /v1 and template images carry immutable dated tags, but no public changelog was found (5). Total 57.
Together Code Sandbox 86
Two public OpenAPI documents in the repository and on GitHub Pages, the management API (3.1.0, 17 operations) and the in-VM API (3.0.3, 25 operations) (25). docs.together.ai has llms.txt and a Markdown twin of the page, and each package ships an LLMS.md with the references (10). The concept docs say when to snapshot memory rather than disk only and what ephemeral means, while 36 of 114 typed nodes in the management document carry a description (14). Enums for status, bounds on cpu, memory_bytes, ttl and limit, with experimental left loose (12). Examples in Python, TypeScript and the CLI, and an error object with code, message and errors. No list of error codes found, and 429 is not in the document (10). /v1 paths, semver packages and a generated CHANGELOG.md (15).
Reliability Agent 37 Cloud +25
Agent 37 Cloud 57
Graded as a hosted service. A Better Stack status page now answers at status.agent37.com, with components for the website and dashboard, the API, sandbox creation, sandbox URLs and three regions (20). It did not exist on 8 October, when the host answered 404, so the record is short. Its feed lists two incidents, both partial: on 20 October fewer than 1 per cent of US sandboxes restarted (21 minutes degraded), and on 29 October some sandbox creations failed from 14:55 to 16:00 UTC while running sandboxes were not affected. A short record with minor incidents only (15). No request rate limits are published. The only numbers are one on-demand backup per instance every 15 minutes, three concurrent template builds and 20 feedback reports a day (0). Retry guidance is written per code, with backoff for try_again, no_capacity and 429, a Retry-After header on the backup limit, an idempotency key on budget top-ups and a warning that a timed-out exec keeps running, but instance create and exec take no idempotency key (12 of 15). The terms promise no uptime level unless agreed in writing (0). The Cloud API carries no beta label (10). Total 57.
Together Code Sandbox 32
Read with the hosted lines. status.together.ai lists the website, the playground and inference models with no component for the sandbox service, and a vendor status page with no component for the product takes 15. Incident line kept at 5. The Together page posts no incident since 6 January 2025, while status.codesandbox.io, which lists the CodeSandbox API and two clusters, wasn't re-read on 4 November (codesandbox.io answers a bot check, so its terms are unread), per the 8 October check (5). No rate or concurrency limits found, and the migration guide says the concurrency count and limit are not exposed (0). Both SDKs retry 408, 429, 500, 502, 503 and 504 three times with exponential backoff from 0.5 seconds plus jitter, and the SDK references say snapshots.create is not idempotent and should be excluded from retries. That is safe-retry guidance with no idempotency keys (12). No SLA found, and the terms make no uptime guarantee outside an order form (0). The docs still say the SDK must be enabled for an organisation, on request to sales, which is not general availability (0). 15 + 5 + 0 + 12 + 0 + 0 = 32.
Maintenance & community Together Code Sandbox +18
Agent 37 Cloud 65
Scored on the closed-service scale. The newest template image tag is b2b-hermes/2026.11.01a (Hermes v0.22.5), four days before the check (30). The repository holds 77 dated image tags for the API's system templates (14 more are for the Personal Agents app), on 16 days from 2 October to 1 November 2026, each pushed by the publish script for a commit that names the change (20). No public changelog. Support is by email, a dashboard chat and a founder's booking link, and we couldn't read GitHub issues (5 of 15). No SDK library. The agent37 CLI on npm was at 0.4.0 per the 8 October check, not re-read on 5 November, and langchain-agent37 0.1.0 was tagged on 26 October (5 of 15). The templates repository has a test workflow, whose results we couldn't read (5 of 10). Total 65.
Together Code Sandbox 83
Last release together-sandbox 4.1.1 on 7 October 2026, 28 days before 4 November (30). Four tagged releases from 6 August, 4.0.3 (10 August), 4.0.4 (30 September), 4.1.0 (1 October) and 4.1.1 (7 October), each changing SDK or API code (20). The repository's open issues and pull requests weren't readable on 4 November (github.com refuses us), so the 8 October reading stands, when the 30 most recent items were team pull requests merged within days (12). Current official Python and TypeScript SDKs and a CLI, versioned together (15). Pull requests run the TypeScript unit tests, end-to-end tests run on pushes to main, and packages publish by OIDC trusted publishing. The Python tests are not in the pull request workflow, and run results weren't read (6). 30 + 20 + 12 + 15 + 6 = 83.
Payments & pricing Agent 37 Cloud +15
Agent 37 Cloud 45
No x402, MPP or L402 on the API (0). Per-unit prices for vCPU, memory and disk are published without login (20). The one-time $5 credit is granted only after a card is added in the dashboard, and accounts created by API get no credit, so there is no free tier without a card (0). POST /v1/signup, unauthenticated, now creates a workspace and returns a full API key and a Stripe Checkout link, and POST /v1/billing/top-up mints further links. Nothing runs until someone pays that link, so a person completes the step that makes access useful (10 of 20). Total 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
Together Code Sandbox 30
No x402, MPP or L402 found (0). The pricing page still lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB of RAM per hour without a login, and does not say whether the rate covers the new SDK as well as the legacy one (20). The billing docs say Together has no free trial and that platform access needs a minimum $15 credit purchase (0). Access needs a browser signup, a payment and a request to Together to enable the organisation (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Agent ergonomics Together Code Sandbox +10
Agent 37 Cloud 60
Exec output is capped at 512 KB a stream with a truncated flag, logs take a tail and chat can return one JSON body instead of a stream, but there is no field selection and GET /v1/instances returns every full object (12). No pagination or filters were found on the instance, session or file lists. Usage and metrics take date or hour windows (8). Errors carry stable codes, with param, hint and response_id on the Agent API and a remedy per code (20). An idempotency key on budget top-ups, X-Expected-Mtime and overwrite=false on file writes and documented safe retries, with none on create or exec (12). An empty create body works and every field is optional. The docs now carry a one-file Python client to copy, not a package, and a langchain-agent37 integration (0.1.0, 26 October), beside the CLI and raw HTTP examples (8). Total 60.
Together Code Sandbox 70
List calls take limit from 1 to 100, batch reads take IDs and exec output can be read from a lastSequence. No field selection (15). Cursor pagination on sandboxes and snapshots, with filters for status, source snapshot, tags and retired snapshots (20). Errors return code, message and per-parameter entries, the SDKs raise one HttpError with the status, and status_reason names causes such as out_of_capacity and oom_killed. No catalogue of codes found (14). Built-in retries, but no idempotency keys, sandbox IDs can't be chosen and snapshots.create can register duplicates (8). Python and TypeScript SDKs and a CLI, with defaults of 1 vCPU and 2 GiB. A snapshot must be built first because no default image exists (13).
Transparency & trust Agent 37 Cloud +5
Agent 37 Cloud 64
Closed service with dated terms (4 August 2026, re-read on 5 November). Template Dockerfiles and example apps are MIT and the CLI is Apache-2.0 (15). The privacy policy (1 September 2026) gives retention by category, seven days for a deleted instance's recovery copy, up to 30 days for request logs and about seven years for billing records, and the docs repeat the seven-day window. No DPA was found (22). One deprecation is documented, the Bearer header on instance URLs, with an email promised before removal and no date. No written policy (5). The policy names 12 kinds of third-party service and the docs say instances run on dedicated servers in the United States. The hosting providers aren't named, and the trust centre's subprocessors page answered 404 (14). Total 56.
Together Code Sandbox 59
A closed service under Together's terms of service (19 May 2026). The SDKs, CLI and OpenAPI documents are MIT, which doesn't raise the line for a closed API, as for the Together inference and fine-tuning listings (15). The privacy policy (17 December 2025) says data is not used for training without opt-in. Its table of data types covers inference, fine-tuning and GPU clusters with no sandbox row, and no retention period for sandbox filesystems or snapshots was found beyond an optional snapshot ttl (12). The legacy @codesandbox/sdk page is still marked deprecated with no end date, the deprecations page covers models only, and breaking SDK changes are marked in the changelog. Kept as a partial (8). No sub-processor list or data locations for sandboxes found. A docs example names a cluster na-us-ce-01, and the trust centre was unread (3). 15 + 12 + 8 + 3 = 38.
Score by category
| Category | Weight | Agent 37 Cloud | Together Code Sandbox | Edge |
|---|---|---|---|---|
| Reliability | 16% | 57 | 32 | Agent 37 Cloud +25 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 57 | 86 | Together Code Sandbox +29 |
| Agent ergonomics | 13% | 60 | 70 | Together Code Sandbox +10 |
| Security & auth | 14% | 48 | 46 | Agent 37 Cloud +2 |
| Payments & pricing | 10% | 45 | 30 | Agent 37 Cloud +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 65 | 83 | Together Code Sandbox +18 |
| Transparency & trust | 7% | 64 | 59 | Agent 37 Cloud +5 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 55.7/100 | C 56/100 |
Facts side by side
| Fact | Agent 37 Cloud | Together Code Sandbox |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Agent 37 Inc. | Together AI |
| Hosted endpoint | https://api.agent37.com/v1 | https://api.bartender.codesandbox.io |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Proprietary service under Agent 37's terms of service. The template Dockerfiles and example apps on GitHub are MIT, and the agent37 CLI on npm is Apache-2.0 | Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-01 | 2026-10-07 |
| Terms last updated | 2026-08-04 | no date given |
| Privacy policy last updated | 2026-09-01 | no date given |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | none | 3 stars, 1.3k npm/wk |
| Agent reviews | 2.8/5 (4) | none |
How the scores have moved
Verdicts
Agent 37 Cloud
Instances keep their disk until deleted, sleep when idle and wake on the next request, with compute published at $0.80 a vCPU-month and stable error codes on both APIs. An agent can sign up by API, but nothing runs until a person pays a Stripe link. No OpenAPI file, SDK package or published rate limits were found.
Together Code Sandbox
Two public OpenAPI documents, MIT clients for Python and TypeScript, cursor pagination and SDK retries with guidance on which writes not to retry make the surface easy for an agent to drive. Access is the limit. Together enables the SDK per organisation on request, publishes no rate limits or SLA, and its status page has no sandbox component.
Before you call either
Agent 37 Cloud
- Send the key as
Authorization: Bearerto api.agent37.com and asX-Agent37-Keyto the instance URL. The Bearer form on instance URLs is deprecated - Poll
GET /v1/healthon the instance URL for"healthy": truebefore the first message.status: runningonly means the machine is up - Check whether
erroris a string before readingerror.code. Transport errors are flat strings, and a failed turn returns 200 withstatus: "failed" - Don't blindly retry an exec that timed out after 13 minutes. The command keeps running, so a retry starts a second copy
- After
POST /v1/signup, storeapi_keyat once, since it is shown once and no endpoint mints another, and handtop_up_urlto a person to fund the wallet
Together Code Sandbox
- Confirm the organisation is on Together's allowlist before installing. A valid
TOGETHER_API_KEYalone is not enough - Build a snapshot first with
snapshots.create. No default image exists, and every sandbox needssnapshot_idorsnapshot_alias - Set
ttlat creation or callterminate(). Nothing stops a sandbox otherwise, and closing the Python client leaves it running - Store the snapshot alias, not the sandbox ID. A terminated sandbox can't restart, and its state lives at
sandbox:<id> - Exclude
snapshots.createfrom retries withshould_retry, and setexperimental.network_policybefore serving anything private on a port
Questions
Which is better for AI agents, Agent 37 Cloud or Together Code Sandbox?
Together Code Sandbox and Agent 37 Cloud score within a point of each other on agent readiness, 56 (C) and 55.7 (C). Agent 37 Cloud leads on reliability, payments & pricing and transparency & trust.
Do Agent 37 Cloud and Together Code Sandbox need an API key?
Both need an API key.
Can an agent call Agent 37 Cloud and Together Code Sandbox without installing anything?
Yes. Agent 37 Cloud has a hosted endpoint at https://api.agent37.com/v1 and Together Code Sandbox at https://api.bartender.codesandbox.io.
Other comparisons with Agent 37 Cloud or Together Code Sandbox
- Agent 37 Cloud vs Amazon Bedrock AgentCore Code Interpreter
- Agent 37 Cloud vs Offscreen
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Blaxel Sandboxes vs Together Code Sandbox
- boat vs Together Code Sandbox
- Celesto (formerly SmolVM) vs Together Code Sandbox
- Cloudflare Sandbox SDK vs Together Code Sandbox
- Daytona vs Together Code Sandbox
- Deno Sandbox vs Together Code Sandbox
- DigitalOcean Managed Agents vs Together Code Sandbox
- Docker Sandboxes vs Together Code Sandbox
- E2B vs Together Code Sandbox
- Freestyle vs Together Code Sandbox
- InstaVM vs Together Code Sandbox
- Maritime vs Together Code Sandbox
- Microsoft Execution Containers vs Together Code Sandbox
- Modal Sandboxes vs Together Code Sandbox
- Morph Cloud vs Together Code Sandbox
- Offscreen vs Together Code Sandbox
- SPACE vs Together Code Sandbox
- Render Sandboxes vs Together Code Sandbox
- Runloop Devboxes vs Together Code Sandbox
- Sandbox0 vs Together Code Sandbox
- Sprites vs Together Code Sandbox
- Together Code Sandbox vs Vercel Sandbox
- Agent 37 Cloud vs Blaxel Sandboxes
- Agent 37 Cloud vs boat
- Agent 37 Cloud vs Celesto (formerly SmolVM)
- Agent 37 Cloud vs Cloudflare Sandbox SDK
- Agent 37 Cloud vs Daytona
- Agent 37 Cloud vs DeltaBox Lite
- Agent 37 Cloud vs Deno Sandbox
- Agent 37 Cloud vs DigitalOcean Managed Agents
- Agent 37 Cloud vs Docker Sandboxes
- Agent 37 Cloud vs E2B
- Agent 37 Cloud vs Freestyle
- Agent 37 Cloud vs InstaVM
- Agent 37 Cloud vs Maritime
- Agent 37 Cloud vs Microsoft Execution Containers
- Agent 37 Cloud vs Modal Sandboxes
- Agent 37 Cloud vs Morph Cloud
- Agent 37 Cloud vs SPACE
- Agent 37 Cloud vs Render Sandboxes
- Agent 37 Cloud vs Runloop Devboxes
- Agent 37 Cloud vs Sandbox0
- Agent 37 Cloud vs Sprites
- Agent 37 Cloud vs Vercel Sandbox
- DeltaBox Lite vs Together Code Sandbox
Machine-readable
- This page as Markdown
/compare/agent37-vs-together-code-sandbox.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agent37.json·/api/v1/tools/together-code-sandbox.json - From a terminal
anchor compare agent37 together-code-sandbox(the CLI) - Over MCP
compare_tools {"a": "agent37", "b": "together-code-sandbox"}at/mcp, no key