# Ralph — snarktank

[BASE product page](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/>) · [Resource](<https://github.com/snarktank/ralph>)

ID: github\-com\-snarktank\-ralph · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A minimal PRD\-driven coding\-agent loop: tasks and progress are stored in files, and each iteration receives fresh context\.

## Type

Tool for autonomous development iterations

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-access>)

You can use the code under the stated license; servers, APIs, and compute must be provided separately\.

## [Paid features and costs](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-access>)

Agent subscriptions and model APIs are billed separately\.

## [Access and limitations](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-access>)

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](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-tasks>)

- Split the PRD into small tasks with completion criteria\.
- Check one iteration in a separate branch and inspect the progress and diff\.

## Category IDs

- ai
- quality

## Subcategory IDs

- ai\.orchestration
- quality\.testing

## Tags

- Ralph — snarktank
- snarktank
- Ralph loop

## Also known as

- snarktank/ralph

## [Selection purpose](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-selection>)

Split the PRD into small tasks with completion criteria\.

## [Choose this when](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-selection>)

- Split the PRD into small tasks with completion criteria\.
- Check one iteration in a separate branch and inspect the progress and diff\.

## [Requirements](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-selection>)

- An installed and authorized Amp or Claude Code, jq, and a git repository\.

## [Limitations](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-selection>)

- 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\.

## [Questions before use](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-faq>)

### 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\.

## Sources for the selection guide

- [https://github\.com/snarktank/ralph](<https://github.com/snarktank/ralph>)
- [https://raw\.githubusercontent\.com/snarktank/ralph/main/README\.md](<https://raw.githubusercontent.com/snarktank/ralph/main/README.md>)
- [https://raw\.githubusercontent\.com/snarktank/ralph/main/LICENSE](<https://raw.githubusercontent.com/snarktank/ralph/main/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-scenario>)

A minimal PRD\-driven coding\-agent loop

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A PRD, a repository, and testing commands\.

## Steps

1. Split the PRD into small tasks with completion criteria\.
2. Check one iteration in a separate branch and inspect the progress and diff\.
3. 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\.

## [License](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-license>)

MIT for the code and instructions in this repository; integrated products have separate licenses\.

## License explanations for the specified scope

### 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 terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/github-com-snarktank-ralph/#resource-sources>)

- [Official repository](<https://github.com/snarktank/ralph>)
- [Documentation](<https://raw.githubusercontent.com/snarktank/ralph/main/README.md>)
- [License](<https://raw.githubusercontent.com/snarktank/ralph/main/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The README and license were reviewed against public primary sources on 2026\-10\-06\. The code was not installed or run; applicability depends on the project and client versions\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
