• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
valdottown

valdottown

Townie

AI assistant that can edit your vals
Public
Like
47
Townie
Home
Code
10
.vscode
1
backend
5
frontend
7
prompts
2
.cursorrules
.vtignore
README.md
TODOs.md
deno.json
H
index.ts
Branches
17
Pull requests
1
Remixes
88
History
Environment variables
13
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/28/2025
Viewing readonly version of main branch: v154
View latest version
README.md

Townie

Townie is an AI-powered development assistant that lets you edit Val Town projects using Claude 4 Sonnet.

Features

Townie uses agentic tool-calling, taking many read, write, testing steps autonomously when carrying out your instructions.

  • AI-Assisted Editing: Chat with Claude 4 Sonnet about your code and let it make changes directly to your project files
  • Branch Management: View, select, and create branches without leaving the app
  • Sound Notifications: Get alerted when Claude finishes responding
  • Mobile-Friendly: Works on both desktop and mobile devices

How It Works

  1. Login: Authenticate with your Val Town API token and Anthropic API key
  2. Select a Project: Choose which Val Town project you want to work on
  3. Select Files: Browse your project files and select which ones to include in the context window
  4. Chat with Claude: Describe what you want to build or modify, and Claude will help implement it
  5. Branch Management: Create and switch between branches to organize

Developing

Townie is fully open-source and itself runs on Val Town.

To get Townie running in your Val Town account click the Remix button and then add your ANTHROPIC_API_KEY. You can leave all the other environment variables blank.

Authentication in Townie is handled via Val Town Oauth. However, we have not yet opened up our OAuth to anyone else, which currently makes it very awkward to use your own Townie. Here is a temporary workaround:

  1. Login to the official Townie
  2. Copy your _session cookie (via the Application tab in the Developer Tools)
  3. Add in that _session cookie in your personal Townie

If you have any questions, please reach out at townie@val.town. We're happy to help.

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.