- Docs
- Concepts
AI in archigov
Eleven optional AI features that propose and narrate while a named human decides — off by default, per-feature, any provider, with a deterministic fallback for every one.
#The Boundary
AI in archigov proposes and narrates; it never decides. Every AI output is stored (when it is stored at all) with origin: ai and verification: unverified. It never records a position, never approves, and never adopts anything. Citations an AI produces must resolve to a real artefact, decision, resource or design section, or they are discarded before storage.
Every feature is off by default and has a deterministic fallback, so archigov is complete with no model configured.
#The Features
| Feature | Who uses it | What it does | The human step |
|---|---|---|---|
| Pre-review | Runs on a review | Cited advisory findings on top of the deterministic checks | Board seats weigh them; it never approves. One finding of medium or above keeps a design out of the fast lane; nothing it says puts one in |
| Decision Review | Authors | Critiques a draft decision's argument — unsupported claims, strawman options, circular reasoning, unstated risks, contradictions with adopted artefacts — and offers a tightened version; suggests assessments for unevidenced critical claims | The author applies or ignores it; nothing is stored |
| Decision Drafting | Authors | Drafts a decision from a planned-change work item | The author edits and submits |
| Rule Drafting | Authors | Turns an artefact's statement into a rule; the draft comes back validated and dry-run against the live model | The author saves; a board adopts |
| Control References | Authors | Suggests framework references for a draft artefact | The author prunes and saves |
| Assessment Drafting | Assessors; authors recording a legacy assessment or an exit plan | Fills the assessment type's template headings from the review, the yearly legacy assessment's headings from the Legacy Register's facts, and an exit plan's headings from what archigov knows about the reliance; gaps say To be confirmed | The assessor or author edits and records it as their own; nothing is stored until then |
| Session Notes Drafting | Secretary, chair | Drafts the narrative notes from the session's own records | The secretary edits; the minutes stay derived |
| Evidence Mapping | Platform admin | Suggests control ids for unmapped Defender and Policy keys | The admin saves to pin |
| Classification Suggestion | Authors | Suggests a criticality and the dependent services, with a rationale, for an application its tags leave open; corrected so a regulated service always means Critical | The author applies it in the Classify form and saves with their own reason; nothing is stored. See Criticality |
| Board Pack Narrative | A board's chair or secretary | Drafts a board pack's narrative from the pack's figures only: every statement quotes a figure, a missing figure is not available, and nothing is judged good, bad or compliant | The preparer edits it and signs the pack as their own; the pack records the narrative as AI-assisted, with their name. Nothing is stored until then. See Governance metrics |
| Risk Extraction | Authors | Suggests up to five risks a decision accepts, read from its own text, each with a title, a description and a severity the text supports; risks already registered against the decision are left out | The author logs the ones that hold, as their own, and each is recorded as AI-assisted; nothing is stored until then. See Risk Register |

#Providers
The platform admin chooses a provider and model per feature under Settings → AI: OpenAI, Anthropic Claude, Mistral, Ollama (local, no key needed), or any OpenAI-compatible endpoint. Pre-review can run on a local Ollama while decision review uses a hosted model. See AI providers.
#Data Handling
- Keys saved in Settings are encrypted at rest with AES-256-GCM. A key supplied through the environment beats a stored one and never touches the database. Keys are never returned by the API, never written to the audit log, never exported.
- What is sent is the context the feature needs: the review, design or decision text, the relevant catalogue items, and — for pre-review — the application's resources. Classification Suggestion sends the application's name, resources, tags, decisions and planned changes, and the service names the estate already uses. A legacy assessment draft sends the application's name and criticality, its lifecycle components (resource, product, version, state and support dates) and the previous legacy assessment's result, date and summary. An exit plan draft sends the application's name, criticality and services, the provider with its designation and resource count, the application's resources (name, type and region) and the previous plan's date, substitutability and summary. A board pack narrative draft sends the governance metrics for the chosen period — counts, medians, percentiles and coverage, with the providers' names in the concentration figures — but not the raw open-findings trend, only its first and last points; no review, decision or application titles. Risk Extraction sends the decision's own text — its code, title, topic, context, recommended option, justification and consequences — and the titles of the risks already registered against it. Nothing is sent for a feature that is switched off.
- Where it goes is the provider you configure. With Ollama, nothing leaves your network. In a managed instance, the included AI runs in the EU whichever region hosts the instance; Deployment options and data location has every case.
- Every AI pre-review records the engine, provider and model in its data and on the timeline.
#When a Feature Is Off
Draft endpoints answer 409 when their feature is disabled, and the UI shows the button greyed with the reason. GET /api/ai/features tells any page which features are on.
Something unclear or out of date? Write to hello@archigov.com or open an issue on GitHub.