Head to head · Code sandboxes · October 2026 research run
Microsoft Execution Containers vs Together Code Sandbox
Microsoft Execution Containers scores 77.1 (BB) on agent readiness against Together Code Sandbox's 56 (C), and leads in 6 of 7 scored categories. Together Code Sandbox leads on schema & documentation. Both do code sandboxes.
Best code execution sandboxes for AI agents · All 325 sandboxes comparisons
Which one, for what
Microsoft Execution Containers BB
Best for A developer building an agent or tool host that must run model-written code on the user's own machine, above all on Windows, where it reaches Microsoft's process and session isolation.
Ahead on
- Reliability, 81 against 32
- Security & auth, 69 against 46
- Payments & pricing, 90 against 30
- Maintenance & community, 92 against 83
- Transparency & trust, 84 against 59
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
- Free to start without a card
- Open source
Watch for
1.0.1, the newest release on 1 November 2026, still grants read access to the whole system drive from the Windows tool-discovery helper when PowerShell is on PATH, fixed on main only
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 81
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where Microsoft Execution Containers loses 3 points for them
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.
Payments & pricing Microsoft Execution Containers +60
Microsoft Execution Containers 90
Read with the self-hosted rule. No x402, MPP or L402 (0 of 40). MIT software with nothing to buy and no hosted option, so 20 for pricing, 20 for free use with no card and 20 because an agent can install it from npm with no account. 0+20+20+20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
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.
Reliability Microsoft Execution Containers +49
Microsoft Execution Containers 81
Read with the local-software lines, because MXC is a library the owner runs. Official packages on npm, NuGet and crates.io. Node.js 24 or later is stated and Windows 11 builds are listed per release, but the README gives no minimum host version for Linux or macOS (18 of 20). The Build workflow runs lint, Windows, Linux and macOS builds and SDK unit and integration tests on every push to main. Of the last 14 completed runs on main, 10 passed and 4 failed, and the newest (7 October 2026) passed, per the 8 October check, not re-read on 1 November because GitHub's web pages refused our reader. 47 commits on main from 17 to 30 October include CI fixes for nightly test failures (18 of 25). 38 open issues against 261 closed, ten of them labelled bug, and three outside reports from 24 September to 2 October with no reply, per the 8 October check, not re-read on 1 November (19 of 25). The changelogs follow Keep a Changelog with breaking changes marked, and the v1.0.0 release notes have a breaking-changes section. The Node and .NET changelogs still list the V1 changes under Unreleased on 1 November, with no 1.0.0 or 1.0.1 heading although 1.0.1 shipped on 17 October (11 of 15). Version 1.0.0, which the release notes call the first stable release, was published on 6 October 2026 and 1.0.1 on 17 October, and three backends are marked experimental (15). 18+18+19+11+15 = 81.
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.
Transparency & trust Microsoft Execution Containers +25
Microsoft Execution Containers 84
MIT for the repository and for the published npm package, whose LICENSE.md we compared with the repository's (30). Local software with no service behind it. The telemetry docs list what the optional Windows events contain (version, backend, bounded outcomes, policy fingerprints) and what they omit (commands, file paths, credentials, free-form error text), and the consent prompt links Microsoft's privacy statement. No retention period for those events is stated (24 of 30). The release notes name V1 as the compatibility boundary for 1.x under semver 2.0, breaking changes need a new versioned surface, and the schema docs mark retired contracts. No notice period with dates was found (12 of 20). Telemetry is disclosed in the README, off by default, opt-in for each run, subject to user consent and an administrative block, and absent on Linux and macOS (20). 30+24+12+20 = 86.
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.
Security & auth Microsoft Execution Containers +23
Microsoft Execution Containers 69
No credentials to issue or leak, because the library runs in the caller's process, so the middle band (20 of 30). Least privilege is the product's job. Egress, ingress and host loopback default to deny, filesystem access is limited to listed paths, UI access is denied when omitted, and validation rejects a policy the chosen backend can't enforce. The limits are documented. isolation_session cannot restrict networking, proxy routing is cooperative on Seatbelt and WSLC, the Windows DACL fallback that edits host file permissions is allowed by default, and --audit turns the sandbox off (17 of 20). The workload's output is untrusted content. The SDK keeps warnings and denial metadata out of stdout and stderr, but we found no guidance for an agent reading that output (8 of 15). Local JSON audit records for process exits, tier fallbacks, teardown and rejected configs through --log-file on the executors, and the deny-and-record capture. We found no equivalent switch documented for the in-process SDKs (10 of 15). SECURITY.md sends reports to MSRC, CodeQL runs in CI and the repository has a fuzzing pipeline. OSV lists no advisories for the npm, crates.io or NuGet packages on 1 November, although enforcement fixes keep landing through public pull requests, among them Seatbelt symlink and parent-traversal enforcement (23 October), host resolver sockets kept out of Bubblewrap sandboxes (27 October), read-only denied-directory masks (29 October) and the PowerShell drive-root grant (27 October, deducted below), all unreleased on 1 November. The security.txt on microsoft.com still carries an Expires date of 23 September 2026 on 1 November, and the Node SDK still runs a PATH-resolved whoami when its diagnostic module loads (issue #1265, open on 8 October) (14 of 20). 20+17+8+10+14 = 69.
Together Code Sandbox 46
Project-scoped API keys, revocable within about five minutes, with optional expiry and rotation guidance, read as the Together inference and fine-tuning listings read the same key model (30). The in-VM OpenAPI document still lists ?token= as a documented way to authenticate the WebSocket exec path, so the checklist's fixed 10 comes off (20). Each sandbox is a virtual machine. Every port is open to everyone unless the experimental inbound policy is set, no outbound rules exist, and project roles are admin and editor with no read-only role (8). The sandbox returns the output of code the agent ran, with no guidance on untrusted output found (8). Sandboxes can be listed with tags and status_reason. No audit log found (3). A PGP-signed security.txt (Expires 2028-09-30) points Contact and Policy at HackerOne with no acknowledgement time, the value this run gives a disclosure route with no stated time (7). 20 + 8 + 8 + 3 + 7 = 46.
Maintenance & community Microsoft Execution Containers +9
Microsoft Execution Containers 92
v1.0.1 on npm and crates.io on 17 October 2026, 15 days before the check, still the newest release on 1 November (30). Four npm releases in the 90 days from 3 August, 0.8.0 on 22 August, 0.9.0 on 28 September, 1.0.0 on 6 October and 1.0.1 on 17 October (the npm dates per the 17 October check, crates.io and the tags re-read on 1 November) (20). 261 issues closed against 38 open, with issue forms, triage labels and fixes that land within days, and three outside bug reports filed between 24 September and 2 October with no comment, per the 8 October check, not re-read on 1 November (19 of 25). Official SDKs for Node.js, .NET and Rust, all at 1.0.1 (15). A package-lock check, CodeQL and Dependabot in CI, with 47 commits on main from 17 to 30 October. The npm package has no repository field and no provenance attestation, per the 17 October check (8 of 10). 30+20+19+15+8 = 92.
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.
Schema & documentation Together Code Sandbox +5
Microsoft Execution Containers 81
Read as an SDK with a published request contract. A draft-07 JSON Schema for the stable 1.0.0 request sits in the repository, and the Node SDK ships TypeScript declarations (25). No llms.txt. The docs are Markdown files in the repository (5 of 10). The API reference states what each operation does and has a table for choosing between captured, piped and terminal execution, and the backend guides say which policies each backend enforces and which are cooperative (15 of 20). Containment is a closed union, network actions and clipboard levels are enums, the schema has 33 enums and 39 objects closed to extra properties, and 135 of 150 properties carry a description. command is one free string (13 of 15). Ten sample scenarios, each in Rust, .NET and Node. The 12 error codes are a closed type, but we found no page that explains each one (11 of 15). A versioned /v1 entry point, a schema version table with retired contracts, a changelog for each SDK and GitHub release notes. The Node changelog still has no 1.0.0 or 1.0.1 entry on 1 November (12 of 15). 25+5+15+13+11+12 = 81.
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).
Score by category
| Category | Weight | Microsoft Execution Containers | Together Code Sandbox | Edge |
|---|---|---|---|---|
| Reliability | 16% | 81 | 32 | Microsoft Execution Containers +49 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 86 | Together Code Sandbox +5 |
| Agent ergonomics | 13% | 74 | 70 | Microsoft Execution Containers +4 |
| Security & auth | 14% | 69 | 46 | Microsoft Execution Containers +23 |
| Payments & pricing | 10% | 90 | 30 | Microsoft Execution Containers +60 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 92 | 83 | Microsoft Execution Containers +9 |
| Transparency & trust | 7% | 84 | 59 | Microsoft Execution Containers +25 |
| Negative events | ≤15 | -3 | 0 | |
| Total | BB 77.1/100 | C 56/100 |
Facts side by side
| Fact | Microsoft Execution Containers | Together Code Sandbox |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Microsoft | Together AI |
| Hosted endpoint | no (local only) | https://api.bartender.codesandbox.io |
| Transports | HTTP | |
| Auth | None | API key |
| Pricing | Free | Pay per use |
| x402 | no | no |
| Licence | MIT | Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT |
| Read-only variant documented | yes | no |
| llms.txt | no | yes |
| Last release | 2026-10-17 | 2026-10-07 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | couldn't be read | no date given |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 1.5k stars, 472k npm/wk | 3 stars, 1.3k npm/wk |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Verdicts
Microsoft Execution Containers
MXC puts nine operating-system sandbox backends behind one typed request, with network access denied by default and a JSON Schema for the stable 1.0.0 contract. Enforcement varies by backend, isolation_session cannot restrict networking, and enforcement fixes made since 1.0.1, one of them a documented security fix, had not reached a release by 1 November 2026.
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
Microsoft Execution Containers
- Import from
@microsoft/mxc-sdk/v1. The package root exports nothing. - Call
getPlatformSupport()first and stop ifisSupportedis false.getAvailableBackends()is advisory and launch-time validation still applies. - Set
network.egress.defaulttoallowonly when the task needs it. Omitted network policy resolves to deny in every direction. - Never pass
--auditto an executor for untrusted code. It turns off all sandbox security for the workload. - Read
ExecutionResult.warningsafter each run. Security warnings arrive there and are not written to stdout or stderr. - On Windows with 1.0.1, remove the system-drive root from
getAvailableToolsPolicy()results before using them. The fix is on main only.
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, Microsoft Execution Containers or Together Code Sandbox?
Microsoft Execution Containers scores 77.1 (BB) on agent readiness against Together Code Sandbox's 56 (C), and leads in 6 of 7 scored categories. Together Code Sandbox leads on schema & documentation.
Can an agent call Microsoft Execution Containers and Together Code Sandbox without installing anything?
No hosted endpoint is listed for Microsoft Execution Containers. Together Code Sandbox has a hosted endpoint at https://api.bartender.codesandbox.io.
Are Microsoft Execution Containers and Together Code Sandbox open source?
Microsoft Execution Containers is open source (MIT). No open-source release is listed for Together Code Sandbox.
Other comparisons with Microsoft Execution Containers or Together Code Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs Microsoft Execution Containers
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Blaxel Sandboxes vs Microsoft Execution Containers
- Blaxel Sandboxes vs Together Code Sandbox
- boat vs Microsoft Execution Containers
- boat vs Together Code Sandbox
- Celesto (formerly SmolVM) vs Microsoft Execution Containers
- Celesto (formerly SmolVM) vs Together Code Sandbox
- Cloudflare Sandbox SDK vs Microsoft Execution Containers
- Cloudflare Sandbox SDK vs Together Code Sandbox
- Daytona vs Microsoft Execution Containers
- Daytona vs Together Code Sandbox
- Deno Sandbox vs Microsoft Execution Containers
- Deno Sandbox vs Together Code Sandbox
- DigitalOcean Managed Agents vs Microsoft Execution Containers
- DigitalOcean Managed Agents vs Together Code Sandbox
- Docker Sandboxes vs Microsoft Execution Containers
- Docker Sandboxes vs Together Code Sandbox
- E2B vs Microsoft Execution Containers
- E2B vs Together Code Sandbox
- Freestyle vs Microsoft Execution Containers
- Freestyle vs Together Code Sandbox
- InstaVM vs Microsoft Execution Containers
- InstaVM vs Together Code Sandbox
- Maritime vs Microsoft Execution Containers
- Maritime vs Together Code Sandbox
- Microsoft Execution Containers vs Modal Sandboxes
- Microsoft Execution Containers vs Morph Cloud
- Microsoft Execution Containers vs Offscreen
- Microsoft Execution Containers vs SPACE
- Microsoft Execution Containers vs Render Sandboxes
- Microsoft Execution Containers vs Runloop Devboxes
- Microsoft Execution Containers vs Sandbox0
- Microsoft Execution Containers vs Sprites
- Microsoft Execution Containers vs Vercel 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 Microsoft Execution Containers
- Agent 37 Cloud vs Together Code Sandbox
- DeltaBox Lite vs Microsoft Execution Containers
- DeltaBox Lite vs Together Code Sandbox
Machine-readable
- This page as Markdown
/compare/microsoft-execution-containers-vs-together-code-sandbox.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/microsoft-execution-containers.json·/api/v1/tools/together-code-sandbox.json - From a terminal
anchor compare microsoft-execution-containers together-code-sandbox(the CLI) - Over MCP
compare_tools {"a": "microsoft-execution-containers", "b": "together-code-sandbox"}at/mcp, no key