1/6 Two researchers proved this year that AI hallucination is mathematically impossible to fully eliminate.
So I stopped trying to eliminate it.
I built a way to detect it instead.
Groundguard β open source, available now. π§΅
6/6 Built over several weeks.
Tested against real documents across multiple providers.
Every design decision reviewed adversarially before a line of code was written.
MIT licensed.
GitHub + PyPI π
8/8 Three pillars. None sufficient alone.
The generator misses things. The critic catches different things. Your process discipline catches what neither sees.
Full breakdown β https://t.co/RZws2tGAVQ
7/8 During Gemini testing: 25β28 API calls per test.
Each test should make exactly one.
A test making 25 calls when it should make 1 is telling you something about the architecture β not just the test.
6/6 In production, most verifications never touch an LLM.
That's not a feature.
That's the only way this architecture works at enterprise scale.
Full writeup on LinkedIn β https://t.co/RFOxN5BoUl
5/6 Still unsolved: cost.
$0.015 per LLM call Γ 10,000 daily verifications = $150/day just for verification. So the architecture became a cascade.
Most claims resolve free via fuzzy match. Only genuinely hard cases reach the LLM.