5 documented

GOV.UK Connect architecture

Each architecture below is documented from its own source code rather than from prior design documents, and rebuilt against that code on every merge. FLEX, UDP and UNS make up GOV.UK Connect; the GOV.UK App, its backend and GOV.UK Chat are documented beside them, outside the programme. Pick one to explore.

Overall architecture

How the systems fit together. Each line is proven on the tab it links to, where the mechanism is set out in full; each box opens that system's page.

Individual systems

GOV.UK App

GOV.UK · mobile app

The GOV.UK App on iOS and Android, and the backend built for it: Cognito sign-in federated to GOV.UK One Login, the token proxy that can demand proof a request comes from the real app, the chat proxy, and the signed remote config that decides, among other things, whether the app talks to FLEX at all.

9 tabs5 repositoriesderived from · 2026-10-30

FLEX

Federated Logic and Events eXchange

The GOV.UK App’s API layer: one public API for the app, one private API for everything internal, and the service gateways that broker every call out to a sibling system or a third party.

8 tabsgovuk-once/flexderived from f7e1699f · 2026-10-29read to cbf46de2 · 2026-09-16

UDP

User Data Platform

GOV.UK Connect’s system of record for a person: identity links to other services, the data those services hand over, and the subject access and deletion requests the law entitles a person to. Reached only by sibling systems — FLEX and UNS — each through its own VPC endpoint.

9 tabsgovuk-once/user-data-platformderived from 195cbb75 · 2026-11-02read to be5d1a2f · 2026-10-30

UNS

Unified Notification Service

GOV.UK Connect’s notification system: government services post a message or a group message over mTLS, UNS validates, processes and dispatches it, and FLEX reads the result back for the app. One CDK app, two APIs.

9 tabsgovuk-once/gds-unified-notification-serviceread at ac9d1df4 · 2026-10-30counts read, not synthesisedread to 200b9135 · 2026-09-17

GOV.UK Chat

GOV.UK Chat V2

An API product giving government guidance an AI assistant: an agent runtime on Bedrock AgentCore behind one chat API and a web UI, successor to GOV.UK Chat V1. Read from source — its CDK app bundles every Lambda in Docker against private dependencies, so this pipeline cannot synthesise it.

6 tabsgovuk-once/govuk-chat-v2read at 2ae22ca9 · 2026-10-29counts read, not synthesisedread to 2ae22ca9 · 2026-10-29