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.
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.
GOV.UK App
GOV.UK · mobile appThe 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.
FLEX
Federated Logic and Events eXchangeThe 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.
UDP
User Data PlatformGOV.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.
UNS
Unified Notification ServiceGOV.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.
GOV.UK Chat
GOV.UK Chat V2An 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.