Ralph Loop (Task JSON Loop)
Ryan Carson
Founder, Untangle
An autonomous task execution loop using JSON-based task tracking. Agent reads tasks, executes them, marks completion, and continues until all done. Named after Ralph Wiggum.
When to Use
Steps (4)
Create tasks.json
Define all tasks in a JSON file with id, description, status, and clear acceptance criteria fields.
Initialize Loop
Start the autonomous loop with instructions to read tasks.json and execute incomplete tasks one by one.
Execute and Track
Agent reads next incomplete task, executes it, runs quality checks, updates status to complete, and moves to next.
Review and Iterate
After completion, review all changes. Add new tasks if needed and restart the loop.
Tools
Related Workflows
Compound Product Workflow
by Ryan Carson
Automated product development pipeline: daily cron analyzes data, generates insights, creates PRDs, implements fixes, and opens PRs—all overnight. Wake up to improvements already implemented.
Compound Engineering Workflow
by Kieran Klaassen
Four-phase development workflow: Plan → Work → Review → Compound. Separates planning from execution, includes review cycles, and compounds improvements over time by feeding learnings back into the system.