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.
Re-exports§
pub use state_store::RalphRunState;pub use state_store::RalphRunSummary;pub use state_store::RalphStateStore;pub use state_store::StoryResultEntry;
Modules§
- state_
store - Ralph State Store - trait and types for persistent run state
- store_
http - HTTP implementation of RalphStateStore
- store_
memory - In-memory implementation of RalphStateStore
Structs§
- Prd
- The full PRD structure
- Progress
Entry - A progress log entry
- Quality
Checks - Quality checks configuration
- Ralph
Config - Ralph configuration
- Ralph
Loop - The main Ralph executor
- Ralph
State - Ralph execution state
- User
Story - A user story in the PRD
Enums§
- Ralph
Status - Ralph execution status
- Verification
Step - A concrete verification step that must pass for a story to be marked complete.
Functions§
- create_
prd_ template - Create a sample PRD template