CodeepCodeep

Configuration

Codeep stores its configuration in ~/.config/codeep-nodejs/config.json. You can change settings via the /settings command or by editing the file directly.

API Keys

API keys are stored in the config file under providerApiKeys. You can also set them via environment variables — these take priority over stored keys.

ProviderEnvironment Variable
AnthropicANTHROPIC_API_KEY
DeepSeekDEEPSEEK_API_KEY
Google AIGOOGLE_API_KEY
Z.AIZAI_API_KEY
MiniMaxMINIMAX_API_KEY

Agent Settings

SettingDefaultDescription
agentModeonon = always use agent, manual = use /agent command
agentConfirmationdangerousalways / dangerous / never — when to ask for confirmation
agentAutoCommitfalseAutomatically commit after agent completes
agentAutoVerifyoffbuild / typecheck / test / all — run after changes
agentMaxIterations50Maximum agent loop iterations (modern models rarely need more)
agentMaxDuration20Maximum agent duration in minutes
agentMaxFixAttempts1Auto-retry attempts on incomplete work

Session Settings

SettingDefaultDescription
autoSavetrueAuto-save conversations to .codeep/sessions/
autoSessionTitletrueGenerate an LLM one-liner title per session on save. Makes a small background API call (uses the active model). Set false to avoid any unsolicited API calls.
autoSummarizeHistorytrueWhen prior history overflows the agent's context budget, summarize the dropped (oldest) messages instead of truncating them. One cheap LLM call, only on overflow, cached per session. Set false to fall back to plain truncation.
Two settings can trigger a background API call you didn't explicitly request: autoSessionTitle (the readable titles in /sessions and /recall) and autoSummarizeHistory (condensing dropped history on long runs). Both default to on; set either to false in /settings if you prefer zero unsolicited calls.

Per-project config

You can override settings per project by creating a .codeep/config.json file in your project root.

Create the .codeep/ directory manually in your project root to enable per-project config. Codeep will detect it automatically on startup.

Project Rules

Create a .codeep/rules.md or CODEEP.md file in your project root to define project-specific instructions. These are injected into every prompt automatically. See the Project Rules page for details.

# .codeep/rules.md
 
- Use TypeScript strict mode
- Always write tests for new functions
- Prefer functional components in React
- Use Tailwind for styling, no inline styles