{
  "data": null,
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/niches/code-sandboxes.coding-agent-workspace/",
    "json": "https://www.anchorterminal.com/niches/code-sandboxes.coding-agent-workspace/index.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/niches/code-sandboxes.coding-agent-workspace/index.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/niches/code-sandboxes.coding-agent-workspace/index.min.md"
  },
  "markdown": "Two or three companies' docs show a full fit.\n\n| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |\n| --- | --- | --- | --- | --- |\n| 2 | 16 | 24 | 21 | 11 |\n\n## What counts as done\n\nThe harness starts inside the sandbox with git and the language toolchain available, the task runs to a commit or a diff that is returned or pushed, the session survives the agent thinking for 15 minutes without being stopped, and output streams to the caller.\n\nHow agents ask for it: run Claude Code on this repo in the cloud; let Codex work on this branch somewhere safe; ship this fix from my phone; run the tests the agent wrote\n\n## Does the job\n\nThe docs show it meets the test above, and nothing we read says otherwise.\n\n- **Agent 37 Cloud (Agent 37 Inc.)**: Templates ship Hermes, Claude Code, Codex, OpenCode and other harnesses with git; auto_sleep is off by default so nothing stops a long run; exec runs in the background and turns stream over POST /v1/responses. A launch-thread user found setup easy.\n- **Freestyle (Freestyle Cloud Inc.)**: Ubuntu base snapshots ship Node, Bun, Python, Docker, git and coding agents on PATH; there is no idle timeout unless set, exec runs up to 24 hours on updated guests, and PTY sessions stream output.\n\n## Does the job, with a limit\n\nIt does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.\n\n- **Blaxel Sandboxes (Blaxel, Inc.)**: Claude Code and Codex tutorials, Dockerfile images and volumes exist, but a sandbox with no open connection goes to standby in about 15 seconds, freezing a thinking harness unless it runs with keepAlive and timeout 0. Broccoli runs one-shot coding jobs on it.\n- **Celesto (formerly SmolVM) (Celesto AI, Inc.)**: Persistent computers with files and state across sessions run on the owner's machine or Celesto Cloud, and nothing stops a long run, but no harness image, git toolchain or output streaming is documented.\n- **Cloudflare Sandbox SDK (Cloudflare, Inc.)**: The coding-agent runner guide clones a repo, runs Claude Code in the background and returns a diff, but code inside does not count as activity: the instance stops at the inactivity timeout unless an alarm keeps it, and it bills while running.\n- **Daytona (Daytona Platforms Inc.)**: Snapshots build from any Docker image and volumes persist, but the 15-minute auto-stop default fires even with processes running; set autoStopInterval 0. One team built a janitor and session store around crashes (HN 47320329); issue 5154 reports buffered activity ignored.\n- **Deno Sandbox (Deno Land Inc.)**: A user runs Claude Code in yolo mode inside a snapshot-based sandbox, but the maximum lifetime is 30 minutes, there is no custom image, and the volume and snapshot CLI had sharp edges (missing --from).\n- **E2B (FoundryLabs, Inc.)**: A Claude Code template installs the CLI on a Node image with git, but Hobby sandboxes stop after 1 hour of continuous running (24 hours on Pro at $150 a month), and the 5-minute default timeout kills unless set or on_timeout is pause. Workboxes runs OpenCode sessions on it.\n- **InstaVM (Checksum Labs, Inc.)**: Snapshots from any OCI image, volumes and SSH exist, but no lifetime, idle or streaming behaviour was documented on the pages read, and the Free plan runs 5 VMs.\n- **Maritime (Maritime AI, Inc.)**: Templates for Claude Code, Codex, Hermes or any Docker image, /data kept, exec detached up to 3,600 seconds. Idle sleep counts API activity, not guest work, so set --idle high or the harness is snapshotted mid-run.\n- **Modal Sandboxes (Modal Labs, Inc.)**: Any registry image and volumes, but the 5-minute default and 24-hour maximum lifetime mean snapshotting and restarting for long work, as Restate's durable agent does; a codex exec in an A100 sandbox hit the orphan bug.\n- **Morph Cloud (Morph Labs, Inc.)**: Pause keeps memory and ttl_action pause avoids losing work, but no harness image, idle setting for plain instances or output streaming was documented, and compute needs a paid plan.\n- **SPACE (Perplexity AI)**: Templates such as seed:latest, suspend after six idle hours by default rather than kill, and ECW accepts the E2B Python SDK, but no harness template or git toolchain is documented and only Python is tested.\n- **Runloop Devboxes (Runloop AI, Inc.)**: Blueprints from a Dockerfile, an OpenCode tutorial, gateways for Claude Code and Codex, and no idle action by default, but trial keep-alive is 1 hour and the service ends.\n- **Sandbox0 (Lougao, LLC)**: Digest-pinned OCI images and a coding-agents guide with Codex, Claude Code and OpenCode, but a ttl pause is filesystem-only and discards processes; memory pause is experimental.\n- **Sprites (Fly.io, Inc.)**: Ubuntu 25.10 ships Claude CLI, Codex, Cursor and git, but a Sprite pauses when nothing is using it, so a thinking agent needs a Tasks API hold with a heartbeat. One user left because Claude Code needed a login for every feature.\n- **Together Code Sandbox (Together Computer, Inc.)**: A Dockerfile snapshot carries git and a toolchain and a sandbox runs until terminated, but every port is public without the experimental policy, and access is by request to Together.\n- **Vercel Sandbox (Vercel Inc.)**: The universal image ships Node, Python and coding agents and persistence keeps the filesystem, but Hobby sessions end at 45 minutes (24 hours on Pro). VoicePatch runs the Claude Agent SDK in it.\n\n- not this job: Amazon Bedrock AgentCore Code Interpreter (Amazon Web Services, Inc.): Pre-built Python, Node and Deno runtimes only, no custom image, and session files are removed at the end; a harness with git and a toolchain is not what the service has.\n- not this job: DeltaBox Lite (DeltaBox (delta-box)): A local runtime for a developer's machine; there is no cloud box, hosted session or streaming service.\n- not this job: Microsoft Execution Containers (Microsoft Corporation): An SDK that embeds in an application on the user's machine; no cloud box, session or streaming service.\n- not this job: Offscreen (Mark Phelps (individual)): A per-job macOS VM for UI tests on the developer's Mac, not a cloud box for a harness.\n\n## What stops agents finishing\n\n- a 15-minute idle default stops the sandbox while the model is still thinking (Daytona)\n- session caps on free tiers: 45 minutes on Vercel Hobby, 1 hour on E2B Hobby, 30 minutes on Deno\n- the harness needs a browser login inside the box every time (Sprites account)\n- the harness crashes in streaming mode and the caller must build session storage and cleanup (Daytona account)\n\n## Around it\n\nBefore: agent-harnesses.start-session, search.find-url. After: agent-harnesses.open-pull-request, code-sandboxes.dev-server-preview.\n\n## Where this comes from\n\nWeight 21 of 100 in Code execution sandboxes: 11 of 53 mentions, the joint largest group. Nine Hacker News accounts and one GitHub issue describe running Claude Code, Codex, OpenCode or a Claude Agent SDK loop inside Daytona, Modal, Sprites, Vercel, E2B or Agent37.\n\nAs data: https://www.anchorterminal.com/api/v1/use-cases/code-sandboxes.coding-agent-workspace.json, or the MCP tool get_use_case with id code-sandboxes.coding-agent-workspace. Draft, read 2026-11-12 from public docs and first-hand accounts, not yet reviewed by a person.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-16",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.8",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "For agents",
        "url": "https://www.anchorterminal.com/agents/"
      },
      {
        "name": "Niches",
        "url": "https://www.anchorterminal.com/niches/"
      },
      {
        "name": "Run a coding agent harness on a repository in a cloud box",
        "url": ""
      }
    ],
    "description": "Run a coding agent harness on a repository in a cloud box: 2 companies fully do it, 16 with a limit, 24 carry the tag. Every listing in Code execution sandboxes with the reason and a source.",
    "facts": null,
    "h1": "Run a coding agent harness on a repository in a cloud box",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/niches/code-sandboxes.coding-agent-workspace/",
    "published": "",
    "section": "agents",
    "title": "Run a coding agent harness on a repository in a cloud box | Anchor…",
    "toc": null,
    "updated": "2026-11-15",
    "url": "https://www.anchorterminal.com/niches/code-sandboxes.coding-agent-workspace/"
  },
  "tokens": {
    "markdown": 2000,
    "slim": 380
  },
  "version": 1
}
