Skip to main content

Aceh Agentic RAG + OCR

Technical architecture notes for the self-hosted government RAG platform

API-first backend

FastAPI HTTP and SSE routes cover query, search, ingestion, OCR, conversations, memory, model primitives, and direct generation. Kafka/DMS partner events are documented separately; live handoff awaits contract reconciliation.

Agentic RAG

Router, Planner, Executor, and Synthesizer stages select hybrid retrieval and configured tools while preserving citations, faithfulness checks, and the Government Policy Guard.

Fresh, reviewable data

Multi-format ingestion, OCR confidence and low-signal gates, and query-time OpenData, SatuData, and BPS reads keep structured-data and document paths explicit.