Ralphex
Extended Ralph loop for autonomous AI-driven plan execution
Install: go install github.com/umputun/ralphex/cmd/ralphex@latest
Works with Claude Code, Codex · 1,496 GitHub stars
Install
go install github.com/umputun/ralphex/cmd/ralphex@latestInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Autonomous plan execution with Claude Code and codex
ralphex is a standalone CLI tool that runs in your terminal from the root of a git repository. It orchestrates Claude Code or codex to execute implementation plans autonomously - no IDE plugins or cloud services required, just a coding agent and a single binary.
Claude Code is powerful but interactive - it requires you to watch, approve, and guide each step. For complex features spanning multiple tasks, this means hours of babysitting. Worse, as context fills up during long sessions, the model's quality degrades - it starts making mistakes, forgetting earlier decisions, and producing worse code.
ralphex solves both problems. Each task executes in a fresh Claude Code session with minimal context, keeping the model sharp throughout the entire plan. Write a plan with tasks and validation commands, start ralphex, and walk away. Come back to find your feature implemented, reviewed, and committed - or check the progress log to see what it's doing.
Task Execution Screenshot
Review Mode Screenshot
Web Dashboard Screenshot
Features
- Zero setup - works out of the box with sensible defaults, no configuration required
- Autonomous task execution - executes plan tasks one at a time with automatic retry
- Interactive plan creation - create plans through dialogue with Claude via
--planflag - Multi-phase code review - 5 agents → codex → 2 agents review pipeline
- Custom review agents - configurable agents with
{{agent:name}}template system and user defined prompts - Automatic branch creation - creates git branch from plan filename
- Plan completion tracking - moves completed plans to
completed/folder - Automatic commits - commits after each task and review fix
- Real-time monitoring - streaming output with timestamps, colors, and detailed logs
- Web dashboard - browser-based real-time view with
--serveflag - Docker support - run in isolated container for safer autonomous execution
- Notifications - optional alerts on completion/failure via Telegram, Email, Slack, Webhook, or custom script
- Worktree isolation - run multiple plans in parallel via
--worktreeflag - Multiple modes - full execution, tasks-only, review-only, external-only, or plan creation
Quick Start
Make sure ralphex is installed and your project is a git repository. You need a plan file in docs/plans/, for example:
# Plan: My Feature
## Validation Commands
- `go test ./...`
### Task 1: Implement feature
- [ ] Add the new functionality
- [ ] Add tests
Then run:
ralphex docs/plans/my-feature.md
ralphex will create a branch, execute tasks, commit results, run multi-phase reviews, and move the plan to completed/ when done (on the feature branch under --worktree).
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.