Skip to content

Latest commit

 

History

History

README.md

Think Coding Agent Starter

A Think coding agent on Cloudflare Workers, with a small React chat UI.

The model works in a persistent virtual filesystem using the built-in workspace tools (read, write, edit, find, grep) and has a colocated code-review skill. It also has the durable execute tool (createExecuteTool(this)): the model writes sandboxed TypeScript against state.* (the same workspace filesystem) for batch operations that would otherwise take many tool calls.

Develop

npm install
npm run dev

Open the printed URL and start chatting.

What's here

  • agents/coder/agent.ts — the agent, wired up with skills and a skill runner.
  • agents/coder/skills/ — colocated skills bundled via agents:skills.
  • src/client.tsx — a React chat client using useAgent + useAgentChat.
  • wrangler.jsonc / think.d.ts — generated by the Think framework. Re-run npm run types after changing agents or bindings.

Deploy

npm run deploy

Next steps

  • Add custom tools with getTools()
  • Give the model persistent memory with configureSession()
  • Try the other starters: npm create think -- --template coding-agent