Skip to main content

Module ralph

Module ralph 

Source
Expand description

Ralph - Autonomous PRD-driven agent loop

Implementation of Geoffrey Huntley’s ralph pattern: while :; do cat PROMPT.md | llm; done

Ralph iterates through PRD user stories, running quality gates after each, and uses RLM to compress progress when context gets too large.

Structs§

Prd
The full PRD structure
ProgressEntry
A progress log entry
QualityChecks
Quality checks configuration
RalphConfig
Ralph configuration
RalphLoop
The main Ralph executor
RalphState
Ralph execution state
UserStory
A user story in the PRD

Enums§

RalphStatus
Ralph execution status

Functions§

create_prd_template
Create a sample PRD template