Ralph — snarktank
Tool for autonomous development iterations · Free
A minimal PRD-driven coding-agent loop: tasks and progress are stored in files, and each iteration receives fresh context.
Also known as: snarktank/ralph

What you can use for free
You can use the code under the stated license; servers, APIs, and compute must be provided separately.
Paid features and costs
Agent subscriptions and model APIs are billed separately.
Access and limitations
You can use the code under the stated license; servers, APIs, and compute must be provided separately. Agent subscriptions and model APIs are billed separately.
Use cases
- Split the PRD into small tasks with completion criteria.
- Check one iteration in a separate branch and inspect the progress and diff.
Example workflow
A possible workflow; this is not a report of hands-on testing.
A minimal PRD-driven coding-agent loop
Before you start
- A PRD, a repository, and testing commands.
Steps
- Split the PRD into small tasks with completion criteria.
- Check one iteration in a separate branch and inspect the progress and diff.
- Compare the result with the workflow's goal; after changing the project, run its standard checks.
Check your result
- Tasks are completed according to tests; saved progress matches the code.
- Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.
Choosing Ralph — snarktank
Split the PRD into small tasks with completion criteria.
Choose this when
- Split the PRD into small tasks with completion criteria.
- Check one iteration in a separate branch and inspect the progress and diff.
Requirements
- An installed and authorized Amp or Claude Code, jq, and a git repository.
Things to consider
- Costs and limits of free use: Agent subscriptions and model APIs are billed separately.
- Terms of use: MIT for the code and instructions in this repository; integrated products have separate licenses.
- The passes status reflects configured checks; a large story and weak acceptance criteria can produce an incorrect completion assessment.
Frequently asked questions
What can you use for free in Ralph — snarktank?
You can use the code under the stated license; servers, APIs, and compute must be provided separately.
What additional costs might arise with Ralph — snarktank?
Agent subscriptions and model APIs are billed separately.
What terms of use matter for Ralph — snarktank?
MIT for the code and instructions in this repository; integrated products have separate licenses.
How do you get started with Ralph — snarktank?
Split the PRD into small tasks with completion criteria. Check one iteration in a separate branch and inspect the progress and diff. Compare the result with the workflow's goal; after changing the project, run its standard checks.
How does Ralph preserve progress if each iteration starts with fresh context?
The loop restarts Amp or Claude Code. Memory between iterations is stored in git history, progress.txt, and prd.json. After choosing a story, the workflow runs typecheck/tests, commits on success, and updates passes; work stops when stories are complete or the iteration limit is reached. The README recommends small stories and real feedback checks.
License
MIT for the code and instructions in this repository; integrated products have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Ralph — snarktank
- snarktank
- Ralph loop