Skip to content
Kevin Liu's WikiSearch

Val Town

Serverless platform for writing and running small TypeScript functions ("vals") in the cloud, with instant deploy. Its current homepage positioning is "a nice place for JavaScript — instantly deploy from Claude Code, or any agent."

What it is

Val Town runs small TypeScript/JavaScript snippets - "vals" - as cloud functions with no infrastructure setup. A val can be an HTTP endpoint, a scheduled (cron) job, or an email-triggered handler, and it deploys the moment it is saved (run live code "as fast as you can hit ⌘S"). The model is optimized for glue code, webhooks, and small services rather than large applications: write a function, get a URL. It ships an in-platform AI pair programmer ("Townie") that edits and deploys code agentically, and MCP integration is available on every tier including free. Source: Val Town, https://www.val.town/, 2026-06-13 The platform also markets a dedicated agents surface - "build custom AI agents, deployed instantly to the web" - with examples including OpenAI Realtime API voice agents that handle tool calling and live audio. Source: Val Town, https://www.val.town/ai-agents, 2026-05-31 Common templates are growth/ops automations: weekly user-growth reports to Slack/Discord, Reddit keyword monitoring, and Stripe cancellation alerts. Shopify CEO Tobi Lütke called it "a competent implementation of something I think should exist." Source: Val Town, https://www.val.town/, 2026-06-13

Pricing and limits

Free ($0): MCP integration, unlimited public vals, 100,000 runs/day, 15-min cron intervals, 1-min wall-clock per run, 3-day log retention. Pro ($21/mo): $10/mo Townie AI credit, 2,000 private vals, 1M runs/day, 1-min cron intervals, 10-min wall-clock per run, 10 custom domains. Business (from $167/mo): $100/mo Townie credit, 5M runs/day, unlimited custom domains, team accounts, Slack Connect. Enterprise (custom): no limits, log export, SOC 2. Source: Val Town, https://www.val.town/pricing, 2026-06-13

Why it suits agent builders

  • Instant deploy - no build pipeline; a val is live on save, ideal for the fast iteration loop agents need.
  • HTTP, cron, and email triggers - the three shapes most agent plumbing needs: webhook receivers, scheduled runs, and inbound-email automation.
  • Small surface - low ceremony for the kind of single-purpose endpoints that back tools, MCP servers, and integrations.

Where it fits

Val Town is the lightweight end of the compute spectrum in Kevin's stack: where Modal Labs handles GPU-heavy inference and E2B Code Sandboxes handles agent code execution, Val Town handles small always-on TypeScript endpoints. It is a convenient place to deploy an MCP server that can then be published to Smithery or served like Remote MCP Server. Compared to Cloudflare Workers it trades raw edge scale for a faster write-and-deploy social workflow.

  • TS-native, instant deploy matches Kevin's TypeScript/Vite toolchain — no build pipeline to babysit for a one-off webhook or scheduled job.
  • Free-tier MCP integration + Townie make it a near-zero-cost place to prototype and host a remote MCP server before promoting it to heavier infra.
  • Cron + email + HTTP triggers cover the exact shapes the kevin-wiki integration recipes need (digest jobs, inbound-email capture, webhook receivers).
  • Limits to respect: 1-min wall-clock (free) / 10-min (Pro) per run means long agent loops belong on Modal Labs or E2B Code Sandboxes, not Val Town.

Timeline

  • 2026-05-31 | Tool page created. Val Town markets a dedicated AI-agents surface ("build custom AI agents, deployed instantly to the web") with Realtime API voice-agent examples, on top of its serverless vals model (HTTP, cron, email triggers, instant deploy). Source: Val Town, https://www.val.town/ai-agents, 2026-05-31
  • 2026-06-13 | Quality remediation: added homepage "deploy from Claude Code, or any agent" positioning, the Townie AI pair programmer, free-tier MCP, and primary-source pricing/limits (Free $0 / Pro $21 / Business $167 / Enterprise) with run-count and wall-clock caps. Source: Val Town, https://www.val.town/pricing, 2026-06-13