Skip to main content

AI providers

Wiggum requires an API key from one of these providers:
Set your Anthropic API key:
Or use the config command:
Anthropic is the default provider. Models: opus, sonnet.
API keys are stored in .ralph/.env.local and never leave your machine.

Coding agent configuration

Wiggum supports multiple coding agents for the Ralph loop. Configure which agent runs each phase:

Setting the default agent

You can mix agents — e.g. Codex for implementation and Claude Code for review:

Per-run overrides

Override the agent for a single run without changing the config:

Optional services

These services enhance wiggum’s analysis during the scan and interview phases:

Generated files

Running wiggum init creates a .ralph/ directory:

Loop configuration

The ralph.config.cjs file controls all loop behavior:

Iteration limits

Override per-run:

Models

Override per-run:

Agent selection

Claude Code settings

Permission modes:

Codex CLI settings

Sandbox levels: Approval policies:

Other options

Agent configuration

The agent section in ralph.config.cjs controls agent mode behavior:
Agent-specific flags (--labels, --issues, --max-items, etc.) are passed at runtime. See the agent command reference.

Full config example