Beth: the living knowledge loop

Beth: the living knowledge loop Beth system architecture and component relationships. Official sources · Live fetch and change checks · Architecture component · Bounded verified cache Official sources Live fetch and change checks Bounded verified cache Beth admin workspace · Interviews, corrections, laws · Architecture component · Appsmith or existing UI Beth admin workspace Interviews, corrections, laws Appsmith or existing UI Candidate knowledge · Extract, compare, identify impact · Architecture component · Not available to founders Candidate knowledge Extract, compare, identify impact Not available to founders Review and test · Expert approval + regression tests · Architecture component · Temporal governs release Review and test Expert approval + regression tests Temporal governs release Approved knowledge · Facts, dates, sources, relationships · Architecture component · PostgreSQL; graph optional Approved knowledge Facts, dates, sources, relationships PostgreSQL; graph optional Beth answers and tools · Langflow + LiteLLM + Beth API · Architecture component · Read applicable published version Beth answers and tools Langflow + LiteLLM + Beth API Read applicable published version Langfuse · Trace, score, flag weak answers · Architecture component · Observations do not auto-publish Langfuse Trace, score, flag weak answers Observations do not auto-publish Reviewed examples · Corrections and expected results · Architecture component · Reusable test dataset Reviewed examples Corrections and expected results Reusable test dataset Source evidence New input Proposed change Publish version Filter + retrieve Redacted traces Review feedback Test changes Legend Frontend Backend Database External

Current and applicable

  • • Filter by tax period, business facts and approval.
  • • Newest publication alone does not determine law.

Retire rather than erase

  • • Stop superseded facts entering current answers.
  • • Preserve history for old cases and citations.

Update knowledge, then evaluate

  • • Publish reviewed changes; invalidate old caches.
  • • Model weight training is a separate project.