Skip to content

AI knowledge assistant for government, on your own infrastructure

DocsGPT is an internal knowledge assistant for government teams that runs on government infrastructure with local inference, answers from approved documents with citations, and gives each team an assistant over only the sources it may see. No data leaves the network. The UK Department for Work and Pensions deployed an internal knowledge assistant of this kind on government infrastructure, with local inference.

Last updated:

Knowledge retrieval pipeline
  1. 01Approved sourcespolicy · guidance · legislation
  2. 02Ingestion & embeddings30+ formats · local embeddings
  3. 03Team-scoped agentone agent per team · its own sources
  4. 04Cited answerlocal LLM · title + page
  5. 05 · humanFeedback & audit logconversations · Activity export
Text version

Five stages: approved policy, guidance and legislation are ingested and embedded locally; each team asks its own agent, which searches only the sources connected to it; a locally served model writes an answer with title and page citations; staff feedback, conversations and the append-only Activity feed export to the department's own monitoring.

The situation

  • Compliance

    Compliance rules are strict and differ by department: many require no external API calls and fully on-premises processing; all require every processing location to be declared before the service goes live.

  • Classification

    Documents sit at several classification levels, so access has to be enforced when a document is retrieved for an answer, not only in the interface that shows it.

  • Scale

    A departmental assistant must be available to a large workforce, at scale and around the clock, on infrastructure the department already operates.

What DocsGPT does here

Workflow 01

Internal knowledge assistant over policy and guidance

Ingestion of 30+ formats and a SharePoint connector bring policy, guidance and legislation into one knowledge base. Hybrid retrieval (BM25 + vector) finds the passage; the answer cites title and page so a caseworker can open the source.

30+ formats · SharePoint connector · hybrid retrieval · citations (title, page)

Search & Retrieval →Knowledge →Connectors →

Workflow 02

One assistant per team, over that team's sources

Each team gets its own agent, shared with that team as Viewer and connected only to the sources its members may see; people outside the team cannot open it. Users sign in through the department's IdP with OIDC and group allowlists; SCIM deprovisioning revokes sessions immediately; roles limit what each person can administer, and usage quotas cap what each person can spend.

Agent per team · Viewer / Editor sharing · OIDC SSO with group allowlists · SCIM · roles · usage quotas

Built for the client · query-level access enforcement across several classification levels, for the DWP.

Admin, Security & Analytics →

Workflow 03

Local inference, no data leaves the network

Models are served inside the department with vLLM, Ollama or llama.cpp; embeddings are computed locally; the vector store is self-hosted. Kubernetes manifests deploy the stack, and the execution trace of every run exports over OpenTelemetry to the department's monitoring.

vLLM · Ollama · llama.cpp · local embeddings · Kubernetes manifests · OpenTelemetry

Models & BYOM →On-premises deployment →

Workflow 04

Governance: approved sources only, everything recorded

Guardrails check for PII, banned terms and prompt injection on the way in and out, and Guardrail activity records what matched rather than the text itself. Admin › Activity, the append-only audit log, exports as CSV or NDJSON to the department's SIEM; conversation logs, traces and usage show who asked what, which sources were used and what it cost.

Guardrails (PII, banned terms, prompt injection) · Activity export (CSV / NDJSON) to SIEM · execution traces · usage

Guardrails & Human-in-the-loop →Admin, Security & Analytics →

Procurement posture: how DocsGPT and Arc53 answer the requirements that recur in UK public-sector tenders.

Procurement posture against recurring UK public-sector requirements
 PositionHow it is met
WCAG 2.2 AAAudit and remediation committed within a first projectIndependent WCAG 2.2 AA audit and full A/AA remediation scoped into the project; the report is delivered to the department
DPIA support and data-flow documentationProvidedArc53 supplies the data-flow description, including what is retained and for how long, and supports the department's DPIA before deployment
No training of foundation models on client dataNativeSelf-hosted models see no third party; where a cloud endpoint is chosen, the provider is contracted not to train on the data
UK hosting or on-premisesBothOn the department's own infrastructure, or a UK single-tenant managed instance in a declared region
Exit planProvidedOpen-format export of documents, agents (YAML), workflows and the Activity feed (CSV / NDJSON); documented decommissioning; MIT-licensed code the department may keep running
CertificationsPosture plus programmeNo certification held today. Security programme: GitHub Secure Open Source Fund, public threat model, SBOM, CodeQL, coordinated disclosure — see Security

Statuses as of 2026-10-04.

docsgpt — chat

app · Admin › Activity
Admin › Activity: a feed filterable by user, IP or detail, category and event over 24 hours to all time, with CSV and NDJSON export. Rows show the event, its category, the actor, the affected user and the IP — logins (identity), a quota set on another user (config), a revoked token, and guardrail input and output checks marked Triggered or Not evaluated (safety).
app · Admin › Activity
Admin › Activity: a feed filterable by user, IP or detail, category and event over 24 hours to all time, with CSV and NDJSON export. Rows show the event, its category, the actor, the affected user and the IP — logins (identity), a quota set on another user (config), a revoked token, and guardrail input and output checks marked Triggered or Not evaluated (safety).

Evidence

Results from named deployments, with the source.

Government infrastructure, local inference

UK Department for Work and Pensions: an internal knowledge assistant on government infrastructure, with local inference.

Source: DWP

How it is deployed

On-premises is the usual posture here: strict data residency.

Departments run DocsGPT on their own Kubernetes or servers with a local model — the posture the DWP deployment uses. Where a department accepts it, a UK single-tenant managed instance is the second option, with Arc53 operating the instance in a declared region. Cloud endpoints, where chosen, are contracted no-training, and every sub-processor and its region is published in the DPA.

What a first project looks like

Scope, measure, then decide.

  1. 01

    Scope one team and one corpus

    Policy or guidance for a single team; the document owners write 20–30 test questions with the expected answers and sources.

  2. 02

    DPIA support and data-flow documentation

    Arc53 provides the data-flow description and supports the department's DPIA before anything is deployed.

  3. 03

    Deploy on the department's infrastructure

    Or a UK single-tenant managed instance; SSO through the department IdP; a locally served model.

  4. 04

    Ingest and benchmark

    Run the test set against the assistant and iterate until source assertions pass.

    docsgpt-cli bench

  5. 05

    Pilot for about three months

    Measure citation click-through and answer acceptance with the team.

  6. 06

    Decision on rollout

    With the pilot's evidence, the department decides scope and posture for wider use.

The DWP deployment began with a scoped first project of this shape on government infrastructure with local inference. See pricing for how on-premises and managed work is priced.

Frequently asked questions

Can a government department use AI on internal documents without sending data outside?

Yes. DocsGPT runs on the department's own Kubernetes or servers with a local model and local embeddings; nothing is sent to a third party. That is how the DWP deployment is set up.

Is our data used to train the model?

No. With self-hosted models there is no third party to train on it; where a department chooses a cloud model, Arc53 engages that provider only on terms that prohibit training, and publishes every sub-processor and its region in Annex III of the DPA. Providers may hold a request for up to 30 days for their own abuse monitoring; Zero Retention Mode, a paid add-on described in the privacy policy, turns that off where the provider allows it.

How is access to classified documents controlled?

Users sign in with the department's IdP (OIDC). Each team gets its own agent, connected only to the sources that team may see and shared only with that team, so other staff cannot open it. Provisioning and removal follow the IdP through SCIM, and every sign-in and change is in the exportable Activity feed.

Is the application accessible (WCAG 2.2 AA)?

An independent WCAG 2.2 AA audit and full A/AA remediation are included in a first project; the report is delivered to the department.

See DocsGPT on your documents

A 30-minute demo on your use case, or a free on-premises review with an engineer.