Getting started
Install the CLI
Install Codebuff globally using npm:
Codebuff requires Node.js 18 or higher. Check your version with
node --version.Navigate to your project
Change to your project directory:
Codebuff works best with Git repositories, but it’s not required.
Start Codebuff
Launch the interactive CLI:The first time you run Codebuff, you’ll be prompted to authenticate with your Codebuff account.
Give your first instruction
Try asking Codebuff to make a change to your codebase:Codebuff will:
- Analyze your codebase structure
- Find relevant files
- Make precise edits
- Validate the changes
You can also use the
/init command to create a knowledge.md file and .agents/ directory for custom agent development.First task examples
Here are some examples to try with Codebuff:Using with the SDK
If you want to integrate Codebuff into your application, install the SDK instead:Get your API key from codebuff.com/api-keys.
What’s next?
CLI Guide
Learn advanced CLI commands and workflows
SDK Guide
Build Codebuff into your applications
Agent Development
Create custom agents with specialized workflows
Custom Tools
Extend Codebuff with your own tools
Need help?
Discord Community
Get help from the community
GitHub Issues
Report bugs or request features
Email Support
Contact the team directly
Documentation
Browse the full documentation

