Rhea social card

About

Peer-led learning cohorts need multi-week course structures, and this generates them through Claude with optional live research so output reflects current industry practice. Named sub-workflows (Themis for courses, Metis for modules, Theia for import and export) share a common generation engine backed by the Anthropic SDK and LangChain, keeping each workflow independently maintainable. A provenance cascade gives every generated module a changelog, a high, medium, or low confidence score, and auto-cited research sources, so reviewers know exactly what to trust, while Zod enforces the output contract with automatic retry up to three attempts on failed generations. Deploys via Deno Deploy.

Highlights

  • Named sub-workflows (Themis/Metis/Theia) share a common generation engine with the Anthropic SDK and LangChain, making each workflow independently maintainable.
  • Provenance/cascade pattern: every generated module carries a changelog, confidence score (high/medium/low), and auto-cited research sources.
  • Schema validation with automatic retry (up to 3 attempts) on failed generations; Zod enforces the output contract.
  • Configurable research domain allowlists, hierarchical course→arc→module config inheritance, agent client + prompt factory abstraction.
  • Deploys via Deno Deploy with the @deno/svelte-adapter; configurable research domain allowlists and hierarchical course→arc→module config inheritance keep generation scope controllable.

By the numbers

Commits
356
Lines added
+112,532
Lines removed
−61,487
Source files
26,401