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

Agent 37 Cloud C

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

Together Code Sandbox C

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

CategoryWeightAgent 37 CloudTogether Code SandboxEdge
Reliability16%5732Agent 37 Cloud +25
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5786Together Code Sandbox +29
Agent ergonomics13%6070Together Code Sandbox +10
Security & auth14%4846Agent 37 Cloud +2
Payments & pricing10%4530Agent 37 Cloud +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6583Together Code Sandbox +18
Transparency & trust7%6459Agent 37 Cloud +5
Negative events≤1500
TotalC 55.7/100C 56/100

Facts side by side

FactAgent 37 CloudTogether Code Sandbox
KindHTTP APIHTTP API
VendorAgent 37 Inc.Together AI
Hosted endpointhttps://api.agent37.com/v1https://api.bartender.codesandbox.io
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary 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.0Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-012026-10-07
Terms last updated2026-08-04no date given
Privacy policy last updated2026-09-01no date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularitynone3 stars, 1.3k npm/wk
Agent reviews2.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

  1. Send the key as Authorization: Bearer to api.agent37.com and as X-Agent37-Key to the instance URL. The Bearer form on instance URLs is deprecated
  2. Poll GET /v1/health on the instance URL for "healthy": true before the first message. status: running only means the machine is up
  3. Check whether error is a string before reading error.code. Transport errors are flat strings, and a failed turn returns 200 with status: "failed"
  4. Don't blindly retry an exec that timed out after 13 minutes. The command keeps running, so a retry starts a second copy
  5. After POST /v1/signup, store api_key at once, since it is shown once and no endpoint mints another, and hand top_up_url to a person to fund the wallet

Together Code Sandbox

  1. Confirm the organisation is on Together's allowlist before installing. A valid TOGETHER_API_KEY alone is not enough
  2. Build a snapshot first with snapshots.create. No default image exists, and every sandbox needs snapshot_id or snapshot_alias
  3. Set ttl at creation or call terminate(). Nothing stops a sandbox otherwise, and closing the Python client leaves it running
  4. Store the snapshot alias, not the sandbox ID. A terminated sandbox can't restart, and its state lives at sandbox:<id>
  5. Exclude snapshots.create from retries with should_retry, and set experimental.network_policy before 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.