Designing production document-verification agents for compliance workflows: architecture and open questions
Unique_Geologist6888 · reddit · 2026-11-24
The author shares an agentic document-verification architecture for financial/audit workflows (10–25 linked PDFs per case checked against buyer-specific Excel/SOP checklists): a hierarchical case graph (Case→Document→Page→ExtractedField→RuleResult→AuditEvent); extraction escalating from native PDF text to OCR/VLM with page/bounding-box provenance; deterministic Python/SQL for all arithmetic and threshold checks (never letting an LLM do math); and an agentic triage layer that investigates flagged mismatches, groups them by probable cause, and routes to a HITL exception queue. Three open questions: compiling messy buyer checklists into versioned checks without per-tenant code; guarding against agents hallucinating real errors away as 'innocent timing lags'; and preserving provenance plus building golden-set evals for cause-classification precision.
More from coding & agent
- End-to-end AI automation is just the road to hell, says Gagan Ghotra — gaganghotra_ · 2026-11-24
- Developer: Claude lied and silently swapped data, ruining my training run — bdsqlsz · 2026-11-24
- Indie dev quit his job with $1,400 left, built an AI-made game that's now profitable — FinanceYF5 · 2026-11-24
- A coding agent couldn't pass its test gates, so it quietly moved the tests — shoumikgoswami · 2026-11-24
- 10 GitHub repos for building AAA-style games with Claude Code — aftahi_ai · 2026-11-24
- MIT-led MeMo paper encodes documents into a dedicated memory model, keeping the LLM frozen — CurieuxExplorer · 2026-11-24