Skip to content

Configuration

Ralph reads configuration from ralph.config.json at the project root.

{
"language": "TypeScript",
"packageManager": "pnpm",
"testingFramework": "Vitest",
"qualityCheck": "pnpm check",
"testCommand": "pnpm test",
"agent": "claude"
}
FieldDescriptionExample
languageProject languageTypeScript
packageManagerPackage manager used by the projectpnpm
testingFrameworkTesting frameworkVitest
qualityCheckCommand that must pass before committingpnpm check
testCommandCommand to run testspnpm test
agentAI coding agent to useclaude
FieldDescriptionExample
modelModel override (otherwise uses agent default)claude-sonnet-4-5-20250514
fileNamingFile naming conventionkebab-case
AgentBinaryConfig value
Claude Codeclaudeclaude
Gemini CLIgeminigemini
Codex CLIcodexcodex
Continuecncontinue
Cursorcursorcursor

The agent is auto-detected during ralph init based on which CLIs are installed. You can change it at any time by editing ralph.config.json.

Ralph does not manage agent instructions files. The loop prompt is self-contained — all methodology content, roles, and behavioral rules are injected directly into the agent session. If you want a .claude/CLAUDE.md or similar file for your own manual usage outside of ralph, that is your file to manage.