File: agents.md | Updated: 11/18/2025
Codebuff uses specialized agents that collaborate instead of one agent doing everything. Agents spawn other agents, share tools, and pass context between tasks. Here are some of the sub-agents Codebuff uses:
Codebuff agents can be programmatically controlled using TypeScript generator functions. You can write actual code to orchestrate complex workflows, make decisions based on file contents, and add in determinism as you see fit. Instead of hoping an LLM understands your instructions you can guarantee specific behavior.
codebuff/base - Main coding assistantcodebuff/reviewer - Code reviewcodebuff/thinker - Deep thinkingcodebuff/researcher - Research & docscodebuff/planner - Planning & architecturecodebuff/file-picker - File discoveryA typical call to Codebuff may result in the following flow:
mermaid diagram
Rendering diagram...
If you say "refactor this authentication system", Codebuff might break down the task into the following steps:
Agents coordinate through the spawnerPrompt field, which helps other agents understand when and why to spawn them. This creates intelligent workflows where:
Agents can spawn other agents listed in their spawnableAgents field, creating a hierarchy of specialized helpers.
Start Codebuff in your project and run:
bash
codebuff init-agents
Toggle menu
Directory listing - 5 item(s) total