Discover and explore top open-source AI tools and projects—updated daily.
Th0rgalAutonomous coding agent loop for iterative task completion
Top 36.4% on SourcePulse
Autonomous Agentic Loop for AI Coding Agents This project provides a CLI tool that wraps AI coding agents (Claude Code, Codex, OpenCode) in a self-correcting, autonomous loop. It's designed for developers seeking to automate complex coding tasks, enabling AI agents to iteratively refine code based on previous outputs and test results, ultimately completing tasks with minimal human oversight.
How It Works
Open Ralph Wiggum implements the "Ralph Wiggum technique," creating an agentic loop where an AI coding agent repeatedly receives the same prompt. Crucially, each iteration, the agent observes the evolving codebase and Git history from its previous actions. This persistent feedback loop facilitates self-correction and incremental progress, allowing the agent to refine its work until a defined completion promise is met. The tool supports switching between different AI coding agents via a command-line flag.
Quick Start & Requirements
npm install -g @th0rgal/ralph-wiggum or bun add -g @th0rgal/ralph-wiggum.Highlighted Details
--agent claude-code), OpenAI's Codex (--agent codex), and the default OpenCode (--agent opencode).--tasks mode for breaking down complex projects into smaller, manageable, and tracked steps stored in .ralph/ralph-tasks.md.--status command provides real-time insights into active loops, iteration history, and potential struggle indicators. Mid-loop guidance can be injected using --add-context.Maintenance & Community
The provided README does not detail specific contributors, sponsorships, or community channels (e.g., Discord, Slack).
Licensing & Compatibility
Limitations & Caveats
This project is strictly a CLI-only tool and requires specific AI agent CLIs to be installed and configured. It is not suitable for tasks demanding human judgment, one-shot operations, or those with unclear success criteria. Users should set max-iterations to prevent runaway loops, and troubleshooting may involve managing potential conflicts with AI agent plugins.
3 days ago
Inactive
mikeyobrien
snarktank