Stream of Consciousness

Mark Eschbach's random writings on various topics.

Ralph: A Technique Review

Categories: ai

Tags: ai workflow

Ralph is a technique named for a Simpson character, one Ralph Wiggiams, who will continue to refine something until an arbiter says it is successful.

Often the workflow goes as follows:

  • Refine a specification (often referred to as a prd)
  • Generate a context file like progress.json
  • Do
    • Have an AI agent work against the prd until it hits it’s context limit. This is done in a fresh context every time.
    • Have an arbiter agent review progress.json to see if all items are done.
      • If not done, refine the progress.json file and repeat
      • If done then stop

Sources