Agent Sandboxesagentsandboxes.org
Sandbox profile · Hosted platform

Val Town

Answer in brief

A hosted TypeScript runtime where "vals" (HTTP endpoints, crons, email handlers) deploy to live URLs in about 100 ms, run under Deno permissions with no filesystem or subprocess access, and are built with or by agents via MCP and a CLI. A deployment target for agent-written TypeScript services rather than a workspace sandbox; excellent for webhooks and MCP servers, unsuitable for shell-level agent work.

By the Agent Sandboxes editors · Updated

Overview

Val Town describes itself as "Instant deployments for you & your agents": a hosted platform where developers and AI agents write TypeScript "vals" that run as HTTP endpoints, scheduled crons, email handlers or scripts and go live at a public URL. Code runs on Deno (currently Deno 2.9.x with TypeScript 5.9) with a locked-down permission set — network and secrets allowed, filesystem, subprocesses, FFI and high-resolution timers denied — which Val Town documents as its sandbox. A 2024 engineering post describes the fourth-generation runtime as pooled Deno subprocesses of a Node.js server; whether a container or VM sits beneath that is not documented.

Agents reach it through the official MCP server, the @valtown/vt CLI (clone, push, pull, watch, create, remix), the @valtown/sdk TypeScript library and a REST API, with setup guides for Claude Code, Codex, Cursor and others. State lives in a per-user SQLite database and S3-style blob storage rather than a filesystem. Limits are plan-based: 1-minute runs and 15-minute crons on Free, 10-minute runs and 1-minute crons on Pro ($21/month). It is a deployment runtime rather than a general shell sandbox: no arbitrary binaries, no filesystem, no GPU.

Notable

  • Pro plan is $21/month with 10-minute wall-clock runs and 1,000,000 runs per day; Business starts at $167/month.
  • Runtime limits per val: 1,000 files and 100 branches; binary files are not supported.
  • Val Town's own docs recommend the Val Town plugin or MCP server over the vt CLI for agents because the MCP server has more tools.

Val Town specifications

AttributeDetails
IsolationDeno process per val with a restricted permission set: --allow-net and env (secrets) on; filesystem read/write, subprocess execution (--allow-run), FFI and high-resolution time denied; the 2024 engineering blog describes "temporary Deno subprocesses" from a pre-initialised pool; no container or VM layer is documented
DeploymentHosted platform
Open sourceNo
SDKs and interfacesJavaScript/TypeScript, CLI, REST API, MCP server
Cold start (vendor claim)Homepage claims vals are "Deployed to the web in 100ms"
Max session lengthWall-clock time per run: 1 minute (Free), 10 minutes (Pro); Business and Enterprise not listed
PersistenceVals are persistent deployed code with version history and branches; no filesystem — state goes to the built-in SQLite database or blob storage (10 MB SQLite free, up to 1 GB paid); in-memory state persists only until a val is restarted
GPUNo — JavaScript/TypeScript runtime only
NetworkingOutbound HTTP allowed (--allow-net); every HTTP val gets a public live URL; custom domains on paid plans
PricingFree $0; Pro $21/month (1-minute crons, 10-minute runs, 2,000 private vals, 10 custom domains, 1M runs/day); Business from $167/month (5M runs/day, unlimited custom domains); Enterprise custom
Free tierFree plan: unlimited public vals, 15-minute cron interval, 1-minute runs, 100,000 runs/day, 3-day log retention, no private vals
ComplianceNot documented
RegionsNot documented

Facts from Val Town’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.

Strengths and trade-offs

Strengths

  • You want agents to deploy webhooks, crons, small APIs or MCP servers to a live URL in one step
  • You need a TypeScript-only runtime with managed secrets, SQLite and blob storage built in
  • You are prototyping and want a free tier with unlimited public vals

Trade-offs

  • Not a general sandbox: no filesystem, no subprocesses, no arbitrary binaries, TypeScript/JavaScript only
  • Short run limits (1 minute Free, 10 minutes Pro) rule out long agent tasks
  • Isolation below the Deno permission layer is not documented; no compliance information published

Good fit for: Agents that ship small TypeScript services, webhooks, crons and MCP servers to live URLs without managing infrastructure.

How Val Town compares

SandboxIsolationOpen sourceSelf-host / BYOCCold start (vendor)Max sessionSnapshots / pauseGPUSDKs
Val TownDeno process sandboxNoNo / No100 ms deploy (claimed)1 min / 10 min (Pro)No / Not documentedNoJavaScript/TypeScript, CLI, REST API, MCP server
Cloudflare Sandbox SDKMicroVM (Containers)YesNo / No1–3 sNo fixed capYes / Not documentedNot documentedTypeScript (Workers)
Vercel SandboxFirecracker microVMNoNo / NoMilliseconds (claim)24 h (Pro)Yes / YesNot documentedJavaScript/TypeScript, Python
FreestyleVMNoNo / Not documented65 msUnlimited (paid)Yes / YesNot documentedTypeScript
WebContainersBrowser tab (WebAssembly)NoNo / Noms (claimed)Not documentedNo / NoNoJavaScript/TypeScript

See all Val Town alternatives →

Frequently asked questions

What is Val Town?
A hosted TypeScript runtime where "vals" (HTTP endpoints, crons, email handlers) deploy to live URLs in about 100 ms, run under Deno permissions with no filesystem or subprocess access, and are built with or by agents via MCP and a CLI. A deployment target for agent-written TypeScript services rather than a workspace sandbox; excellent for webhooks and MCP servers, unsuitable for shell-level agent work.
How does Val Town isolate code?
Val Town documents its isolation as: Deno process per val with a restricted permission set: --allow-net and env (secrets) on; filesystem read/write, subprocess execution (--allow-run), FFI and high-resolution time denied; the 2024 engineering blog describes "temporary Deno subprocesses" from a pre-initialised pool; no container or VM layer is documented.
Is Val Town open source?
No, Val Town is not open source.
How much does Val Town cost?
Free $0; Pro $21/month (1-minute crons, 10-minute runs, 2,000 private vals, 10 custom domains, 1M runs/day); Business from $167/month (5M runs/day, unlimited custom domains); Enterprise custom Check the official pricing page for current rates.
What are the alternatives to Val Town?
Common alternatives include Cloudflare Sandbox SDK, Vercel Sandbox, Freestyle, WebContainers. See Val Town alternatives for a full comparison.

Sources

  1. val.town
  2. val.town/pricing
  3. docs.val.town/reference/runtime
  4. docs.val.town/troubleshooting/permission-errors
  5. docs.val.town/vals/limitations
  6. docs.val.town/reference/api
  7. sdk.val.town/
  8. github.com/val-town/vt
  9. blog.val.town/first-four-val-town-runtimes
  10. blog.val.town/val-town-town

Cite this page

Agent Sandboxes. (2026). Val Town. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/val-town/

Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.