Configuration Overview
Learn how to configure Ralph TUI with global, project, and CLI options.
Configuration System
Ralph TUI uses a layered configuration system that allows you to set defaults at multiple levels. Each layer can override settings from the previous layer.
Configuration files use TOML format, which is designed to be easy to read and write. All configuration is validated at runtime with helpful error messages.
Configuration Layers
Settings are loaded in this order, with later layers overriding earlier ones:
Global Config
Location: ~/.config/ralph-tui/config.toml
User-wide defaults that apply to all projects. Great for setting your preferred agent or common options.
Project Config
Location: .ralph-tui/config.toml (in project root)
Project-specific settings that override global defaults. Created automatically by ralph-tui setup.
CLI Flags
Command-line options that override everything. Useful for one-off changes or scripting.
Configuration Files
Both global and project configs use the same schema and TOML format:
File Locations
| Config Level | Path | Purpose |
|---|---|---|
| Global | ~/.config/ralph-tui/config.toml | User-wide defaults |
| Project | .ralph-tui/config.toml | Project-specific settings |
The project config is searched up from your current directory, so you can run ralph-tui from any subdirectory and it will find the config in your project root.
Quick Setup
The easiest way to create configuration is with the setup wizard:
This interactive command will:
- Detect installed agents (Claude Code, OpenCode, Factory Droid)
- Create
.ralph-tui/config.tomlwith your choices - Install bundled skills for PRD creation
- Optionally configure trackers
Viewing Configuration
To see your merged configuration (global + project + defaults):
This shows the effective configuration after all layers are merged, helpful for debugging.
Configuration Sections
Ralph TUI configuration is organized into several sections:
Core Settings
Basic execution parameters:
Agent Settings
Configure which AI agent to use:
Tracker Settings
Configure your task source:
Error Handling
Control how Ralph responds to failures:
Rate Limiting
Configure fallback behavior for API rate limits:
Next Steps
- Config File - Complete config file examples
- Options Reference - Full list of all options
- CLI Commands - CLI flag documentation