Intelligence analysis assistant: source provenance for every line of an assessment
Inside an isolated network, an agent reads reports from many sources and drafts assessments for analysts. Self-hosted ZizkaDB links every judgement to the source documents behind it, so analysts and reviewers can see where each claim came from and how confident the evidence is.
The situation
A defence intelligence unit uses an AI agent to help analysts cope with volume. The agent ingests field reports, open-source material and partner reporting, extracts relevant facts, and drafts assessments: what is happening, how confident the unit is, and what to watch next. Analysts review, edit and approve every assessment before it is disseminated.
The work runs on an isolated (air-gapped) network. Nothing can be sent to an outside service, and every judgement in a finished assessment has to be traceable to its sources. Reviewers must be able to see whether a claim rests on one source or several, and whether those sources are independent.
What goes wrong without a record
- A finished assessment states that a unit has moved. A reviewer asks for the basis. The agent's draft is gone, and the analyst cannot tell which of forty reports the sentence came from.
- Two "independent" reports turn out to be the same original source repeated. Without provenance, the assessment counted them twice and overstated confidence.
- A source is later judged unreliable. The unit cannot find which past assessments relied on it.
How ZizkaDB is used
ZizkaDB runs self-hosted inside the isolated network: the open-source server, PostgreSQL and the dashboard, with no external calls. Each tasking is a session:
tasking_received: the question the analysts asked, and the classification of the tasking.source_ingested: one event per document read, with the document reference, source type, reliability grading and classification marking (references and metadata, not the document itself).fact_extracted: each fact taken from a source, linked byparent_idto thatsource_ingestedevent.judgement: each analytic judgement in the draft, linked to the facts it rests on, with the agent's confidence and the number of independent sources.analyst_editandassessment_approved: what the analyst changed and who approved, so the record separates the agent's drafting from human judgement.
The hash chain makes the record tamper-evident: verify_chain proves that no event has been removed, inserted, reordered or edited. Storing the chain head outside ZizkaDB (for example in the unit's records system) lets an auditor verify the record later against that anchor.
Example
src = await db.log(agent="analysis-assistant", event="source_ingested",
data={"doc_ref": "REP-2026-11-0412", "source_type": "HUMINT",
"reliability": "B", "marking": "SECRET"},
session_id=tasking_id)
fact = await db.log(agent="analysis-assistant", event="fact_extracted",
data={"fact_ref": "F-17", "summary": "convoy observed at grid ref"},
parent_id=src.event_id, session_id=tasking_id)
await db.log(agent="analysis-assistant", event="judgement",
data={"text_ref": "J-3", "confidence": "moderate", "independent_sources": 2},
parent_id=fact.event_id, session_id=tasking_id)
head = (await db.verify_chain("analysis-assistant"))["chain_head"] # keep outside ZizkaDBQuestions the unit can now answer
- What is the basis for judgement J-3? (
whyon the judgement leads to the facts and the source documents) - Which assessments relied on source REP-2026-11-0412, now judged unreliable? (search by
doc_ref) - How many truly independent sources support this claim?
- What did the agent know at the time it drafted the assessment? (
atwith the drafting time) - Has anyone altered the record since approval? (
verify_chainagainst the stored anchor)
Standards and principles this supports
- Analytic standards that require sourcing and confidence to be clear to the reader (for example US Intelligence Community Directive 203 and the sourcing requirements of ICD 206).
- The "traceable" and "governable" principles in national and NATO principles for responsible use of AI in defence.
- Accreditation of systems on classified networks, helped by running entirely self-hosted with no external dependencies.
Military uses are outside the scope of the EU AI Act (Article 2(3)); the same discipline of record keeping is nevertheless expected by defence AI policies and by reviewers.
What to measure
- Share of approved judgements with complete source provenance.
- Time for a reviewer to verify the basis of an assessment.
- Assessments found and corrected after a source was downgraded.
- Analyst edit rate on agent drafts, as a measure of where the agent needs improvement.