Ralph is an autonomous AI agent loop that repeatedly runs Amp (an AI coding tool) until all Product Requirements Document (PRD) items are complete. Each iteration spawns a fresh Amp instance with clean context, while memory persists through git history, progress.txt, and prd.json. The workflow involves creating a PRD using a skill, converting it to JSON format, and running the Ralph script which automatically picks stories, implements them, runs quality checks, commits changes, and updates progress. Key concepts include fresh context per iteration, small task sizing, AGENTS.md updates for learnings, feedback loops through typechecking and tests, and browser verification for UI changes.

Sort: