Open Source · Apache-2.0

AI Coding Assistant that
outperforms Claude Code.

61% vs 53% on 175+ real-world coding tasks. Multi-agent architecture, any model, fully open-source.

$ npm install -g codebuff
Get Started →
~/my-project
$ codebuff

# "Add authentication to my API"

⟫ File Explorer scanning codebase...
⟫ Thinker planning changes...
⟫ Editor modifying 4 files...
⟫ Reviewer validating changes...

✓ Done. 4 files changed. Auth middleware added.

Current AI tools aren't good enough.

You've tried Claude Code, Cursor, Copilot. But after a few weeks, you realize...

Single Model = Single Point of Failure

One model does everything — read files, plan, edit code, review — the result? Lost context, wrong edits, repeated mistakes.

Context Window Too Small

Large projects? The model forgets everything. Edits conflict. Poor context pruning = poor results.

Vendor Lock-in

Claude Code = Anthropic only. Cursor = platform dependent. Can't switch models. No customization.

High API Costs

$20/month for Claude Pro. $40 for Max. Heavy usage still hits rate limits. And you still have to fix the output.

Codebuff does it differently ↓

An AI team, not a single model.

Codebuff delegates tasks to specialized agents — just like a real engineering team.

👨‍💻 You
🤖 Base2 Orchestrator
📁File Explorer
🧠Thinker
✏️Editor
🔍Reviewer
When you say "add auth to my API", Base2 Orchestrator analyzes the request, calls File Explorer to scan the codebase, Thinker plans the changes, Editor makes precise edits, and Reviewer validates the results. Each agent has its own context window — context is never lost.

Everything you need. Nothing missing.

Any Model via OpenRouter

Claude, GPT, DeepSeek, Qwen, Gemini — any model on OpenRouter. Switch models per task, no vendor lock-in. Always use the latest model as soon as it launches.

Custom Agents

Write agents with TypeScript generators. Mix AI generation with programmatic control. handleSteps()

Production SDK

Embed Codebuff into your application. npm install @codebuff/sdk

Agent Store

Publish agents, share with the community. Reuse published agents — build faster.

33 Built-in Tools

File ops, code search, terminal, agent spawning, planning — complete toolset for every coding task.

Open Source — Apache-2.0

Free forever. Fork, modify, contribute. Community-driven development.

3 steps. Done.

No complex config. No token setup. Just run it.

01

Install

Install globally via npm

npm install -g codebuff
02

Run

Run in your project directory

cd your-project && codebuff
03

Code

Tell it what you want, Codebuff handles the rest

"Fix the SQL injection bug"

Not promises. Hard data.

61%
Codebuff Pass Rate
175+ real-world coding tasks
53%
Claude Code Pass Rate
Same eval benchmark
50K+
Lines of Code
TypeScript · 8 workspaces · 85 migrations