Skip to content

Commit 828fbfd

Browse files
committed
Update some docs!
1 parent f06163b commit 828fbfd

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

web/src/content/advanced/claude-code-comparison.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,24 @@ Both Codebuff and Claude Code:
1414
- Run in your terminal for a seamless coding experience
1515
- Understand your entire codebase context
1616
- Can edit files and execute terminal commands
17-
- Use Claude 3.7 Sonnet as their primary model
18-
- Help with code generation, bug fixing, and understanding code
17+
- Use Claude Sonnet as their primary model
1918

2019
## When to Choose Codebuff
2120

2221
Codebuff might be a better choice if you value:
2322

24-
- Speed and Cost: Codebuff is [nearly 4 times faster](https://x.com/jahooma/status/1894224663817195599) and half the cost of than Claude Code for equivalent tasks
25-
- Resource Usage: [Lower CPU utilization](https://x.com/brandonkachen/status/1894108912279752979), no constant console clearing
26-
- Holistic Codebase Analysis: Codebuff pulls more context from scanning your entire codebase, rather than file-by-file. Codebuff also [blends different models](/docs/advanced#what-models-do-you-use?) based on their strengths to provide more accurate results.
27-
- Edit Precision: Makes targeted edits instead of [complete file rewrites](https://x.com/skcd42/status/1894158600513155297)
23+
- Speed: Codebuff is [nearly 4 times faster](https://x.com/jahooma/status/1894224663817195599)
24+
- Cost: Codebuff is one third the cost of Claude Code for equivalent tasks and even less for back-and-forth conversation
25+
- Codebase Analysis: Codebuff pulls more context from scanning your entire codebase, rather than file-by-file. Codebuff also [blends different models](/docs/advanced#what-models-do-you-use?) based on their strengths to provide more accurate results.
2826
- Staying in Flow: Codebuff requires fewer confirmation prompts for file edits and command execution.
27+
- Focused changes: Codebuff does just what you asked for, while Claude Code will often get carried away editing more and more files.
2928

3029
## When to Choose Claude Code
3130

3231
Claude Code might be a better choice if you:
3332

3433
- Can't use an intermediary provider, need to use the API directly from Anthropic
35-
- Prefer usage-based pricing for occasional use
34+
- Prefer usage-based pricing for occasional use (although this is coming soon to Codebuff!)
3635

3736
## Feature Comparison
3837

web/src/content/advanced/how-does-it-work.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ order: 2
99

1010
Codebuff starts by running through the source files in all subdirectories and parsing them with tree-sitter. We use this information to help find relevant files to you requests.
1111

12-
We have a stateless server that passes messages along to Anthropic or OpenAI and websockets to ferry data back and forth to clients. It effectively acts as a proxy between the client and our LLM providers.
12+
We have a stateless server that passes messages along to Anthropic, OpenAI, or Gemini and websockets to ferry data back and forth to clients. It effectively acts as a proxy between the client and our LLM providers.
1313

14-
We use a fast model to pick the relevant files, and we load them into context and Claude 3.7 Sonnet responds with the right edit. This main agent can also delegate to other agents, as when it does its planning step, or when searching for files.
14+
We use a fast model to pick the relevant files, and we load them into context Claude Sonnet responds with the right edit. This main agent can also delegate to other agents, as when it does its planning step, or when searching for files.

web/src/content/advanced/troubleshooting.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ order: 3
77

88
# Troubleshooting
99

10+
## Install failed
11+
12+
If `npm install -g codebuff` gave you an error, try using `sudo`. Otherwise, try reinstalling node with [nvm or fnm](https://nodejs.org/en/download). Then run the codebuff install command again.
13+
1014
## Accessing Your Chat History
1115

1216
Your conversation history with Codebuff is stored locally (and nowhere else) at `~/.config/manicode/projects/<your-project-name>/chats`.

web/src/content/advanced/what-models.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ order: 1
77

88
# What models do you use?
99

10-
We primarily use Claude 3.7 Sonnet for the coding, and Gemini Flash to find relevant files, and Claude 3.7 Sonnet with thinking for deep thinking.
10+
We primarily use Claude Sonnet for the coding, Gemini Flash to find relevant files.
1111

1212
Codebuff also uses [Relace AI](https://www.relace.ai/) for fast file rewrites.
1313

14-
We have two new modes, which slightly changes the above set-up, mainly to achieve higher performance (in `max`) or lower cost (in `lite`):
14+
We have two modes, which slightly changes the above set-up, mainly to achieve higher performance (in `max`) or lower cost (in `lite`):
1515

16-
- `--max`: uses Claude 3.7 Sonnet with thinking for complex problems, and does so more frequently. It also pulls more files on your codebase to better handle complex problems.
17-
- `--lite`: uses Claude 3.5 Haiku for editing instead of Sonnet (~1/3 the cost). It also pulls fewer files, meaning that the context cost will be much smaller.
18-
19-
You can use `codebuff --max` or `codebuff --lite` to set the mode at startup time!
16+
- `--max`: uses Claude Sonnet and also pulls more files on your codebase to better handle complex problems.
17+
- `--lite`: uses Claude Haiku for editing instead of Sonnet (~1/3 the cost). It also pulls fewer files, meaning that the context cost will be much smaller.

0 commit comments

Comments
 (0)