Learning a way across.
Comparing a Q-table and a deep Q-network in the FrozenLake environment.
Explore the projectAI / Software architecture
A local multi-agent system that makes evidence, review and execution traces part of the workflow.
01 / The challenge
A generated answer is only part of a useful document-analysis system. The application also needs to record which evidence was used, check claims and stop when it cannot validate a result.
Secure Agent Governance Engine coordinates researcher, analyst and reviewer agents around local documents. Ollama provides local inference; a FastAPI application exposes the workflow and its traces. Explicit policies, source checks and bounded correction attempts make the route to an answer inspectable.
02 / The approach
Ingest local text, Markdown, PDF and DOCX files, retrieve relevant chunks and keep evidence identifiers attached to them.
Separate research, analysis and review responsibilities, with deterministic checks alongside model-based review.
Declare agent permissions and correction limits in YAML policies, and record workflow attempts in SQLite and JSONL.
Expose the workflow through a local web interface and FastAPI, with automated tests and a Docker setup.
03 / Outcomes
04 / Scope & next steps