← Templates
AI Chat App
A streaming AI chat app in two files — no SDK, private by default.
Next.jsTypeScriptt2000/auto
$ npm create t2-app@latest my-app -- --template chatthen: npm install · export T2000_API_KEY=sk-... · npm run dev — free key: agents.t2000.ai
ABOUT
A Next.js chat app with a hand-written SSE relay route and a ~30-line client parser you can actually read. Your key stays server-side; the UI shows which model served each reply. Swap the system prompt and ship.
WHAT’S INCLUDED
- Streaming chat UI with a served-model badge
- SSE relay route — the last 20 turns to t2000/auto
- AGENTS.md + plans/ for any coding agent
- Per-repo privacy pin (.t2000/config.json, private by default)
Full options: create-t2-app docs