
Public
Like
4
OpenTownie
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.
Viewing readonly version of main branch: v825View latest version
OpenTownie is a Val Town Project that lets you edit other Val Town Projects with Claude 3.7 Sonnet.
It uses agentic tool-calling, taking manh read, write, and thinking steps autonomously when carrying out your instructions.
- Show reasoning in a detail
- Consider asking it to write the minimum code possible
- Add caching (post in the vercel ai discussion about how it's not working)
- For login, have a button that reloads the page
- Start a timer for messages
- Add more indicators that it's "still working"
- Require users supply their own Anthropic token?
- Add cost indications on messages
- Add a bell noise when the message is done to let us know
- Launch!
- Let it select the branch name from a dropdown
- Give it the first 200 lines of every file as initial context window
- Consider giving it a tool to replace whole files
- Persistent threads?
- Have it default to creating a new branch off main and then embedding and iframe to the resulting http val and give you a link to a pr opening url
- Rebuild as React Router?
- prompt it to use the thinking tool
- delete file command