snarktank/ralph

Ralph is an autonomous AI agent loop that runs repeatedly until all PRD items are complete.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 37 minutes ago
Added to GitGenius on September 1st, 2026
Created on January 7th, 2026
Open Issues & Pull Requests: 74 (+0)
GitHub issues: Enabled
Number of forks: 2,090
Total Stargazers: 21,728 (+1)
Total Subscribers: 116 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 38.0 hours
Mean response time: 14.7 days
90th percentile: 60.8 days
Tracked items: 29

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 10% of issues opened in the past year have been closed. Three people close 50% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 33
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 192 days
Stale 30+ days: 33
Stale 90+ days: 28

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 2

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

Ralph is an autonomous AI agent loop that repeatedly executes coding tasks until all requirements are complete.

Ralph addresses the problem of breaking down large features into manageable pieces and executing them autonomously. It works by reading a structured PRD in JSON format, selecting the highest-priority incomplete user story, spawning a fresh AI coding agent instance to implement that story, running quality checks, committing successful work, and updating progress before repeating. Memory persists across iterations through git history, a progress file that captures learnings, and the PRD JSON that tracks which stories have passed their quality checks. Each iteration runs with clean context, preventing context bloat while maintaining continuity through these persistent artifacts.

Ralph suits developers who want to delegate feature implementation to AI coding tools while maintaining control over requirements and quality gates. It works best for projects using either Amp or Claude Code, and requires a git repository, jq, and one of those two AI tools installed and authenticated. The tool is particularly valuable for handling stories that exceed a single AI context window, since the autonomous loop can hand off work across multiple iterations. The README does not compare Ralph to alternative approaches.

The project receives issue reports primarily from outside users rather than the core team, indicating a meaningful base of real-world adopters. Maintainers typically respond to new issues and pull requests within a few days.