GitHub Codespaces vs Agent 37
GitHub Codespaces is a dev environment for people: a Linux dev container opened from a GitHub repository in VS Code or the browser, which stops after 12 hours at most. Agent 37 hosts AI agents: one always-on sandbox per user behind one API, gVisor by default with an opt-in VM type, which can sleep when idle and wake with its memory kept.
The companies and products
GitHub Codespaces
GitHub Codespaces is GitHub's cloud development environment: a ready-to-code Linux machine for a repository, opened in the browser, VS Code or the GitHub CLI.
Codespaces is a different kind of product from boat: a dev environment for people who work on a GitHub repository, not a sandbox API for agents. Each codespace is a Docker container built from the repo's dev container config. It runs on its own newly built VM on Azure, with 2 to 32 cores. It is built for developers and teams who want every contributor to start from the same setup, with prebuilds, port forwarding and GitHub billing.
Agent 37
Agent 37 hosts AI agents, one isolated, always-on sandbox per user, behind one API.
You create an instance from a template (Hermes, OpenClaw, Claude Code, Codex, OpenCode, Pi, Grok or your own Docker image) and talk to it through a chat API, files, exec, SSH and HTTPS URLs. The default instance is a container enforced by gVisor. A VM type gives a full Linux machine with its own kernel for Docker, Kubernetes and Android emulators. It is built for companies that give each of their customers an agent.
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. “290th cheapest of 365” means 289 of the other 364 providers run 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 | GitHub Codespaces: price rank | Agent 37: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Codespaces gives an agent Docker in a dev container through a dev container feature, but stops it at 12 hours. Agent 37 runs Docker on its VM type, at 2.5x its default compute rate and with no init system. boat has Docker, systemd and /dev/kvm on every sandbox. | 290th of 365, with limits $4,618 a month | 4th cheapest of 365 $551 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Agent 37 is built for this, with one assistant per user that sleeps when idle and wakes with its memory. Every codespace stops after 12 hours at most, so an always-on agent there needs a restart script. On boat you turn auto-stop off on a paid plan (default 1 hour). | 320th of 361, with limits $6,970 a month | Cheapest of 361 $279 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 Agent 37's small default sandboxes suit short code runs. Each codespace builds a dev container on a new VM. boat's $20 plan includes 12 starts a minute and 200 a day, and extra starts cost $0.03 to $0.07. | 283rd of 336, with limits $619 a month | Cheapest of 336 $22 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 GitHub does not publish how many codespaces can run at once. Agent 37 allows up to 1,000 awake instances once you have topped up $1,000; sleeping and stopped ones do not count. boat plans run 100 to 2,000 at once, with start limits per plan. | 276th of 349, with limits $1,964 a month | Cheapest of 349 $79 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 | 276th of 349, with limits $9,489 a month | 9th of 349, with limits $363 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 | 295th of 359, with limits $1,519 a month | Cheapest of 359 $58 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 Codespaces starts each run from a repo or a prebuild built by GitHub Actions. Agent 37 forks an instance's disk, and boat forks a running sandbox from its last 1-minute snapshot; each boat fork counts as a start. | 317th of 374, with limits $909 a month | 227th of 374, with limits $96 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Codespaces is a polished VS Code box per repo but stops after 12 hours at most. Agent 37 and boat both keep a machine and its disk around the clock; on boat you turn auto-stop off. | 144th of 371, with limits $270 a month | 3rd cheapest of 371 $12 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 A codespace can add a basic noVNC desktop through the desktop-lite dev container feature, which you set up yourself. Agent 37 offers a noVNC desktop through a template build or its Ubuntu VM template. Neither documents a computer-use API. boat streams a 1920x1080, 60 fps desktop with computer tools. | 297th of 367, with limits $1,367 a month | 3rd cheapest of 367 $120 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 | 306th of 356, with limits $678 a month | 47th of 356, with limits $29 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 | 324th of 343, with limits $922 a month | Cheapest of 343 $32 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 | 279th of 327, with limits $18,637 a month | 39th of 327, with limits $648 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 Agent 37 and boat can both fork one prepared machine into many; both copy the disk, not the memory. On Codespaces every copy is created again from the repository or a prebuild. | 284th of 351, with limits $445 a month | Cheapest of 351 $43 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 | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | GitHub Codespaces | Agent 37 | boat |
|---|---|---|---|
| Isolation | A Docker container on its own newly built VM, with its own virtual network | gVisor sandbox by default; full VM with its own kernel as an opt-in type | Every sandbox is a full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared |
| How long it runs | Stops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in use | No time limit; runs until you stop it or it sleeps on idle | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Docker inside | Docker inside the dev container through a dev container feature, with sudo | On the VM type, at 2.5x the default compute rate; the default gVisor type cannot run a Docker daemon | Docker, root and systemd in every sandbox |
| Nested virtualization | /dev/kvm and nested virtualization are not documented | /dev/kvm on the VM type, with a ready Android template | /dev/kvm in every sandbox, Android emulator works |
| Sleep when idle | Stops on idle (30 minutes by default); files are kept, running processes end | Opt-in auto-sleep after a quiet period (default 15 minutes), memory checkpointed, wakes on the next request | No idle timer; auto-stop runs from creation or resume; disk kept on stop, a resume is like a reboot |
| Fork and snapshots | No copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuild | Fork a running, stopped or sleeping instance (disk copy, boots fresh); nightly backups in 7 slots plus one on-demand, restored in place | Fork a running sandbox from its last 1-minute snapshot (boots fresh); disk saved every minute; saved snapshots that new sandboxes start from |
| Starting point | Dev container config in the repository, with prebuilds built by GitHub Actions | Your own linux/amd64 Docker image as a template, or a ready agent template | boat's image or a saved snapshot; you cannot boot your own Docker image |
| Coding agents | GitHub Copilot as a VS Code extension; other agents you install and run yourself | Hermes, OpenClaw, Claude Code, Codex, Grok, OpenCode, Pi, with a chat API per instance | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping keys out of the sandbox | Secrets are copied into the codespace as environment variables | Managed LLM, search and Composio through a per-instance token; your own keys go in as env vars | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and any HTTPS API you register; other secrets still enter |
| Desktop and computer use | VS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite dev container feature, which you configure; no computer-use API | You set it up: noVNC desktop through a template build or the Ubuntu VM template | 1920x1080, 60 fps desktop and Chrome in every sandbox, computer tools for agents, embeddable stream |
| Reaching the sandbox | A URL per forwarded port, private, organization or public; SSH and CLI tunnels; no public IP | HTTPS URL per port, signed URLs, custom domains; no public IP, SSH through a WebSocket tunnel | Up to 50 token-gated HTTPS URLs, SSH, public IPv6; raw ports on sandboxes without their own IPv4 work over IPv6 only; the IP changes at each resume |
| CPU | 2, 4, 8, 16 or 32 cores, with 4 GB of memory per core | Shared by default; Performance type on dedicated cores at 4x the compute rate; 4 vCPU maximum on every type | Shared vCPUs on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); up to 16 vCPU |
| How many at once | Limits exist but GitHub does not publish them | Awake instances: 3 before a top-up, then 10, 50, 200 or 1,000 by total top-ups; sleeping and stopped ones do not count | 100 to 2,000 running by plan, plus included starts per minute, hour and day; extra starts are paid |
| Regions | US East, US West, Europe West and Southeast Asia | Dedicated servers in the United States | Germany, Finland and France; no region choice, no US or Asia region; snapshot copies can be stored outside the EU |
Every feature Battleships tracks (43)
| Feature | GitHub Codespaces | Agent 37 | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | No documented way | Yes | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | No documented way | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | 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 | Yes | Yes |
| Idle auto-stop | Yes | 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 | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | No documented way | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | 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 | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither GitHub Codespaces nor Agent 37 is in the public benchmarks we use, so we cannot say which is faster. Agent 37 says its default instances share host resources and sells dedicated cores on its Performance type. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). 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. GitHub Codespaces and Agent 37 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 | GitHub Codespaces, a month | Agent 37, 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 | $51 · Personal account: GitHub Free | $6 · Wallet (any top-up) | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $270 · Personal account: GitHub Free · with limits | $12 · Wallet (any top-up) | $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 | $3,019 · Personal account: GitHub Free | $329 · Wallet ($50 lifetime top-ups) | $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 | $850 · Personal account: GitHub Free · with limits | $33 · Wallet ($1,000 lifetime top-ups) | $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 | $1,889 · Personal account: GitHub Free · with limits | $73 · Wallet ($1,000 lifetime top-ups) · with limits | $8,800 · $2000/mo · with limits |
GitHub Codespaces: Codespaces bills $0.09 per core-hour while a codespace is active, used or not, plus $0.07 per GB-month of storage while it exists, stopped too. There is no 4-core machine with 8 GB, so 4 vCPU / 8 GB jobs are priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota and organizations do not.
Agent 37: Agent 37 uses a prepaid wallet with no plan fee, metered per minute: $0.80 per vCPU and $0.70 per GB of RAM per month while running, and $0.09 per GB of disk per month even while stopped or asleep. Performance compute costs 4x and VM compute 2.5x the default rate. New accounts get a one-time $5 credit after adding a card.
Agent 37: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and it does not carry over. 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; saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; each extra start costs $0.03 to $0.07.
Limits in those scenarios
Every codespace stops after 12 hours at most, so it does not fit the always-on scenario, and GitHub does not publish how many can run at once, so 300 user sandboxes and 1,000 short jobs are not confirmed. Agent 37 caps awake instances by total top-ups, up to 1,000 at $1,000; sleeping and stopped ones do not count. Its 50-agent price uses the VM type at 2.5x the compute rate, because that scenario needs Docker. In the 1,000-job burst its default type runs on shared vCPUs, which the table marks as a compromise. boat fits every scenario but that burst: the $2,000 plan includes 90 starts a minute and 2,400 a day, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. boat never queues a start.
| Scenario | GitHub Codespaces | Agent 37 | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario |
| 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 GitHub Codespaces when
your developers want a ready VS Code environment for a GitHub repository, opened from a branch or pull request, in the US, EU or Asia.
- Built into GitHub. Useful if your team lives on GitHub: open a codespace from any repo, branch or pull request, with the dev container already set up.
- Free hours for personal accounts. Useful for occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
- Regions in the US, EU and Asia. Useful if your developers are spread out: codespaces run in US East, US West, Europe West and Southeast Asia.
Use Agent 37 when
you host one mostly idle assistant per customer in the US that should sleep with its memory kept and wake on the next message.
- Sleeps when idle and keeps its memory. Useful for assistants that sit idle most of the day: an instance sleeps, keeps its memory and wakes on the next message.
- Built to host one agent per customer. Useful if you give each customer an agent: templates for Hermes, OpenClaw, Claude Code and others, with a chat API per instance and forks.
- A small bill for idle agents. Useful when budget matters: a prepaid wallet billed per minute with no plan fee, and the lower bill of the two in every scenario we priced.
Where boat fits
Codespaces is made for people editing a repository, and Agent 37 for hosting mostly idle assistants. If your code starts agents that do heavy work for hours, like installs, builds, Docker and emulators, look at boat: every sandbox is a full VM by default that keeps its disk between runs and can be forked while it runs.
A full VM with Docker and /dev/kvm by default
Codespaces gives Docker in a dev container but documents no /dev/kvm. Agent 37's default gVisor type cannot run Docker; its VM type can, at 2.5 times the default compute rate, with no init system, so you start services from your entrypoint. Every boat sandbox has Docker, systemd and /dev/kvm.
Work that keeps running and can be forked
A codespace stops at 12 hours even while in use, so you need a restart script, and its processes end. Agent 37 forks an instance's disk and backs it up nightly. boat saves the disk every minute, forks a running sandbox and runs with no session cap once auto-stop is off. A boat resume is like a reboot: memory is not saved.
Keys stay outside, for any API
Codespaces copies secrets in as environment variables, and Agent 37 keeps the keys for its own managed models, search and Composio outside. boat's optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) keeps real keys for model providers and any HTTPS API you register outside; other secrets still enter.
Use boat when your code starts and drives agents that work for hours: full VMs with Docker, systemd and /dev/kvm by default, a 60 fps desktop, HTTPS URLs, forks of running machines and an optional proxy that keeps keys outside. Compare it one to one: boat vs GitHub Codespaces and boat vs Agent 37.
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 GitHub Codespaces cheaper than Agent 37?
No. In every scenario we priced, Agent 37 is lower. One coding agent on workdays is $6 a month on Agent 37 against $51 on Codespaces, and 50 agents in parallel are $329 against $3,019. boat comes in at $20 and $317 for those two.
Which is faster, GitHub Codespaces or Agent 37?
Neither is in the public benchmarks we use, so we cannot say which is faster. Agent 37 sells dedicated cores on its Performance type for steady speed. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on an AMD Ryzen 9 9950X host.
Can I run an AI agent 24/7 on GitHub Codespaces or Agent 37?
Not on Codespaces without restarts: a codespace stops after 12 hours at most, even while in use. Agent 37 has no time limit and can sleep on idle. A boat sandbox auto-stops after 1 hour by default; on a paid plan you can turn auto-stop off for no session cap.
Can GitHub Codespaces and Agent 37 run Docker?
Codespaces runs Docker inside the dev container through a dev container feature, and you have sudo. Agent 37 runs Docker on its VM type, at 2.5x the default compute rate. Every boat sandbox has Docker, systemd and /dev/kvm.
Where do GitHub Codespaces and Agent 37 run?
Codespaces runs in US East, US West, Europe West and Southeast Asia. Agent 37 runs on dedicated servers in the United States. boat runs on machines in Germany, Finland and France, and you cannot pick a region. Snapshot copies can be stored outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs GitHub Codespaces
- boat vs Agent 37
- E2B vs GitHub Codespaces
- Daytona vs GitHub Codespaces
- Modal vs GitHub Codespaces
- Vercel Sandbox vs GitHub Codespaces
- Cloudflare Sandbox vs GitHub Codespaces
- Blaxel vs GitHub Codespaces
- Runloop vs GitHub Codespaces
- Tensorlake vs GitHub Codespaces
- Morph Cloud vs GitHub Codespaces
- CodeSandbox SDK vs GitHub Codespaces