{
  "data": null,
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/niches/code-sandboxes.dev-server-preview/",
    "json": "https://www.anchorterminal.com/niches/code-sandboxes.dev-server-preview/index.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/niches/code-sandboxes.dev-server-preview/index.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/niches/code-sandboxes.dev-server-preview/index.min.md"
  },
  "markdown": "Four or more 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| 9 | 7 | 24 | 6 | 3 |\n\n## What counts as done\n\nA URL that serves the dev server on the chosen port, with the access mode (public, token or signed in) stated in the response, and the URL stops working when the sandbox is destroyed.\n\nMeasured, for our own tests: the URL serves within 10 seconds of the server listening.\n\nHow agents ask for it: show me the app running; give me a URL for what the agent built; preview this branch; run the frontend so I can click through it\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.)**: Public ports give a URL anyone can open, and signed URLs give a port a token with a ttl on the authenticated edge; both are the instance's URLs and go with it.\n- **Blaxel Sandboxes (Blaxel, Inc.)**: Preview URLs route to a port, public or private with a bl_preview_token, and a deleted sandbox's preview answers 404.\n- **Daytona (Daytona Platforms Inc.)**: Preview URLs with authentication tokens are a documented feature with a custom preview proxy option; Clink gives each hosted build its own Daytona sandbox.\n- **E2B (FoundryLabs, Inc.)**: Every sandbox has a public URL per port; projects created since 30 October 2026 default to private traffic requiring a per-sandbox access token, and the URL goes with the sandbox. Generated MDX widgets are previewed this way.\n- **Freestyle (Freestyle Cloud Inc.)**: A TLS rule routes a free style.dev subdomain to a guest port, and Forward Auth checks each public request at the edge; a user testing KIND inside the box was looking at it for precisely this.\n- **InstaVM (Checksum Labs, Inc.)**: shares.create exposes a VM port on a URL, public or private with an access token, with custom domains.\n- **Modal Sandboxes (Modal Labs, Inc.)**: Tunnels expose ports; encrypted_ports use Sandbox Connect Tokens and inbound allowlists, while unencrypted ports accept any IP, and tunnels end with the sandbox.\n- **Sandbox0 (Lougao, LLC)**: Services publish a public URL with route-level auth and auto-resume, and private previews open a loopback port behind a one-time URL and cookie that expires with the grant or runtime.\n- **Sprites (Fly.io, Inc.)**: Every Sprite has an HTTPS URL, private to the org by default, switchable to public, routing to its HTTP service; it wakes the Sprite and goes with it.\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- **Celesto (formerly SmolVM) (Celesto AI, Inc.)**: expose_local() and configured port_forwards reach a guest port from the owner's machine; no public URL or access mode is offered.\n- **Cloudflare Sandbox SDK (Cloudflare, Inc.)**: Previews are served only through your Worker, which forwards /previews/\u003cname\u003e/ to the sandbox and must authenticate callers itself; the example stores expiring tokens in the Durable Object.\n- **Deno Sandbox (Deno Land Inc.)**: exposeHttp publishes any port on a random HTTPS URL that dies with the sandbox; the URL has no authentication option.\n- **Morph Cloud (Morph Labs, Inc.)**: HTTP services expose a port with auth_mode none (the default, public) or api_key.\n- **Runloop Devboxes (Runloop AI, Inc.)**: Tunnels expose a port with auth_mode open or authenticated and can wake a suspended devbox; the service is winding down.\n- **Together Code Sandbox (Together Computer, Inc.)**: Each port has a URL open to everyone unless an experimental inbound allowlist with requires_token is set at creation.\n- **Vercel Sandbox (Vercel Inc.)**: Up to 15 ports expose a public URL each via sandbox.domain(port), but no authentication option for the URL was found.\n\n## Couldn't check\n\nThe docs were closed to us, or silent. These carry no mark either way.\n\n- **Maritime (Maritime AI, Inc.)**: No port exposure or preview URL page was read for sandboxes or agent boxes.\n- **SPACE (Perplexity AI)**: No ports or preview documentation was read.\n\n- not this job: Amazon Bedrock AgentCore Code Interpreter (Amazon Web Services, Inc.): No port exposure or preview URL in the Code Interpreter pages.\n- not this job: DeltaBox Lite (DeltaBox (delta-box)): No port exposure or preview URL.\n- not this job: Microsoft Execution Containers (Microsoft Corporation): No port exposure; ingress defaults to deny.\n- not this job: Offscreen (Mark Phelps (individual)): No port exposure or URL.\n\n## What stops agents finishing\n\n- every port is public unless an experimental inbound policy is set (Together)\n- the exposed URL defaults to no authentication (Morph)\n- Cloudflare only reaches the container through the Worker you deploy\n\n## Around it\n\nBefore: code-sandboxes.coding-agent-workspace. After: browsers.screenshot-url, personal-assistants.reply-in-chat.\n\n## Where this comes from\n\nWeight 6 of 100 in Code execution sandboxes: 3 of 53 mentions (Clink builds on Daytona, generated MDX previews on E2B, a Freestyle thread request to run a Kubernetes cluster inside the box). Vendor pages for Vercel, Sprites, Morph and Freestyle all name it, so the weight is held above the count.\n\nAs data: https://www.anchorterminal.com/api/v1/use-cases/code-sandboxes.dev-server-preview.json, or the MCP tool get_use_case with id code-sandboxes.dev-server-preview. 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": "Start a dev server in the sandbox and expose a preview URL",
        "url": ""
      }
    ],
    "description": "Start a dev server in the sandbox and expose a preview URL: 9 companies fully do it, 7 with a limit, 24 carry the tag. Every listing in Code execution sandboxes with the reason and a source.",
    "facts": null,
    "h1": "Start a dev server in the sandbox and expose a preview URL",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/niches/code-sandboxes.dev-server-preview/",
    "published": "",
    "section": "agents",
    "title": "Start a dev server in the sandbox and expose a preview URL | Anchor…",
    "toc": null,
    "updated": "2026-11-15",
    "url": "https://www.anchorterminal.com/niches/code-sandboxes.dev-server-preview/"
  },
  "tokens": {
    "markdown": 1550,
    "slim": 380
  },
  "version": 1
}
