Skip to content

Townie

Townie is Val Town’s coding agent that can read, edit, and run your vals alongside you in the Val Town editor.

Powered by the Claude 4.5 family and our MCP server. Available on Val Town Pro and Teams plans. Click the little robot in the bottom right corner on val.town to get started.

Townie

We’re using the latest Anthropic models in the Claude 4.5 family.

  1. Opus 4.5
  2. Sonnet 4.5 (default)
  3. Haiku 4.5
  1. Normal: Townie asks you to approve before writes
  2. Plan: Townie as your read-only thinking partner
  3. Allow all edits: Townie YOLOs changes to your vals

Townie has full access to our MCP server, so it can do almost anything you as a user can do.

  • List, search, & create vals
  • Read, write, & run files
  • View history, create & switch branches, revert versions
  • Query your SQLite databases & Blob storage
  • Read & write environment variables
  • Read logs
  • Read & configure cron jobs

Our system prompt is public. It provides Townie full context on how to use the Val Town platform—e.g. available tools, the Val Town runtime, our standard library, different types of vals, etc.

You can open Townie with ⌘J. The following slash commands are available:

  • /cost Show estimated cost and usage
  • /context Show context window usage
  • /compact Summarize older messages to save context
  • /clear Start a new chat

You can view your Townie chat history in settings to read and continue old chats.

As when coding without AI, you can use Val Town’s versioning and collaboration tools like branching, remixing, PRs, and version history to safely work with Townie.

Townie is available on Val Town Teams and Pro plans with $100 and $5 monthly usage included, respectively.

🟩 Teams🟨 Pro🟥 Free
$100/mo cap$5/mo capNot available

Townie is currently on v5. We wrote about why we built v5 on our blog, and before that we documented learnings from prior versions: What we learned copying all the best code assistants