Open-Source Theourgia: A Datalog-Powered Memory Store Replacing Markdown for Claude Agents

guenchi · reddit · 2026-10-21

A developer shared the open-source Theourgia on Reddit: a data engine for multi-Claude-agent collaboration that replaces Markdown files for storing memories and documentation.

Motivation: orchestrating multiple "opus" agents from a single "fable" session proved more reliable than sub-agents, but more sessions brought problems—reading whole files to find one rule, acting on changed designs, overwriting each other. Architecture was designed by fable 5.1; code written entirely by opus 5/5.5. Fully open-source.

Version 1.2.0:

Upcoming 1.3.0: a small Datalog-style language over the store—rules are versioned data; rules can't call host code (20 built-in relations only); identical question + cut returns byte-identical answers; recursive relations and stratified aggregation (not/count/sum/min/max); write-time rules gate every commit; the daemon maintains incremental query sessions matching fresh evaluation.

Original post →

More from coding & agent

coding & agent channel →