In Val Town you can build APIs, crons, AI agents, websites, webhooks, and many more handy automations & tools for yourself and your engineering team.
This collection of files is called a val. A val is kind of like a GitHub repo where the code is live whenever you save. Start with these files to learn the building blocks of Val Town:
0_script.ts – run arbitrary TypeScript1_http.ts – serve a website or api2_cron.ts - schedule a cron3_email.ts – receive emails