Head to head · Code sandboxes · October 2026 research run

Amazon Bedrock AgentCore Code Interpreter vs Tensorlake Sandboxes

Amazon Bedrock AgentCore Code Interpreter scores 72.4 (BB) on agent readiness against Tensorlake Sandboxes's 65.8 (B), and leads in 4 of 7 scored categories. Tensorlake Sandboxes leads on payments & pricing and maintenance & community. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 351 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 55
  • Security & auth, 87 against 55
  • Transparency & trust, 73 against 63

Also in its favour

  • Agent-ready, a grade of BB or better
  • 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

Tensorlake Sandboxes B

Best for Long-lived, stateful agent machines that suspend and resume with memory, fork for parallel runs, and keep work in hosted Git or versioned volumes: coding agents, RL rollouts, evals and CI.

Ahead on

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

Watch for

No request rate limits for the control-plane API found in the docs or OpenAPI file

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

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.

Tensorlake Sandboxes 55

Project-scoped API keys, revocable from the dashboard, with the permissions of a project member, no scopes, no expiry and rotation by create-then-delete (20). Each CPU sandbox is a microVM with its own kernel, and egress can be switched off or limited with allow and deny lists on a running sandbox, but internet access is on by default (12). The docs advise switching off internet for untrusted or LLM-generated code; we found no guidance on keeping credentials out of a sandbox (8). Process logs are searchable in the console and organisations have admin and member roles, but audit logs are available only on request to support (5). SOC 2 Type 2 and HIPAA per the pricing page and docs, with the report on request through the trust centre, and security@tensorlake.ai for questions. No security.txt (404), bug bounty or public advisories found (10). 20 + 12 + 8 + 5 + 10 = 55.

Reliability Amazon Bedrock AgentCore Code Interpreter +30

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.

Tensorlake Sandboxes 55

A status page at status.tensorlake.ai is linked from the home page, but its robots.txt answered 403, so we couldn't read component history (10 of 20, as the page exists but its history is unchecked). No readable incident record (5). No request rate limits for the API found; plan concurrency caps (1, 100, 1,000) and 64 PTY sessions a sandbox are published (5 of 15). The SDKs retry 429, 502, 503 and 504 on reads with Retry-After and randomised backoff, replay only requests that never reached the server, and the docs give a safe-retry route for creates through unique sandbox names (409 on a repeat) (15). The terms of 24 October 2026 commit to 99.9% monthly control-plane availability with service credits (10). Sandboxes are GA (10). 10 + 5 + 5 + 15 + 10 + 10 = 55.

Maintenance & community Tensorlake Sandboxes +27

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.

Tensorlake Sandboxes 82

cli-v0.5.165 tagged on 13 November 2026, with Python tensorlake and npm @tensorlakeai/tensorlake at 0.5.165 (30). 48 release tags from 25 August to 13 November 2026 and 124 commits on main since 25 August (20). 42 open issues against 1,047 stars; the five newest open ones (4 September to 27 October) have no replies, while 10 issues were closed since 1 September. No public changelog, but a Slack community (12). Current official Python and TypeScript SDKs (15). GitHub Actions run tests on pushes and pull requests to main, for the Python, TypeScript and HTTP transport code, though their pass state couldn't be read (5). 30 + 20 + 12 + 15 + 5 = 82.

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

Tensorlake Sandboxes 60

No x402, MPP or L402 (0). Per-unit prices published without login, per core-hour, GB-hour and GB-month, with a calculator (30). Free tier at $0 with "no credit card required" per the pricing FAQ and billing docs (30). Signup is in a browser at cloud.tensorlake.ai and keys are made in the dashboard; no programmatic signup or Stripe Projects route found (0). 0 + 30 + 30 + 0 = 60.

Transparency & trust Amazon Bedrock AgentCore Code Interpreter +10

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.

Tensorlake Sandboxes 63

The SDK and CLI are Apache-2.0 in tensorlakeai/tensorlake, but the platform that runs sandboxes isn't published (20). The privacy policy (23 September 2026), the DPA and the docs' security page agree that customer content is kept until the customer deletes it and is removed at once on deletion, data isn't used for training, archived sandbox records last 48 hours and application logs 7 days. The free tier's "7 day retention" on the pricing page isn't explained further (20). The terms promise 30 days' notice of changes that materially reduce a customer's rights, and SDK fields are deprecated with warnings, but there's no API deprecation policy (8). AWS S3 storage, US and EU regions, Stripe, Google Analytics and Plausible are named; the full subprocessor list is on a trust centre our reader couldn't render (12). 20 + 20 + 8 + 12 = 60.

Score by category

CategoryWeightAmazon Bedrock AgentCore Code InterpreterTensorlake SandboxesEdge
Reliability16%8555Amazon Bedrock AgentCore Code Interpreter +30
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8179Amazon Bedrock AgentCore Code Interpreter +2
Agent ergonomics13%7575even
Security & auth14%8755Amazon Bedrock AgentCore Code Interpreter +32
Payments & pricing10%4560Tensorlake Sandboxes +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5582Tensorlake Sandboxes +27
Transparency & trust7%7363Amazon Bedrock AgentCore Code Interpreter +10
Negative events≤15-20
TotalBB 72.4/100B 65.8/100

Facts side by side

FactAmazon Bedrock AgentCore Code InterpreterTensorlake Sandboxes
KindHTTP APIHTTP API
VendorAmazon Web ServicesTensorlake
Hosted endpointhttps://bedrock-agentcore.{region}.amazonaws.com/code-interpreters/{id}/tools/invokeno (local only)
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingPay per useFreemium
x402nono
LicenceProprietary service under the AWS Service Terms. The AgentCore SDKs for Python and TypeScript and the AgentCore MCP server are Apache-2.0Apache-2.0
Tools exposednone0
Read-only variant documentednono
llms.txtyesyes
Last release2026-07-232026-11-13
Terms last updated2026-10-012026-10-24
Privacy policy last updated2026-05-182026-09-23
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/wk1k stars, 26k npm/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.

Tensorlake Sandboxes

Agents get microVM sandboxes that suspend with memory intact, fork while running and mount hosted Git, with a public OpenAPI file, llms.txt, per-hour prices and a free tier with no card. Request rate limits, a public changelog and a readable status history were not found, and internet access is on by default.

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

Tensorlake Sandboxes

  1. Give a sandbox a name when a retry must not create a second one; a repeat name returns 409, and get_or_create resolves it
  2. Create untrusted-code sandboxes with allow_internet_access: false, or list destinations in allow_out, since egress is on by default
  3. Only named sandboxes suspend and resume; an ephemeral one is gone when terminated, and its record stays under /archived-sandboxes for 48 hours
  4. On Usage Credits a zero balance stops running sandboxes, so check the balance before long jobs
  5. Set wait: false with max_pending_secs to get a 202 and poll, rather than blocking while capacity is short

Questions

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

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

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

Both need an API key.

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

Other comparisons with Amazon Bedrock AgentCore Code Interpreter or Tensorlake Sandboxes

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.