Discover and explore top open-source AI tools and projects—updated daily.
frankbriaAutonomous AI development loop for code generation
Top 33.5% on SourcePulse
Autonomous AI development loop for Claude Code with intelligent exit detection and rate limiting. Ralph enables continuous, iterative project improvement by AI, targeting developers and researchers seeking to automate coding tasks. It offers built-in safeguards against infinite loops and API overuse, streamlining AI-assisted software development.
How It Works
Ralph orchestrates an autonomous development loop using Claude Code. It reads project instructions from PROMPT.md and a prioritized task list from @fix_plan.md, then iteratively executes Claude Code. Intelligent exit detection stops the loop upon task completion, multiple "done" signals, or strong completion indicators. Safeguards include configurable rate limiting (100 calls/hour) and an advanced circuit breaker with multi-line error matching and two-stage filtering to prevent API overuse and stuck loops.
Quick Start & Requirements
./install.sh. Per-project setup using ralph-setup <project-name> or ralph-import <spec-file> <project-name>.npm install -g @anthropic-ai/claude-code), tmux (for monitoring), jq, Git.Highlighted Details
Maintenance & Community
The project is under active development (v0.9.0) with a clear roadmap towards v1.0.0, estimated within ~4 weeks. Contributions are actively welcomed, with specific areas highlighted for implementation, including expanding test coverage and developing features like log rotation and dry-run mode.
Licensing & Compatibility
Licensed under the MIT License, permitting broad use, modification, and distribution, including for commercial purposes and integration with closed-source projects.
Limitations & Caveats
Currently at version 0.9.0 with approximately 60% code coverage, indicating ongoing development. Features such as log rotation, dry-run mode, and configuration file support are still in progress. While core functionality is tested, users should anticipate potential evolving behaviors as development continues towards v1.0.0.
7 hours ago
Inactive