Welcome! Let's get you set up with Codebuff, the AI coding agent.
Installation
Install Codebuff globally using npm:
Basic Usage
Start using Codebuff in your project directory:
Or, start a new project with one of our :
That's it! Codebuff is now ready to help you with your coding tasks.
What can Codebuff be used for?
Our users use Codebuff to write frontend and backend code in every major language and framework. It can write features, tests, and scripts, and more.
You can also use Codebuff to run CLI commands, configure your build, review your code, or answer questions on your codebase.
What should I try first?
Try tinkering with a simple project from one of our or , e.g.:
Or:
Do you store my data?
We don't store your codebase. Our server is a thin client that passes data along to OpenAI and Anthropic. We store portions of your chats to help us debug. Soon, we plan to support a Privacy Mode where none of your data at all is stored.
Can I trust Codebuff with full access to my terminal?
None of our users have had significant issues so far. However, if you prefer an extra layer of safety, we made a that you can use. It'll set up Codebuff in an environment that's isolated from your filesystem and only has the code you want to share.
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 typically will not create 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.
Why does Codebuff cost more?
Compared to alternatives, 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 or !