Deno Sandbox vs AWS AgentCore
Both run agent code in small Firecracker microVMs. Deno Sandbox runs short, locked-down jobs that Deno says start in under 200 ms, and it is closed to new customers since November 2026. AgentCore is an AWS platform that hosts agent sessions for up to 8 hours, with a managed code interpreter and browser, and runs longer sessions on EC2 through its Instances type.
The companies and products
Deno Sandbox
Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.
Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.
- Isolation
- Firecracker microVM per sandbox
- Lifetime
- Up to 30 minutes
AWS AgentCore
Amazon Bedrock AgentCore is a set of AWS services to deploy and run AI agents: a Runtime that hosts your agent code, plus built-in Code Interpreter and Browser tools.
AgentCore is not a sandbox product first. It is a hyperscaler's agent platform: you push a container image or code, and each Runtime session gets its own Firecracker microVM. You reach a session through AgentCore APIs, an interactive shell API and authenticated HTTPS session endpoints. Around it sit managed tools (Code Interpreter, Browser) and services for memory, identity, gateways and evaluations. An Instances compute type runs longer sessions on EC2 in your own account. It is built for teams who already build on AWS and want agents to stay inside their account, IAM and VPC.
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “2nd cheapest of 365” means 1 of the other 364 providers runs that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Deno Sandbox: price rank | AWS AgentCore: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A coding agent needs hours, Docker and more than 2 vCPU. Deno stops at 30 minutes, and AgentCore microVMs stop at 8 hours; AgentCore Instances run up to 14 days on EC2. boat runs Docker with no cap once auto-stop is off (default 1 hour). | No published price | 132nd of 365, with limits $888 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that runs all month needs a long session. Deno ends after 30 minutes. AgentCore needs its Instances type on EC2, up to 14 days per session. On boat, turn auto-stop off on a paid plan. | No published price | 109th of 361, with limits $1,300 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month AgentCore Code Interpreter is built for short code runs and bills only CPU actually used and peak memory. Deno Sandbox also suits short runs, but it is closed to new customers since November 2026. | No published price | 11th cheapest of 336 $114 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. AgentCore session endpoints need IAM or OAuth on every request. boat serves HTTPS URLs on up to 50 ports, token-gated by default or public. | No published price | 205th of 349, with limits $506 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | No published price | 129th of 349, with limits $8,075 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | No published price | 46th cheapest of 359 $650 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs that run Android emulators need /dev/kvm, which boat exposes and neither Deno nor AgentCore documents. Neither Deno nor AgentCore documents Docker inside a session. | No published price | 51st cheapest of 374 $399 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box needs SSH and a disk that keeps packages. Deno has SSH, and a bootable volume in Chicago keeps files. AgentCore has a shell API but no SSH, and keeps files under /mnt mounts. boat has SSH and saves its disk every minute. | No published price | 242nd of 371, with limits $52 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month AgentCore Browser drives a browser window, not a whole desktop, and Deno documents no desktop. boat streams a Linux desktop at 1920x1080, 60 fps, with computer-use tools. | No published price | 146th of 367, with limits $202 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month AgentCore Browser is a managed Chromium with live view and replay. On Deno you install a browser yourself with apt-get, within 2 vCPU and 4 GB. boat runs Chrome on a desktop in each sandbox. | No published price | 4th cheapest of 356 $144 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | No published price | 32nd cheapest of 343 $287 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | No published price | 164th of 327, with limits $5,458 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | No published price | 108th of 351, with limits $294 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | No published price | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | No published price | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Deno Sandbox | AWS AgentCore | boat |
|---|---|---|---|
| What it is | A sandbox from Deno for running untrusted or AI-generated code; not available to new customers since November 2026 | An AWS agent platform: hosted agent sessions plus managed Code Interpreter and Browser tools | A sandbox platform: each agent gets its own full Linux VM |
| Isolation | Firecracker microVM with its own kernel | Firecracker microVM per Runtime session; Code Interpreter and Browser in a containerized environment | Full VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| Machine size | 2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk | 2 vCPU / 8 GB per microVM session, not adjustable; on Instances, the EC2 type you pick sets the size | 2 to 16 vCPU and 4 to 32 GB, 51 to 251 GB disk; 16 vCPU needs the $100 plan or higher |
| Session length | Up to 30 minutes; longer work can be promoted to a Deno Deploy app | Up to 8 hours on microVMs, stopped after 15 idle minutes by default; up to 14 days on Instances | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| What survives the end of a session | Default root disk is wiped; a bootable volume (300 MB to 20 GB, Chicago only) can be the root filesystem and keeps its files | Mounts under /mnt: a 1 GB per-session mount (preview), your own EFS or S3 Files in a VPC, or EBS volumes on Instances | The whole disk, saved every minute and at each stop, kept at least 14 days after a stop; writes after the last snapshot can be lost if a machine fails |
| Snapshots and fork | On-demand read-only snapshots of a volume that many new sandboxes can boot from (Chicago only) | No snapshot or fork of a session; on Instances you can seed new EBS volumes from your own EBS snapshots | Automatic disk snapshots; fork a running sandbox from its last 1-minute snapshot |
| Docker and nested virtualization | Docker and nested virtualization not documented | Root inside the microVM; Docker and /dev/kvm not documented | Docker with BuildKit and Compose, systemd and /dev/kvm for Android emulators and VMs |
| Custom image | Start from Deno's image or a volume snapshot | Your own container image (arm64 on microVMs; x86_64 or arm64 on Instances) | boat's Ubuntu 24.04 image or a saved snapshot; you cannot boot your own Docker image |
| Inbound access | HTTPS URL per exposed port, public without authentication; SSH | Authenticated HTTPS session endpoint for 1 to 5 ports (IAM or OAuth on every request, not on Instances); shell API; no SSH | HTTPS URLs on up to 50 ports, token-gated by default or public; SSH |
| Network controls | Host allowlist per sandbox (allowNet), enforced by Deno Deploy outside your code | VPC mode with security groups, PrivateLink and a NAT gateway for a fixed outbound IP | Open internet, no provider-side allowlist |
| Keeping API keys out of the sandbox | Any secret swapped in on outbound HTTPS requests to approved hosts; the sandbox only sees a placeholder | AgentCore Identity stores OAuth tokens and API keys and hands them to your agent code | Optional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers; other secrets enter the sandbox |
| Browser and desktop | No desktop documented; a VS Code editor in the browser; you install a browser with apt-get | Managed Chromium with live view, recording and replay; no desktop beyond the browser window | Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools |
| Coding agents | A root image with Claude Code, run through the shell command API | AWS's managed harness built on Strands Agents, or your own agent code in your image | Seven agents installed (Claude Code, Codex and more), with a prompt, steer and events API |
| Sessions at once | Closed to new customers; existing organizations get 5 at once by default | 1,000 Code Interpreter or Browser sessions; up to 5,000 Runtime sessions in us-east-1 and us-west-2 | 100 to 2,000 at once by plan; the $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail |
| Regions and GPUs | Amsterdam and Chicago; no GPUs documented | 21 commercial AWS regions plus GovCloud (Instances in 9); GPUs on Instances | Germany, Finland and France, no US or Asia region; no GPU |
Every feature Battleships tracks (43)
| Feature | Deno Sandbox | AWS AgentCore | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Not published | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | No documented way | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | No documented way | Yes | Yes |
| Computer-use API | No documented way | Yes | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | No documented way | Yes |
| Live fork (no pause) | No documented way | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | No documented way | No documented way | Yes |
| Idle auto-stop | No documented way | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | No documented way | Yes |
| Secret proxy for any API | Yes | No documented way | Yes |
| Preinstalled agents | Yes | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | No documented way | Yes | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | With your own setup | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Not published | Yes | No documented way |
| HIPAA | Not published | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Deno Sandbox nor AWS AgentCore is in the public benchmarks we use, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Deno Sandbox and AWS AgentCore are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | Deno Sandbox, a month | AWS AgentCore, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | No published price | $26 · Pay-as-you-go (Instances) · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | No published price | $107 · Pay-as-you-go (Instances) · with limits | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | No published price | $1,286 · Pay-as-you-go (Instances) · with limits | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | No published price | $423 · Pay-as-you-go · with limits | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | No published price | $1,615 · Pay-as-you-go (Instances) | $8,800 · $2000/mo · with limits |
Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates, so it has no price in our scenarios. The launch post listed $0.05 per hour of CPU time, $0.016 per GB-hour of memory and $0.20 per GiB-month of volume storage.
AWS AgentCore: No monthly fee. Runtime microVMs, Code Interpreter and Browser bill per second for CPU actually used ($0.0895 per vCPU-hour on Runtime v1) and peak memory ($0.00945 per GB-hour). The 4 vCPU shape in these scenarios is the Instances type: the EC2 on-demand price plus a 12% management fee, with EBS storage and data transfer billed on top.
AWS AgentCore: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI proxy, if on, still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.
Limits in those scenarios
Deno Sandbox is closed to new customers, so it has no price in our scenarios; existing organizations get 5 sandboxes at once by default, each living up to 30 minutes on 2 vCPU and up to 4 GB. AgentCore's microVMs stop at 2 vCPU and 8 hours, so the 4 vCPU scenarios use its Instances type, where only EBS volumes under /mnt keep files after a stop; it fits the 1,000 short jobs at $1,615 a month. boat has limits too: auto-stop defaults to 1 hour, and the $2,000 plan includes 90 starts a minute; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat does not fit 1,000 jobs at once.
| Scenario | Deno Sandbox | AWS AgentCore | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Deno Sandbox when
Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code that must start in milliseconds and reach only the hosts you allow. New customers cannot sign up since November 2026.
- Fast starts for short code. For one sandbox per request, Deno says a sandbox starts in under 200 ms. Only existing organizations can use it since November 2026.
- Outbound traffic you can lock down. For untrusted code, each sandbox can reach only the hosts you list, and placeholder secrets are swapped for real ones outside your code.
- A public link, SSH and a path to Deno Deploy. A sandbox can expose HTTPS ports with no sign-in, take SSH, and be promoted to a Deno Deploy app.
Use AWS AgentCore when
your agents must stay inside your AWS account and VPC, need sessions of hours, a GPU or a US or Asia region, or are short code and browser tasks at high concurrency.
- It lives inside your AWS account. For teams built on AWS, agents stay behind their own IAM, VPC and PrivateLink, in 21 commercial regions plus GovCloud.
- Longer sessions, and GPUs on Instances. For work past 30 minutes, microVM sessions last 8 hours, and Instances run up to 14 days on EC2, with GPUs available.
- Managed code and browser tools at scale. For short code runs and browser tasks, Code Interpreter and Browser bill only CPU actually used and peak memory, with 1,000 sessions at once.
Where boat fits
Deno Sandbox and AgentCore microVMs both hand an agent a 2 vCPU microVM for a limited time. If your agents install packages, run Docker, build and test for hours, or serve an app you want to share, look at boat: each one gets a full Linux VM whose disk is saved every minute.
A machine that stays
A Deno sandbox ends at 30 minutes, and only a volume in Chicago keeps files. An AgentCore microVM stops at 8 hours and keeps files under /mnt. AgentCore Instances run up to 14 days on EC2 in your account. boat has no cap once auto-stop is off.
Docker, /dev/kvm and more than 2 vCPU
Neither Deno nor AgentCore documents Docker or nested virtualization in a session, and both microVMs stop at 2 vCPU. boat runs Docker and /dev/kvm on sizes up to 16 vCPU / 32 GB.
Agents, desktop and shareable URLs
On Deno you run Claude Code through shell commands. AgentCore session endpoints need IAM or OAuth on each request. boat installs seven agents with an API, a 60 fps desktop and HTTPS URLs on up to 50 ports.
Use boat when your agents do real work on a machine for hours: installs, builds, tests, Docker, emulators and a browser, with a disk saved every minute and a URL you can share. Compare it one to one: boat vs Deno Sandbox and boat vs AWS AgentCore.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Deno Sandbox cheaper than AWS AgentCore?
We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and publishes no current rates. In our scenarios AgentCore costs $107 a month for one agent that never stops on its Instances type, without EBS storage, and boat $26. AgentCore fits 1,000 short jobs at once for $1,615, where boat's start limits do not fit.
How long can each one run?
A Deno sandbox lives up to 30 minutes, and longer work can be promoted to a Deno Deploy app. An AgentCore microVM session lasts up to 8 hours and stops after 15 idle minutes by default; the Instances type runs up to 14 days on EC2. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
Which is faster?
We cannot say: neither is in the public benchmarks we use. Deno states starts under 200 ms; that is its own figure. In StarSling's run of 3 October 2026, boat did 28.06 runs/s at 4 vCPU / 8 GB, on an AMD Ryzen 9 9950X host.
Can Deno Sandbox or AgentCore run Docker?
Neither one's docs say Docker or nested virtualization works inside a session. boat runs Docker with BuildKit and systemd and exposes /dev/kvm for Android emulators and VMs.
Do files survive when a session ends?
Both can keep files, with setup. On Deno the default root disk is wiped, and a volume of 300 MB to 20 GB in Chicago keeps files; a bootable volume can be the root disk. On AgentCore, paths under /mnt survive a stop: a 1 GB session mount (preview), your own EFS or S3 Files, or EBS on Instances. boat saves the whole disk every minute and at each stop; a machine failure loses writes after the last good snapshot.
Which one has a browser for agents?
AgentCore has a managed Chromium tool with live view, recording and replay. Deno documents no browser or desktop; you install one yourself with apt-get. boat streams a Linux desktop with Chrome at 1920x1080, 60 fps, with computer-use tools.
Try boat
Install the CLI, then run boat new.
7-day free trial