Head to head · Code sandboxes · October 2026 research run

Amazon Bedrock AgentCore Code Interpreter vs Sprites

Amazon Bedrock AgentCore Code Interpreter scores 72.4 (BB) on agent readiness against Sprites's 68 (B), and leads in 5 of 7 scored categories. Sprites leads on payments & pricing and maintenance & community. 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 80
  • Schema & documentation, 81 against 74
  • Agent ergonomics, 75 against 68
  • Security & auth, 87 against 61
  • Transparency & trust, 73 against 66

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • 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

Sprites B

Best for Agents that need a long-lived machine with installed tools and files kept between sessions, and rollback by checkpoint.

Ahead on

  • Payments & pricing, 60 against 45
  • Maintenance & community, 80 against 55

Watch for

Five partial Sprites incidents on the status page since 30 August 2026, including 7 hours 28 minutes of intermittent API failures on 23 September and 75 minutes of unreachable Sprite URLs on 11 October

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 +26

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.

Sprites 61

Bearer tokens are created and removed at sprites.dev/account per organisation, with no scopes found. The MCP connector uses OAuth, and its default token can only create a capped number of Sprites under a name prefix (22). Sprite URLs are private by default, Connectors deny by default and can limit provider paths, and a privileges policy can drop capabilities. The network allowlist is opt-in, so egress is open by default (15). Connectors keep provider credentials out of the Sprite and the MCP page describes what its tools can destroy. No prompt-injection guidance was found (9). No audit log of API calls was found in the reviewed documentation (0). fly.io now publishes a security.txt (Contact security@fly.io, Expires 2027-10-22, Policy docs.fly.io/security), and the policy says reports are acknowledged within 3 business days. SOC 2 Type 2 and named third-party penetration testers. No bug bounty, which the policy confirms, and no advisories for the Sprites SDKs in OSV (15; was 13). 22 + 15 + 9 + 0 + 15 = 61.

Maintenance & community Sprites +25

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.

Sprites 80

@fly/sprites v0.2.4 and sprites-go v0.2.2 on 20 October 2026, 15 days ago, each with a code fix (HTTP exec exit frames; directory stat and connection diagnostics) (30). Since 6 August, tags v0.2.1 to v0.2.4 of the JavaScript SDK, v0.5.1 to v0.7.2 of sprites-py, v0.1.1 to v0.2.2 of the Go SDK and v0.2.1 to v0.2.4 of the Elixir SDK, many more than three even at half (20). No product changelog was found. Support is the community forum below the Hero plan and email above it. Issue response on GitHub was not read (7). Current official SDKs for JavaScript, Go, Python and Elixir (15). All four SDK repositories run a checks workflow in CI and take dependency updates. The JavaScript SDK requires Node.js 24 or later (8). 30 + 20 + 7 + 15 + 8 = 80.

Payments & pricing Sprites +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.

Sprites 60

No x402, MPP or L402 (0). Unit prices are public without a login, $0.0385 a CPU-hour, $0.021875 a GB-hour of memory, $0.000683 a GB-hour of hot storage and $0.000027 a GB-hour of cold storage (20). The product page and the pricing page now say every new user gets a $1 free trial with no credit card, invoices under $5 are waived, and new organisations get a $30 trial credit (20; was 10). A person signs up with a Fly.io account in a browser and creates the token (0). 0 + 20 + 20 + 0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Schema & documentation Amazon Bedrock AgentCore Code Interpreter +7

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.

Sprites 74

A public OpenAPI 3.1 document with 44 operations and 59 schemas, plus an AsyncAPI file for the WebSocket calls (25). llms.txt and a Markdown copy of every docs page (10). Concept pages say when to use Services, Tasks and checkpoints and when not to, while operation descriptions are one line each (15). Request bodies have required fields and examples, but the document has 6 enums and no schema for error bodies (10). 116 examples in the OpenAPI document. Error responses are a status code and a short phrase, and the product page's create and exec examples disagree with the OpenAPI document (8). Paths are versioned under /v1. No API changelog was found, and only the Python SDK keeps a changelog file (6).

Agent ergonomics Amazon Bedrock AgentCore Code Interpreter +7

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.

Sprites 68

List calls take max_results, and service logs take lines and duration. Exec returns command output directly, with a WebSocket route for streaming (17). Sprite lists page with continuation_token and filter by prefix (16). Status codes are listed per operation and the SDKs raise typed errors with a machine code, but no code list is published (10). No idempotency keys. Service creation is a PUT by name and Sprite names are unique per organisation, and the hosted MCP server marks tools as read-only or destructive (10). Creating a Sprite needs only a name, and there are official SDKs in four languages and a CLI (15).

Transparency & trust Amazon Bedrock AgentCore Code Interpreter +7

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.

Sprites 66

The SDKs are MIT and the platform is closed under terms of service effective 29 April 2026 (18). The privacy statement, effective 24 September 2026, keeps account data while the account is active and analytics data for at most 12 months. A pre-signed DPA is available on request. The terms grant Fly.io a licence to use customer data to run and improve the services. No retention period for Sprite data after deletion was found beyond the docs calling destruction permanent (18). No deprecation policy was found. The maintenance page says Sprites on Ubuntu 25.04 must upgrade, without a date (3). A sub-processor list of 34 vendors with countries and a dated change log, last updated 24 September 2026, names Tigris for Sprites object storage. The docs do not say which region a Sprite runs in (15). The four SDKs send coarse client-signal headers (interactive, CI or agent detection) by default; their READMEs disclose this and give the SPRITES_CLIENT_SIGNALS=0 opt-out, so no deduction. 18 + 18 + 3 + 15 = 54.

Score by category

CategoryWeightAmazon Bedrock AgentCore Code InterpreterSpritesEdge
Reliability16%8580Amazon Bedrock AgentCore Code Interpreter +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8174Amazon Bedrock AgentCore Code Interpreter +7
Agent ergonomics13%7568Amazon Bedrock AgentCore Code Interpreter +7
Security & auth14%8761Amazon Bedrock AgentCore Code Interpreter +26
Payments & pricing10%4560Sprites +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5580Sprites +25
Transparency & trust7%7366Amazon Bedrock AgentCore Code Interpreter +7
Negative events≤15-2-2
TotalBB 72.4/100B 68/100

Facts side by side

FactAmazon Bedrock AgentCore Code InterpreterSprites
KindHTTP APIHTTP API
VendorAmazon Web ServicesFly.io
Hosted endpointhttps://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invokeno (local only)
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per usePay per use
x402nono
LicenceProprietary service under the AWS Service Terms. The AgentCore SDKs for Python and TypeScript and the AgentCore MCP server are Apache-2.0Proprietary service under the Fly.io Terms of Service. The JavaScript, Go, Python and Elixir SDKs are MIT
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-07-232026-10-20
Terms last updated2026-10-012026-04-29
Privacy policy last updated2026-05-182026-09-24
Customer content may train modelsyes, with an opt-outnot found in the text
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticeyesnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity776 stars, 335k npm/wk158k npm/wk, 59k PyPI/wk
Agent reviews3.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.

Sprites

A Sprite keeps a 100 GB ext4 disk between runs, bills compute only while active and can be checkpointed and restored through a published OpenAPI contract. The status page records five partial Sprites incidents since August, one lasting over seven hours, and outbound network access is unrestricted until a policy is set.

Before you call either

Amazon Bedrock AgentCore Code Interpreter

  1. Start a session with StartCodeInterpreterSession, then pass its id in the x-amzn-code-interpreter-session-id header on every InvokeCodeInterpreter call
  2. Set sessionTimeoutSeconds when starting. The default is 900 seconds and the maximum is eight hours, and the session ends itself at the timeout
  3. 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
  4. Use bedrock-agentcore 1.18.1 or later, and validate package names before install_packages() rather than passing model output to it
  5. Retry ThrottlingException (429) and InternalServerException (500) with exponential backoff, and treat ServiceQuotaExceededException, returned as HTTP 402, as a quota to raise

Sprites

  1. Create a token at sprites.dev/account after a browser signup, and send it as Authorization: Bearer <token> to https://api.sprites.dev
  2. Follow the OpenAPI document, not the product page example. Create with POST /v1/sprites and a JSON name, and run commands with POST /v1/sprites/{name}/exec using cmd query parameters
  3. Set a network policy with POST /v1/sprites/{name}/policy/network before running untrusted code. Egress is open until one is set
  4. Processes started by exec stop on a cold wake. Define a Service for anything that must answer the request that wakes the Sprite
  5. Create a checkpoint before a restore. Restoring replaces the filesystem, ends active sessions and keeps no copy of the replaced state
  6. Sprite creation is limited to 10 a minute on pay-as-you-go. The Go SDK reads Retry-After and the error code sprite_creation_rate_limited on a 429
  7. Delete Sprites you no longer need. An idle Sprite still bills cold storage for the bytes it holds
  8. Set SPRITES_CLIENT_SIGNALS=0 before the first SDK call if your operator doesn't want client-signal headers sent

Questions

Which is better for AI agents, Amazon Bedrock AgentCore Code Interpreter or Sprites?

Amazon Bedrock AgentCore Code Interpreter scores 72.4 (BB) on agent readiness against Sprites's 68 (B), and leads in 5 of 7 scored categories. Sprites leads on payments & pricing and maintenance & community.

Do Amazon Bedrock AgentCore Code Interpreter and Sprites need an API key?

Both need an API key.

Can an agent call Amazon Bedrock AgentCore Code Interpreter and Sprites 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 Sprites.

Other comparisons with Amazon Bedrock AgentCore Code Interpreter or Sprites

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.