Magneto

•

Prevents AI agent hallucinations by fact-checking citations against source artifacts in real-time, without using large language models.

Magneto is an experimental, non-LLM adversarial citation gate designed for real-time fact-checking of AI agents, specifically within the Kiro ecosystem. Its primary function is to combat AI hallucinations by deterministically validating whether quoted evidence genuinely exists in cited source artifacts. By rigorously checking citations for exact text matches and ensuring provenance, Magneto provides a ground-truth anchor for adversarial review pipelines, addressing the critical issue of fabricated or paraphrased citations in AI-generated code and design reviews.

主な機能

01Provenance-correlated validation tracking causal chains with correlation IDs
020 GitHub stars
03Automatic downgrading of findings with invalid citations to 'unconfirmed' status
04Deterministic verification via exact substring matching after whitespace normalization
05Size-bounded artifact reading with a 64 MiB hard cap to prevent OOM errors
06Workspace-contained file access, rejecting paths outside the project root

ユースケース

01Validating evidence cited by AI agents in design review documents
02Preventing AI hallucinations by ensuring quoted excerpts truly exist in source materials
03Fact-checking citations in AI-generated code review findings