← Templates
Agent Worker
The smallest useful agent — a headless worker on t2000/auto.
TypeScriptNodet2000/auto
$ npm create t2-app@latest my-app -- --template agent-workerthen: npm install · export T2000_API_KEY=sk-... · npm start — free key: agents.t2000.ai
ABOUT
One TypeScript file that makes one router call and streams the answer to your terminal, printing the served model and route reason. Grow it into a task loop, a cron job, or a GitHub Action.
WHAT’S INCLUDED
- Headless worker script — one call, streamed
- x-t2000-served-model + route reason printed per run
- AGENTS.md + plans/ with the plan-expensive / execute-cheap recipe
- Per-repo privacy pin (.t2000/config.json, private by default)
Full options: create-t2-app docs