Ralph is an autonomous AI coding loop that repeatedly runs agentic development tools until every item in a product requirements document is complete. It is designed to work with Amp or Claude Code, launching a fresh AI instance on each iteration to avoid context overload. Instead of relying on one long conversation, Ralph keeps progress through git history, a structured prd.json file, and an append-only progress.txt memory file. Each run selects the highest-priority unfinished user story, implements it, runs quality checks, commits passing work, and updates the PRD status. The workflow encourages teams to split features into small, verifiable stories that fit inside a single context window. It also supports PRD generation skills, PRD-to-JSON conversion, Claude Code marketplace installation, browser verification for UI stories, and automatic archiving of previous feature runs.
Features
- Autonomous PRD execution loop
- Amp and Claude Code support
- Fresh context per iteration
- Git-based progress memory
- Automated typecheck and test workflow
- PRD skills and JSON task tracking