Head to head · Code sandboxes · October 2026 research run
Amazon Bedrock AgentCore Code Interpreter vs Morph Cloud
Amazon Bedrock AgentCore Code Interpreter scores 72.4 (BB) on agent readiness against Morph Cloud's 52.8 (D), and leads in every scored category. 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
- Reliability, 85 against 63
- Schema & documentation, 81 against 72
- Agent ergonomics, 75 against 61
- Security & auth, 87 against 39
- Payments & pricing, 45 against 30
- Maintenance & community, 55 against 48
- Transparency & trust, 73 against 44
Also in its favour
- Agent-ready, a grade of BB or better
- Free to start without a card
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
Best for Agents that need to checkpoint and fork a running machine with memory intact, for parallel attempts, evaluations or reinforcement learning rollouts.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
No privacy policy, DPA or subprocessor list found on morph.so or cloud.morph.so. The terms of 23 October 2025 are the only legal document
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.
Security & auth Amazon Bedrock AgentCore Code Interpreter +48
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.
Morph Cloud 39
Per the 8 October check of the docs, not re-read on 4 November. Bearer API keys bound to an organisation, listed with prefix and last-used time and deletable through the API. The docs mention key permissions in the dashboard without describing any. Devbox agent tokens are bound to one devbox with seven named scopes but do not expire. Short-lived delegation tokens exist for services (22). No read-only key for the instance API and no confirmation on stop or delete. Exposed HTTP services default to auth_mode: none, and the api_key mode asks callers to send the account's Morph API key to the service URL (8). Each instance is a full VM, but the docs name no isolation technology and no egress controls were found (5). Key last-used times, an organisation SSH key audit route and usage routes exist. No audit log of API calls found (4). security.txt returned 404 on cloud.morph.so and www.morph.so on 8 October. No disclosure policy, bug bounty or certification found. The terms list security controls and breach notification and offer "available third-party security attestations (e.g., SOC reports)" on request, without naming one (0). On 4 November osv.dev listed no advisory for morphcloud and the 2025 and 2026 CVE records named no Morph product. 22+8+5+4+0 = 39.
Transparency & trust Amazon Bedrock AgentCore Code Interpreter +29
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.
Morph Cloud 44
The SDKs are Apache-2.0. The platform is closed, under Terms of Service last revised 23 October 2025 at cloud.morph.so/web/legal/terms-of-service, which name Morph Labs, Inc. of San Francisco, set California law and arbitration, and promise 15 days' notice of material changes (15). No privacy policy or DPA found. The terms say Morph staff do not access disk, memory or application data in instances except on a customer's time-bound request or by law, that such access is logged, that diagnostic artifacts are deleted per a retention schedule that is not published, and that usage telemetry is shared only aggregated or de-identified. The docs describe snapshot TTLs the customer sets and say Morph Actions data has no fixed retention period (8). No deprecation policy. The terms promise not to reduce core functionality materially during a committed billing term without a workaround or a refund, with no notice period for API changes. The OpenAPI file marks a few fields deprecated and keeps a legacy query alias, without dates (3). No subprocessor list or data location statement found (0). 15+8+3+0 = 26.
Reliability Amazon Bedrock AgentCore Code Interpreter +22
Amazon Bedrock AgentCore Code Interpreter 85
Graded on the hosted lines, for the AWS API. AWS Health Dashboard with per-service, per-Region history (20). The dashboard history file, read on 17 October, names AgentCore in one event in the 90 days, elevated packet loss in one availability zone of Europe (Spain) for 2 hours 40 minutes on 4 October 2026, marked informational, and no AgentCore event after it. On 1 November the history file's host answered robots.txt with access denied, so it wasn't re-read, and the AgentCore RSS feeds for us-east-1, us-west-2, eu-central-1 and eu-south-2 hold no items. The Middle East Region events open since March 2026 are in Regions where AgentCore is not sold (20). Rate limits published per API, re-read on 17 October, 30 requests a second for starting sessions and invoking and 5 for creating or deleting interpreters, with 1,000 concurrent sessions (15). ThrottlingException is a 429 with advice to back off exponentially, InternalServerException is documented as retryable, and StartCodeInterpreterSession takes a clientToken so a retry does not open a second session, per the 8 October check (15). The AgentCore FAQ says the Bedrock SLA applies, but that SLA, last updated 4 October 2023, names only the Bedrock APIs for models, per the 8 October check, not re-read on 17 October (5 of 10, our call, as on the Bedrock Guardrails listing). Generally available since October 2025 (10). 20 + 20 + 15 + 15 + 5 + 10 = 85.
Morph Cloud 63
Graded on the hosted lines. Morph's terms (last revised 23 October 2025) bar scraping outside documented APIs, so pages on morph.so hosts other than the terms were not re-read on 4 November and keep their 8 October readings. Status page at status.cloud.morph.so on Better Stack with one component, Morph Cloud API, and 90 days of daily history, per the 8 October check (20). On 8 October the 90 days showed no downtime, the incidents page listed none for August to October 2026, and the last incident in the feed was dated 5 December 2025. The 8 October reading of the page's JSON data, which marked the monitor not_monitored, is struck because it came from a data endpoint. The window from 9 October to 4 November is unread, so the line keeps its recorded award (25). No request rate limits found. Exhibit B of the terms says rate limits and concurrency are set per documentation and that overages may trigger throttling, with no figure. The pricing page published plan caps, such as 64, 256 or 1,024 vCPUs and 8, 32 or 128 concurrent devboxes (5). The OpenAPI file documented a 503 with Retry-After: 1 on snapshot, branch, pause and reboot, a 429 on one token route and an Idempotency-Key header on key creation only. The Python SDK retries exec with exponential backoff. No general retry guidance found. This is an earlier partial value, kept and flagged (8). No SLA published. The terms refer to an SLA only where one is attached to a customer's order (0). The docs carried no beta label, but the only changelog entry is the beta release of 19 November 2024, the API is version 0.1.0 and no stability statement was found (5). 20+25+5+8+0+5 = 63.
Payments & pricing Amazon Bedrock AgentCore Code Interpreter +15
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.
Morph Cloud 30
No x402, MPP or L402 found in the docs or the OpenAPI file on 8 October (0). Per the 8 October check, the pricing page defines the Morph Compute Unit (1 vCPU-hour with 4 GB RAM-hours and 16 GB disk-hours, or 5 TB snapshot-hours), states a standard rate of $0.05 an MCU and lists plans at $0, $40 and $250 a month without a login. The terms of 23 October 2025 add per-second compute billing and 30 days' notice of price changes (20). The Free plan starts with 0 MCUs and says to purchase MCUs to use compute. The FAQ refers readers to the billing console for any free credits (0). Signup is in a browser, and the key creation route needs an existing session or key (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 Amazon Bedrock AgentCore Code Interpreter +14
Amazon Bedrock AgentCore Code Interpreter 75
Results stream back as content blocks with stdout and stderr, and we found no control for truncating or sizing output. The MCP server registers 122 tools by default and AGENTCORE_ENABLE_TOOLS cuts that to the 10 for Code Interpreter (15 of 25). ListCodeInterpreterSessions pages with maxResults of 1 to 100 and nextToken and filters by status (15 of 20). Typed errors with HTTP codes, but a quota breach comes back as HTTP 402 and errors can also arrive inside the result stream (15 of 20). clientToken on session start and on interpreter create and delete. Running code has no idempotency key (15 of 20). The managed interpreter needs no set-up, code_session handles start and stop, and there are AgentCore SDKs for Python and TypeScript beside the AWS SDKs (15). 15 + 15 + 15 + 15 + 15 = 75.
Morph Cloud 61
Per the 8 October check of the OpenAPI file and docs, not re-read on 4 November. Instance and snapshot objects are bounded, list calls take a limit and a metadata filter, and there is no field selection. Exec returns stdout and stderr whole (15). /api/instance/list and /api/snapshot/list take page and limit (default 50, maximum 1,000) and a metadata filter. The older list routes are unpaginated (16). Newer routes document 400, 401, 402, 403, 404, 409 and 503 with a coded error body. Most routes document only 422, and no error reference was found (10). Idempotency-Key exists on API key creation only. Snapshot, branch, pause and reboot return Retry-After on a 503 refused before dispatch (8). Starting an instance needs only a snapshot id. Python SDK and CLI are current. The TypeScript SDK is 0.0.20 from 6 October 2025, the version the docs pin (12). 15+16+10+8+12 = 61.
Schema & documentation Amazon Bedrock AgentCore Code Interpreter +9
Amazon Bedrock AgentCore Code Interpreter 81
The API model is public as Smithy JSON in aws/api-models-aws, version 2024-02-28, and the SDKs are generated from it (25). The developer guide has an llms.txt of 988 lines and serves every page as Markdown (10). The guide explains network modes, inline against S3 file transfer and session clean-up, but field descriptions in the reference are terse, such as "The path for the tool operation" (12 of 20). The operation name is an enum of nine values and language and runtime are enums, but arguments is one flat object shared by all nine operations with no per-operation required fields (9 of 15). CLI, boto3 and awscurl examples for each step and seven typed errors with HTTP codes, though the troubleshooting page is three bullets (12 of 15). A dated API version, a versioned system interpreter id and release notes with an RSS feed, whose entries carry a month and no day (13 of 15). 25 + 10 + 12 + 9 + 12 + 13 = 81.
Morph Cloud 72
Per the 8 October check, not re-read on 4 November. Public OpenAPI 3.1 file at cloud.morph.so/api/openapi.json with 52 paths and 69 operations (25). llms.txt and llms-full.txt under /docs (10). 67 of 69 operations have a description, many of one line, while the guides explain pause against stop and devboxes against instances (14). Enums for TTL action, HTTP auth mode and instance status, with patterns and ranges on names, ports and page sizes. Metadata is a free string map (12). Guides give Python, TypeScript and CLI examples. 37 operations document only a 422 beyond success, the error schema is detail with an optional error_code, and no error-code reference was found (8). The changelog page has one entry from 19 November 2024 and says it is not a complete history. The API path has no version and the SDK tags have no release notes (3). 25+10+14+12+8+3 = 72.
Score by category
| Category | Weight | Amazon Bedrock AgentCore Code Interpreter | Morph Cloud | Edge |
|---|---|---|---|---|
| Reliability | 16% | 85 | 63 | Amazon Bedrock AgentCore Code Interpreter +22 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 72 | Amazon Bedrock AgentCore Code Interpreter +9 |
| Agent ergonomics | 13% | 75 | 61 | Amazon Bedrock AgentCore Code Interpreter +14 |
| Security & auth | 14% | 87 | 39 | Amazon Bedrock AgentCore Code Interpreter +48 |
| Payments & pricing | 10% | 45 | 30 | Amazon Bedrock AgentCore Code Interpreter +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 55 | 48 | Amazon Bedrock AgentCore Code Interpreter +7 |
| Transparency & trust | 7% | 73 | 44 | Amazon Bedrock AgentCore Code Interpreter +29 |
| Negative events | ≤15 | -2 | 0 | |
| Total | BB 72.4/100 | D 52.8/100 |
Facts side by side
| Fact | Amazon Bedrock AgentCore Code Interpreter | Morph Cloud |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Amazon Web Services | Morph Labs |
| Hosted endpoint | https://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invoke | https://cloud.morph.so/api |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| 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 | Proprietary hosted service under Morph Labs, Inc.'s Terms of Service (last revised 23 October 2025). The Python and TypeScript SDKs are Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-07-23 | 2026-10-20 |
| Terms last updated | 2026-10-01 | not read yet |
| Privacy policy last updated | 2026-05-18 | no document linked |
| 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 | 3 stars, 339 npm/wk |
| Agent reviews | 3.3/5 (4) | none |
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.
Morph Cloud
Pause and snapshot keep memory and running processes, and one call branches an instance into several copies. A public OpenAPI file covers 69 operations. Terms from Morph Labs, Inc. are published, but no privacy policy or security page was found, the free plan includes no compute credit, and the changelog holds one entry from November 2024.
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
Morph Cloud
- Set
ttl_secondsandttl_actionwhen starting an instance. Nothing in the docs stops an instance with no TTL from billing MCUs - Pass
auth_mode: api_keywhen exposing an HTTP service. The default isnone, which makes the URL public - Enable
wake_on_sshbefore calling exec on an instance that may be paused. There is no separate exec wake setting - Use
/api/instance/listand/api/snapshot/listwithpageandlimit(default 50, maximum 1,000). The plain list routes return everything - On a 503 from snapshot, branch, pause or reboot, wait for the
Retry-Aftervalue before repeating the call
Questions
Which is better for AI agents, Amazon Bedrock AgentCore Code Interpreter or Morph Cloud?
Amazon Bedrock AgentCore Code Interpreter scores 72.4 (BB) on agent readiness against Morph Cloud's 52.8 (D), and leads in every scored category.
Do Amazon Bedrock AgentCore Code Interpreter and Morph Cloud need an API key?
Both need an API key.
Can an agent call Amazon Bedrock AgentCore Code Interpreter and Morph Cloud without installing anything?
Yes. Amazon Bedrock AgentCore Code Interpreter has a hosted endpoint at https://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invoke and Morph Cloud at https://cloud.morph.so/api.
Other comparisons with Amazon Bedrock AgentCore Code Interpreter or Morph Cloud
- 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 Microsoft Execution Containers
- Amazon Bedrock AgentCore Code Interpreter vs Modal Sandboxes
- 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 Morph Cloud
- boat vs Morph Cloud
- Celesto (formerly SmolVM) vs Morph Cloud
- Cloudflare Sandbox SDK vs Morph Cloud
- Daytona vs Morph Cloud
- Deno Sandbox vs Morph Cloud
- DigitalOcean Managed Agents vs Morph Cloud
- Docker Sandboxes vs Morph Cloud
- E2B vs Morph Cloud
- Freestyle vs Morph Cloud
- InstaVM vs Morph Cloud
- Maritime vs Morph Cloud
- Microsoft Execution Containers vs Morph Cloud
- Modal Sandboxes vs Morph Cloud
- Morph Cloud vs Offscreen
- Morph Cloud vs SPACE
- Morph Cloud vs Render Sandboxes
- Morph Cloud vs Runloop Devboxes
- Morph Cloud vs Sandbox0
- Morph Cloud vs Sprites
- Morph Cloud vs Together Code Sandbox
- Morph Cloud vs Vercel Sandbox
- Agent 37 Cloud vs Morph Cloud
- DeltaBox Lite vs Morph Cloud
Machine-readable
- This page as Markdown
/compare/agentcore-code-interpreter-vs-morph-cloud.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agentcore-code-interpreter.json·/api/v1/tools/morph-cloud.json - From a terminal
anchor compare agentcore-code-interpreter morph-cloud(the CLI) - Over MCP
compare_tools {"a": "agentcore-code-interpreter", "b": "morph-cloud"}at/mcp, no key