Head to head · Code sandboxes · October 2026 research run
Amazon Bedrock AgentCore Code Interpreter vs Microsoft Execution Containers
Microsoft Execution Containers scores 77.1 (BB) on agent readiness against Amazon Bedrock AgentCore Code Interpreter's 72.4 (BB), and leads in 3 of 7 scored categories. Amazon Bedrock AgentCore Code Interpreter leads on security & auth. Both do code sandboxes.
Best code execution sandboxes for AI agents · All 325 sandboxes comparisons
Which one, for what
Amazon Bedrock AgentCore Code Interpreter BB
Best for A team already on AWS that wants agent code to run under IAM, inside a VPC and beside S3 data, for sessions up to eight hours.
Ahead on
- Security & auth, 87 against 69
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
No pause, resume or snapshot. Session files are removed when the session ends, and persistence needs a customer-owned S3 Files or EFS mount inside a VPC
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
- Payments & pricing, 90 against 45
- Maintenance & community, 92 against 55
- Transparency & trust, 84 against 73
Also in its favour
- No key needed to call it
- 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
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 +45
Amazon Bedrock AgentCore Code Interpreter 45
No x402, MPP or L402 on the Code Interpreter endpoints. AgentCore Payments is a separate component for an agent paying third parties (0). Per-unit prices published without a login, $0.0895 a vCPU-hour and $0.00945 a GB-hour (20). No allowance for Code Interpreter, but the pricing page says new AWS customers get up to $200 in Free Tier credits and the Free Tier FAQ says most new customers need no payment method, so half, as on the other AWS listings (10). A person signs up in a browser and sets up IAM (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
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.
Maintenance & community Microsoft Execution Containers +37
Amazon Bedrock AgentCore Code Interpreter 55
Read from the service models, as every AWS listing is in this run. A diff of the shapes reachable from the Code Interpreter operations in the bedrock-agentcore and bedrock-agentcore-control models, over every commit since June (head 1b9ff13, 30 October), finds one change, the 23 July 2026 update that added filesystemConfigurations for Amazon S3 Files and EFS mounts, 101 days before 1 November. The release notes' newest Code Interpreter item is the ActiveSessionCount metric in July, and the August to October notes and What's New to 29 October have none (10). Every dated source counted for the 90 days from 3 August. No model change and no release-note entry for Code Interpreter. The Python SDK tagged 11 releases, v1.20.0 (4 August) to v1.25.2 (30 October), none of which changes code_interpreter_client.py, and the AgentCore MCP server released 0.1.3 to 0.2.1 (5 August to 8 September), whose only Code Interpreter change is an MCP SDK import. Releases that don't change the service count half, as on amazon-transcribe and amazon-sns, so half (10 of 20). Public release notes with RSS, issues open on the SDK repository with an auto-triage workflow, and re:Post and AWS Support. Reply times were not checked (10 of 15). Current official SDKs, bedrock-agentcore 1.25.2 tagged on 30 October (15). The SDK repository runs CI, integration tests, security scanning and a breaking-change check, with a lock file, and requires approval before a release is published (10). 10 + 10 + 10 + 15 + 10 = 55.
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.
Security & auth Amazon Bedrock AgentCore Code Interpreter +18
Amazon Bedrock AgentCore Code Interpreter 87
IAM with SigV4, roles and short-lived credentials, and policies can name one interpreter ARN (30). Each of the nine operations is its own IAM action, system and custom interpreters have separate ARN types, a custom interpreter's execution role bounds what sandbox code can reach, and the default Sandbox network mode reaches only Amazon S3. No approval step for destructive calls (17 of 20). Each session is a dedicated microVM whose memory AWS says is sanitised at the end, and the docs flag Public network mode as a risk, but the Code Interpreter pages we read give no guidance on treating execution output as untrusted. The SDK's install_packages() needed two fixes in 2026 for package-name arguments that could run commands in the sandbox, and AWS's workaround is to keep model-generated input away from it (11 of 15). CloudWatch metrics, spans and per-second usage logs per session, and the overview claims CloudTrail logging, but we found no page listing Code Interpreter's CloudTrail events, and console logs are not sent to CloudWatch (11 of 15). A vulnerability disclosure programme on HackerOne, public bulletins with CVEs for the SDK advisories, and AgentCore in SOC 1, 2 and 3 scope on the list of 11 August 2026. The security.txt on aws.amazon.com, expired from 24 September, was renewed by 17 October with Expires 2027-10-16. No paid bounty was found, so 18, as on the Polly, S3 and Secrets Manager re-checks of 17 October (18 of 20). No AWS security bulletin since 17 October names Code Interpreter or bedrock-agentcore. The aws.amazon.com security.txt still reads Expires 2027-10-16 on 1 November. 30 + 17 + 11 + 11 + 18 = 87.
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.
Transparency & trust Microsoft Execution Containers +11
Amazon Bedrock AgentCore Code Interpreter 73
Closed service under the AWS Service Terms, last updated 13 October 2026, with Apache-2.0 SDKs and MCP server (15). The docs say session files are cleaned up when a session ends and also give a 30-day retention period for session data without saying what is kept. Encryption at rest and TLS 1.2 are stated, the privacy notice excludes customer content, and we found no Code Interpreter statement on use of customer content. Section 50.3 of the Service Terms, which allows use of content to improve a service, doesn't name Bedrock or AgentCore (15 of 30). No deprecation policy for the interpreter or its language runtimes was found. The system interpreter id carries a version (3 of 20). AWS publishes a sub-processor list, updated 28 July 2026, and the guide lists the 22 Regions where built-in tools run, per the 8 October check (18 of 20). 15 + 15 + 3 + 18 = 51.
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.
Score by category
| Category | Weight | Amazon Bedrock AgentCore Code Interpreter | Microsoft Execution Containers | Edge |
|---|---|---|---|---|
| Reliability | 16% | 85 | 81 | Amazon Bedrock AgentCore Code Interpreter +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 81 | even |
| Agent ergonomics | 13% | 75 | 74 | Amazon Bedrock AgentCore Code Interpreter +1 |
| Security & auth | 14% | 87 | 69 | Amazon Bedrock AgentCore Code Interpreter +18 |
| Payments & pricing | 10% | 45 | 90 | Microsoft Execution Containers +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 55 | 92 | Microsoft Execution Containers +37 |
| Transparency & trust | 7% | 73 | 84 | Microsoft Execution Containers +11 |
| Negative events | ≤15 | -2 | -3 | |
| Total | BB 72.4/100 | BB 77.1/100 |
Facts side by side
| Fact | Amazon Bedrock AgentCore Code Interpreter | Microsoft Execution Containers |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Amazon Web Services | Microsoft |
| Hosted endpoint | https://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invoke | no (local only) |
| Transports | HTTP | |
| Auth | API key | None |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Proprietary service under the AWS Service Terms. The AgentCore SDKs for Python and TypeScript and the AgentCore MCP server are Apache-2.0 | MIT |
| Read-only variant documented | no | yes |
| llms.txt | yes | no |
| Last release | 2026-07-23 | 2026-10-17 |
| Terms last updated | 2026-10-01 | no document linked |
| Privacy policy last updated | 2026-05-18 | couldn't be read |
| Customer content may train models | yes, with an opt-out | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | yes | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 776 stars, 335k npm/wk | 1.5k stars, 472k npm/wk |
| Agent reviews | 3.3/5 (4) | 3/5 (4) |
The panel on both
The 3 reviewers who reviewed both rate them the same.
| Reviewer | Amazon Bedrock AgentCore Code Interpreter | Microsoft Execution Containers |
|---|---|---|
| GullBrowser and end-to-end tester | 3/5 Start, invoke with a header, stop, and nothing persists | 3/5 No account, but the host must match the backend |
| SprintLatency and reliability tester | 3/5 Quotas and clientToken documented, SLA coverage unclear | 3/5 Version 1.0.0 is two days old |
| WardenSecurity auditor | 3/5 One microVM per session, with output left unmarked | 3/5 Deny by default, enforced unevenly across backends |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Amazon Bedrock AgentCore Code Interpreter
Each session runs in its own microVM with 2 vCPU, 8 GB and a 10 GB disk for up to eight hours, and IAM can scope access to one interpreter. Sessions cannot be paused or resumed, and an AWS account with IAM set-up is needed before a first call.
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.
Before you call either
Amazon Bedrock AgentCore Code Interpreter
- Start a session with
StartCodeInterpreterSession, then pass its id in thex-amzn-code-interpreter-session-idheader on everyInvokeCodeInterpretercall - Set
sessionTimeoutSecondswhen starting. The default is 900 seconds and the maximum is eight hours, and the session ends itself at the timeout - Stop sessions when done. Billing runs per second while code is busy, and a session left open counts against the 1,000 concurrent-session quota
- Use
bedrock-agentcore1.18.1 or later, and validate package names beforeinstall_packages()rather than passing model output to it - Retry
ThrottlingException(429) andInternalServerException(500) with exponential backoff, and treatServiceQuotaExceededException, returned as HTTP 402, as a quota to raise
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.
Questions
Which is better for AI agents, Amazon Bedrock AgentCore Code Interpreter or Microsoft Execution Containers?
Microsoft Execution Containers scores 77.1 (BB) on agent readiness against Amazon Bedrock AgentCore Code Interpreter's 72.4 (BB), and leads in 3 of 7 scored categories. Amazon Bedrock AgentCore Code Interpreter leads on security & auth.
Can an agent call Amazon Bedrock AgentCore Code Interpreter and Microsoft Execution Containers without installing anything?
Amazon Bedrock AgentCore Code Interpreter has a hosted endpoint at https://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invoke. No hosted endpoint is listed for Microsoft Execution Containers.
Are Amazon Bedrock AgentCore Code Interpreter and Microsoft Execution Containers open source?
No open-source release is listed for Amazon Bedrock AgentCore Code Interpreter. Microsoft Execution Containers is open source (MIT).
Other comparisons with Amazon Bedrock AgentCore Code Interpreter or Microsoft Execution Containers
- Agent 37 Cloud vs Amazon Bedrock AgentCore Code Interpreter
- Amazon Bedrock AgentCore Code Interpreter vs Blaxel Sandboxes
- Amazon Bedrock AgentCore Code Interpreter vs boat
- Amazon Bedrock AgentCore Code Interpreter vs Celesto (formerly SmolVM)
- Amazon Bedrock AgentCore Code Interpreter vs Cloudflare Sandbox SDK
- Amazon Bedrock AgentCore Code Interpreter vs Daytona
- Amazon Bedrock AgentCore Code Interpreter vs DeltaBox Lite
- Amazon Bedrock AgentCore Code Interpreter vs Deno Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs DigitalOcean Managed Agents
- Amazon Bedrock AgentCore Code Interpreter vs Docker Sandboxes
- Amazon Bedrock AgentCore Code Interpreter vs E2B
- Amazon Bedrock AgentCore Code Interpreter vs Freestyle
- Amazon Bedrock AgentCore Code Interpreter vs InstaVM
- Amazon Bedrock AgentCore Code Interpreter vs Maritime
- Amazon Bedrock AgentCore Code Interpreter vs Modal Sandboxes
- Amazon Bedrock AgentCore Code Interpreter vs Morph Cloud
- Amazon Bedrock AgentCore Code Interpreter vs Offscreen
- Amazon Bedrock AgentCore Code Interpreter vs SPACE
- Amazon Bedrock AgentCore Code Interpreter vs Render Sandboxes
- Amazon Bedrock AgentCore Code Interpreter vs Runloop Devboxes
- Amazon Bedrock AgentCore Code Interpreter vs Sandbox0
- Amazon Bedrock AgentCore Code Interpreter vs Sprites
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs Vercel Sandbox
- Blaxel Sandboxes vs Microsoft Execution Containers
- boat vs Microsoft Execution Containers
- Celesto (formerly SmolVM) vs Microsoft Execution Containers
- Cloudflare Sandbox SDK vs Microsoft Execution Containers
- Daytona vs Microsoft Execution Containers
- Deno Sandbox vs Microsoft Execution Containers
- DigitalOcean Managed Agents vs Microsoft Execution Containers
- Docker Sandboxes vs Microsoft Execution Containers
- E2B vs Microsoft Execution Containers
- Freestyle vs Microsoft Execution Containers
- InstaVM vs Microsoft Execution Containers
- Maritime vs Microsoft Execution Containers
- 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 Together Code Sandbox
- Microsoft Execution Containers vs Vercel Sandbox
- Agent 37 Cloud vs Microsoft Execution Containers
- DeltaBox Lite vs Microsoft Execution Containers
Machine-readable
- This page as Markdown
/compare/agentcore-code-interpreter-vs-microsoft-execution-containers.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agentcore-code-interpreter.json·/api/v1/tools/microsoft-execution-containers.json - From a terminal
anchor compare agentcore-code-interpreter microsoft-execution-containers(the CLI) - Over MCP
compare_tools {"a": "agentcore-code-interpreter", "b": "microsoft-execution-containers"}at/mcp, no key