CodeBrew

Configuration

Set your API key and understand where CodeBrew reads it from.

CodeBrew needs an ANTHROPIC_API_KEY to talk to Claude. There are two ways to provide it.

Option 1: environment variable

export ANTHROPIC_API_KEY=your_key

Option 2: a .env file in your working directory

Create a .env file in the directory you run codebrew from:

.env
ANTHROPIC_API_KEY=your_api_key_here

Node.js version

CodeBrew requires Node.js 18 or higher. Run codebrew doctor to check your current version against this requirement.

Default guardrails

SettingDefaultNotes
Max turns25Stops runaway loops per session
Max budget$1.00 USDSpend cap per session
EffortmediumBalances speed and depth