You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ npm install -g codebuff
35
35
36
36
Run:
37
37
38
-
```
38
+
```bash
39
39
cd your-project
40
40
codebuff
41
41
```
@@ -48,9 +48,17 @@ Then just tell Codebuff what you want and it handles the rest:
48
48
49
49
Codebuff will find the right files, makes changes across your codebase, and runs tests to make sure nothing breaks.
50
50
51
-
### Create custom agents
51
+
## Create custom agents
52
+
53
+
To get started building your own agents, run:
54
+
55
+
```bash
56
+
codebuff init-agents
57
+
```
58
+
59
+
You can write agent definition files that give you maximum control over agent behavior.
52
60
53
-
You can create specialized agents for your workflows using TypeScript generators for more programmatic control.
61
+
Implement your workflows by specifying tools, which agents can be spawned, and prompts. We even have TypeScript generators for more programmatic control.
54
62
55
63
For example, here's a `git-committer` agent that creates git commits based on the current git state. Notice that it runs `git diff` and `git log` to analyze changes, but then hands control over to the LLM to craft a meaningful commit messagea and perform the actual commit.
@@ -117,9 +126,11 @@ Learn more about the SDK [here](https://www.npmjs.com/package/@codebuff/sdk).
117
126
118
127
## Why choose Codebuff
119
128
129
+
**Deep customizability**: Create sophisticated agent workflows with TypeScript generators that mix AI generation with programmatic control. Define custom agents that spawn subagents, implement conditional logic, and orchestrate complex multi-step processes that adapt to your specific use cases.
130
+
120
131
**Any model on OpenRouter**: Unlike Claude Code which locks you into Anthropic's models, Codebuff supports any model available on [OpenRouter](https://openrouter.ai/models) - from Claude and GPT to specialized models like Qwen, DeepSeek, and others. Switch models for different tasks or use the latest releases without waiting for platform updates.
121
132
122
-
**Deep customizability**: Create sophisticated agent workflows with TypeScript generators that mix AI generation with programmatic control. Define custom agents that spawn subagents, implement conditional logic, and orchestrate complex multi-step processes that adapt to your specific use cases.
133
+
**Reuse any published agent**: Compose existing [published agents](https://www.codebuff.com/agents) to get a leg up. Codebuff agents are the new MCP!
123
134
124
135
**Fully customizable SDK**: Build Codebuff's capabilities directly into your applications with a complete TypeScript SDK. Create custom tools, integrate with your CI/CD pipeline, build AI-powered development environments, or embed intelligent coding assistance into your products.
0 commit comments