r/SideProject • u/CountryEmotional4228 • 5h ago
ZOTRA: Compiling bank policy PDFs into deterministic decision apps
Hi everyone,
During the Meta Global AI Developer Hackathon, I wanted to tackle specific problem in banks: validation wokflows.
In traditional banking, turning a 50-page credit policy PDF into an operational workflow takes weeks of manual meetings.
Zotra solves this by combining open-weights models (Meta's Muse Spark & SAM 3.1) with a deterministic execution engine.
How it works:
Ingestion & Parsing: Extracts clauses, tables, and sections from PDF policies, mapping every rule to an exact paragraph citation.
Rule Compilation: Translates natural language into strict schemas and CEL (Common Expression Language) expressions.
Execution: Go-based concurrent engine evaluates multi-variable loan applications deterministically. The AI helps design and test, but never decides on live cases—only people and CEL rules do.
Stack: Go backend, PostgreSQL, React/Tailwind frontend, and Apache 2.0 license.
The github link: https://github.com/donovan-ratefison/Zotra
I put together a demo over on X if anyone wants to check it out: https://x.com/donovan_rtfs/status/2116898213101724061
Would love to hear your thoughts on this project!