Refer a friend, and earn 500 credits per month for both of you! Learn more

Codebuff LogoCodebuff

Code at the Speed of Thought

Edit your codebase and run commands quickly, with natural language in your terminal.

Try Codebuff for free:
npm install -g codebuff

Watch a Demo

Backed by

y combinator logo
Codebuff - Better code generation than Cursor, from your CLI | Product Hunt

Revolutionize Your Coding Workflow

Whole-codebase Understanding

Ask for any change and Codebuff will find the relevant sections out of thousands of files.

10x Your Dev Productivity

Get more done when using Codebuff to write features, debug tests, refactor files, and install packages.

Fully Capable Agent in Your Terminal

Codebuff can run terminal commands, create and edit files, and more.

What Developers Are Saying

(note: some testimonials reference our previous name, "Manicode" – they refer to the same product)

As a Ruby on Rails dev this was a challenge as client want the solution in Python and Manicode has saved my skin big time as l've never used Python. So kudos.

- Anonymous, Developer

Dude you guys are building something good

Albert Lam

- Albert Lam, Founder & CEO

I'm honestly surprised by how well the product works!

Chrisjan Wust

- Chrisjan Wust, Founder & CTO

Yesterday at this time, I posted about testing Codebuff for our dark → light mode conversion. Today at 10 AM, our new light design is live in production...

Stefan Gasser

- Stefan Gasser, Founder & CEO

Just had a magical manicode moment: ... And it just worked!

Stephen Grugett

- Stephen Grugett, Founder & CEO

Just did a complete structural refactoring that would have took 4-8 hours by a human in 30 minutes using Claude (Web) to drive Codebuff to finish line. I think research in AI+AI pair programming is a must.

Omar

- Omar, Design Engineer

As a Ruby on Rails dev this was a challenge as client want the solution in Python and Manicode has saved my skin big time as l've never used Python. So kudos.

- Anonymous, Developer

Dude you guys are building something good

Albert Lam

- Albert Lam, Founder & CEO

I'm honestly surprised by how well the product works!

Chrisjan Wust

- Chrisjan Wust, Founder & CTO

Yesterday at this time, I posted about testing Codebuff for our dark → light mode conversion. Today at 10 AM, our new light design is live in production...

Stefan Gasser

- Stefan Gasser, Founder & CEO

Just had a magical manicode moment: ... And it just worked!

Stephen Grugett

- Stephen Grugett, Founder & CEO

Just did a complete structural refactoring that would have took 4-8 hours by a human in 30 minutes using Claude (Web) to drive Codebuff to finish line. I think research in AI+AI pair programming is a must.

Omar

- Omar, Design Engineer

As a Ruby on Rails dev this was a challenge as client want the solution in Python and Manicode has saved my skin big time as l've never used Python. So kudos.

- Anonymous, Developer

Dude you guys are building something good

Albert Lam

- Albert Lam, Founder & CEO

I'm honestly surprised by how well the product works!

Chrisjan Wust

- Chrisjan Wust, Founder & CTO

Yesterday at this time, I posted about testing Codebuff for our dark → light mode conversion. Today at 10 AM, our new light design is live in production...

Stefan Gasser

- Stefan Gasser, Founder & CEO

Just had a magical manicode moment: ... And it just worked!

Stephen Grugett

- Stephen Grugett, Founder & CEO

Just did a complete structural refactoring that would have took 4-8 hours by a human in 30 minutes using Claude (Web) to drive Codebuff to finish line. I think research in AI+AI pair programming is a must.

Omar

- Omar, Design Engineer

As a Ruby on Rails dev this was a challenge as client want the solution in Python and Manicode has saved my skin big time as l've never used Python. So kudos.

- Anonymous, Developer

Dude you guys are building something good

Albert Lam

- Albert Lam, Founder & CEO

I'm honestly surprised by how well the product works!

Chrisjan Wust

- Chrisjan Wust, Founder & CTO

Yesterday at this time, I posted about testing Codebuff for our dark → light mode conversion. Today at 10 AM, our new light design is live in production...

Stefan Gasser

- Stefan Gasser, Founder & CEO

Just had a magical manicode moment: ... And it just worked!

Stephen Grugett

- Stephen Grugett, Founder & CEO

Just did a complete structural refactoring that would have took 4-8 hours by a human in 30 minutes using Claude (Web) to drive Codebuff to finish line. I think research in AI+AI pair programming is a must.

Omar

- Omar, Design Engineer

I finally tried composer. It's ass compared to manicode

- anonymous, Software Architect

manicode.ai > cursor.com for most code changes. I'm now just using cursor for the quick changes within a single file. Manicode lets you make wholesale changes to the codebase with a single prompt. It's 1 step vs many.

Finbarr Taylor

- Finbarr Taylor, Founder

Finally, AI that actually understands my code structure and dependencies.

Gray Newfield

- Gray Newfield, Founder & CEO

codebuff is amazing; I use it over Claude for all my coding projects now

Janna Lu

- Janna Lu, Economics PhD Candidate

Im basically hiring an engineer for 100/month, that's how I see it

Shardool Patel

- Shardool Patel, Founder & CTO

I finally tried composer. It's ass compared to manicode

- anonymous, Software Architect

manicode.ai > cursor.com for most code changes. I'm now just using cursor for the quick changes within a single file. Manicode lets you make wholesale changes to the codebase with a single prompt. It's 1 step vs many.

Finbarr Taylor

- Finbarr Taylor, Founder

Finally, AI that actually understands my code structure and dependencies.

Gray Newfield

- Gray Newfield, Founder & CEO

codebuff is amazing; I use it over Claude for all my coding projects now

Janna Lu

- Janna Lu, Economics PhD Candidate

Im basically hiring an engineer for 100/month, that's how I see it

Shardool Patel

- Shardool Patel, Founder & CTO

I finally tried composer. It's ass compared to manicode

- anonymous, Software Architect

manicode.ai > cursor.com for most code changes. I'm now just using cursor for the quick changes within a single file. Manicode lets you make wholesale changes to the codebase with a single prompt. It's 1 step vs many.

Finbarr Taylor

- Finbarr Taylor, Founder

Finally, AI that actually understands my code structure and dependencies.

Gray Newfield

- Gray Newfield, Founder & CEO

codebuff is amazing; I use it over Claude for all my coding projects now

Janna Lu

- Janna Lu, Economics PhD Candidate

Im basically hiring an engineer for 100/month, that's how I see it

Shardool Patel

- Shardool Patel, Founder & CTO

I finally tried composer. It's ass compared to manicode

- anonymous, Software Architect

manicode.ai > cursor.com for most code changes. I'm now just using cursor for the quick changes within a single file. Manicode lets you make wholesale changes to the codebase with a single prompt. It's 1 step vs many.

Finbarr Taylor

- Finbarr Taylor, Founder

Finally, AI that actually understands my code structure and dependencies.

Gray Newfield

- Gray Newfield, Founder & CEO

codebuff is amazing; I use it over Claude for all my coding projects now

Janna Lu

- Janna Lu, Economics PhD Candidate

Im basically hiring an engineer for 100/month, that's how I see it

Shardool Patel

- Shardool Patel, Founder & CTO

FAQ

Do you store my data?

We don't store your codebase. Mostly our server is a thin client that passes data along to OpenAI and Anthropic. We store logs of your chats temporarily to help us debug. We also store portions of your chat history in our database. Soon, we plan to support a Privacy Mode where no data at all is stored.

What models do you use?

We primarily use Claude 3.5 Sonnet for the coding, and Claude 3.5 Haiku to find relevant files. We also use GPT-4o-mini as a fallback to rewrite files with an intended edit (using their fancy Predicted Outputs API).

Can I specify custom instructions for Codebuff?

Yes! We recommend you create knowledge.md files to give Codebuff more context about your codebase, like you're introducing it to another engineer. All file names ending in knowledge.md are loaded into context automatically, and you can use the files to do your own prompt engineering for Codebuff. If you do not have a knowledge.md file, Codebuff will not write one, but it will update existing knowledge.md files autonomously. The Codebuff codebase currently has a knowledge.md in almost every directory.

Can I tell Codebuff to ignore certain files?

Codebuff by default will not read files that are specified in your .gitignore. You can also create a '.codebuffignore' file to specify additional files or folders to ignore.

Help! Codebuff made a bad change, how I undo it?

Type 'undo' to remove the edits! For other cool features, type 'help' in the terminal when Codebuff is running.

Can I see the changes that Codebuff has made as a diff?

Yes! Type 'diff' after Codebuff has made a change to see the edits! For other cool features, type 'help' in the terminal when Codebuff is running.

How does Codebuff actually work?

You invoke it in your terminal with 'codebuff' and it starts by running through the source files in that directory and subdirectories and parsing out all the function and class names (or equivalents in 11 languages) with the tree-sitter library. Then, it fires off a request to Claude Haiku 3.5 to cache this codebase context so user inputs can be responded to with lower latency (Prompt caching is OP!). We have a stateless server that passes messages along to Anthropic or OpenAI and websockets to ferry data back and forth to clients. Claude 3.5 Haiku picks the relevant files, and we load them into context and Claude 3.5 Sonnet responds with the right edit.

What have other users made with Codebuff?

Many users do real work professionally on large codebases with Codebuff. You can use Codebuff to write features faster, create and run unit tests until they pass, or add integrations to new API's. Codebuff is great for any task that feels like drudge work, such as setting up OAuth or writing one-off scripts. We've also seen users build whole apps from scratch over the weekend for their teams and personal use. At the end of the day, with Codebuff you can spend more of your time thinking about architecture and design, instead of implementation details.

Can I integrate Codebuff into my app/product/system?

We currently have an alpha SDK that exposes the same natural language interface for your apps to call and receive code edits. Sign up here for early access!

Why is Codebuff so expensive?

We realize it costs a bit more than alternatives, but in exchange, Codebuff does more LLM calls using more examples from your codebase, leading to better code edits.

I have more questions!

We're happy to answer! Contact us at support@codebuff.com or join our Discord!

Ready to experience magic?