Open WebUI for government and public sector

Agencies that need an AI assistant inside sovereign or air-gapped infrastructure can run Open WebUI on local models, sign in through the government directory and keep operator control. This page covers what the build involves and what to confirm first.

On this page

Open WebUI for government and public sector: why it fits sovereign deployments

An agency wants its staff to use an AI assistant, but the data involved often cannot leave government control. Case files, benefits records, personnel data and policy drafts may fall under records rules, privacy law and federal control catalogs such as NIST SP 800-53, which the agency must map to its system boundary. A public hosted chat tool usually means prompts and uploads leave that boundary, and the agency loses direct say over where data is stored, who can read logs and how identities are checked. A self-hosted interface changes that starting point because the agency decides where the software runs and which model endpoints it reaches.

Open WebUI fits this pattern because it runs as a self-hosted interface that connects to Ollama or OpenAI-compatible endpoints the agency operates inside its own boundary. The official install methods are Docker, Docker Compose, Kubernetes with Helm and pip, and the documented features include SSO through OIDC and LDAP, SCIM 2.0 provisioning, role-based access control and authenticator-app MFA. The operator keeps the identity source, the model endpoints and the storage. Confirm with your security team which of these features and the chosen model server meet your authentication and logging requirements before you commit to an architecture.

Adopting Open WebUI also changes three things for the operator. First, the license: code from v0.6.6 onward is under the Open WebUI License, which forbids altering or removing branding in deployments above 50 users in any rolling 30-day period unless the operator holds an enterprise license or written contributor permission, so agencies with larger user bases should resolve this with the vendor early. Second, identity: the agency must decide whether accounts come from the government directory through OIDC, LDAP or SCIM, and who can grant access to models and knowledge. Third, the data path: the agency becomes responsible for where prompts, uploads and embeddings are stored and for the controls around them, which the rest of this page covers.

Which public sector requirements shape the Open WebUI build

This table maps each public sector requirement supplied for this topic to the decisions it affects: where models run, where data sits and who can sign in. Read each row as a starting question for your compliance and security teams, not as a finished control set. DeployOpen prepares systems and evidence for assessments, but independent assessors and authorizing officials decide whether a system is authorized or compliant.

RequirementWhat it means for the buildEvidence to prepare
NIST SP 800-53 Rev. 5 baselinesLow, moderate and high baselines select 149, 287 and 370 controls and enhancements. The baseline your system falls under sets how much logging, access control and configuration management Open WebUI needs.System boundary diagram, selected baseline, control implementation statements for each Open WebUI component
FISMA and Inspector General oversightAgency systems are assessed independently and reported to OMB, so every Open WebUI setting, admin role and model route must be explainable after the fact.Documented configuration baseline, change records for upgrades, admin access reviews
FedRAMP scopeFedRAMP covers cloud services that handle federal information on behalf of an agency. A self-hosted Open WebUI run only for one agency on its own infrastructure is generally not a shared cloud service, but confirm this with your authorizing official.Written scope determination, description of hosting and who operates the platform
CJIS Security Policy v6.1 encryption and scanningFor criminal justice information outside physically secure locations, the policy calls for FIPS 140-3 validated modules or FIPS 197 AES with at least 256-bit keys, and vulnerability scanning at least monthly. Confirm which modules your database, storage and proxy use.Encryption method and key length per data path, scanning schedule and results
32 CFR 2002.14 and 170.17 for CUIAgencies apply NIST SP 800-171 to controlled unclassified information on non-federal systems. Defense contractors pursuing CMMC Level 2 may store CUI in a cloud service only if it meets FedRAMP Moderate or equivalent, so model endpoints and vector stores holding CUI must be placed inside the assessed boundary.Data flow map showing where prompts, uploads and embeddings are stored, CUI handling rules for knowledge bases
ADA Title II web accessibilityState and local government web content and apps, including vendor-supplied ones, must meet WCAG 2.1 Level A and AA from 26 April 2027 for entities serving 50,000 or more people and from 26 April 2028 for smaller entities and special districts. Check the chosen Open WebUI version and any theme changes against these criteria.Accessibility conformance testing results, remediation log, dated owner assignments
NIS2 scopeNIS2 covers central government entities of any size and lists public administration as highly critical. Member States may extend it to local administration, and it excludes entities in national security, public security, defense and law enforcement. Determine your status under national transposition law before scoping controls.Entity classification memo, incident reporting contacts, supplier risk records
Who can sign inIdentity from the government directory should drive access through SSO and SCIM group provisioning, so deprovisioning in the directory removes access to models and knowledge bases.Directory integration design, group-to-role mapping, deprovisioning test record

Choosing a deployment for air-gapped or sovereign networks

A fully disconnected network has no route to the internet or to public package registries, so every container image, Python package, model file and documentation set must be brought in on approved media and checked before use. Open WebUI can run entirely offline when paired with Ollama or an OpenAI-compatible API served on the same network, and vLLM provides an --enable-offline-docs option for air-gapped environments. The install method matters less than the staging process, which has to be repeated for every upgrade.

  • Model server: Ollama or vLLM runs on local hardware, and model weights are loaded from a transfer set rather than pulled at runtime.
  • Install method: Docker Compose or Helm charts are mirrored into an internal registry, and pip installs use an internal package index or wheel bundle.
  • Package transfer: Every image and package crosses the boundary through a documented change process with hash records and a review step.
  • Kubernetes bootstrap: The kubeadm offline pattern of listing and pulling control plane images in advance, then pointing installs at a private registry, applies when the cluster itself is disconnected.
  • Upgrade cadence: Each Open WebUI release needs a fresh transfer set, so plan upgrade windows around that cycle.

Confirm with your accreditation authority which transfer media and review steps they accept before you choose this model.

Which Open WebUI settings matter most for government use

A government deployment of Open WebUI is judged less by its chat features than by how it signs users in, assigns access, controls credentials and holds data across replicas. The cards below cover the settings that agency security and compliance reviewers ask about first, and each one connects to a control need you can confirm in your own environment.

Directory sign-in with OIDC or LDAP

Open WebUI documents single sign-on through OIDC and LDAP, so sign-in can run against the agency's own directory rather than local accounts. Decide which protocol your directory supports reliably, then test how disabled accounts, password changes and lockouts behave in Open WebUI. Confirm that local password login is disabled for staff so no account exists outside the directory's lifecycle.

Open WebUI features

SCIM 2.0 provisioning and group mapping

SCIM 2.0 user and group provisioning lets joiners, movers and leavers flow from the directory into Open WebUI without manual account work. Map directory groups to Open WebUI groups deliberately, because those groups drive what each person can see. Check that deprovisioning removes access on the same schedule your access reviews assume, and that group membership changes are logged.

Role-based access and per-resource permissions

Open WebUI supports role-based access control with groups and per-resource permissions, which lets agencies limit which models, knowledge bases and tools each group can use. Build the permission model from the data classification your agency already applies, not from default roles. Test that a user in one program cannot reach knowledge collections owned by another, and record who holds the administrator role.

API key and MFA policy

API keys let scripts and integrations call Open WebUI outside a browser session, and they need the same scrutiny as interactive access. Decide whether API keys are permitted at all for each group, who may create them, and how they are rotated and revoked. Pair interactive sign-in with the authenticator-app MFA that Open WebUI documents, and confirm with your identity team that the directory's MFA policy is enforced for these logins.

PostgreSQL, Redis and external vector store

Multi-replica deployments need PostgreSQL instead of SQLite, Redis for shared sessions and websocket state, shared file storage, and an external vector database because the default ChromaDB will crash in multi-process setups. Without Redis, signing out does not revoke tokens, which remain valid until expiry, by default 4 weeks. Ask your platform team to confirm where each service runs, how it is backed up, and which agency boundary holds the data.

Scaling guide

SQLite only on local SSD or NVMe

SQLite is acceptable for a single replica, evaluation or a small team, but only when the database file sits on locally attached SSD or NVMe storage rather than network storage. A pilot for one office can use it, but a pilot that later grows will need a database migration. Record the storage type in the system security plan, and set a date to revisit the choice when user counts or replica counts change.

How users, identity, Open WebUI and models sit inside the agency boundary

The diagram starts with the agency directory, which supplies identity to Open WebUI over OIDC or LDAP, and with users reaching Open WebUI through the agency network. Inside the trust boundary, Open WebUI relies on PostgreSQL for its database, Redis for shared session state, shared file storage for uploads and knowledge, and an external vector store for retrieval. Model calls go only to local Ollama or vLLM endpoints. Check that no route leaves the boundary, that the boundary has no outbound internet path, and that every component named here is reviewed in your own environment.

Identity, application state and model calls kept inside one agency boundary.

How an agency rollout moves from pilot to authorized use

The sequence takes an agency from a scoped authority map to controlled user access, with each phase producing evidence the authorizing team can review before the next phase starts. It keeps the pilot small, tests identity and security before scaling, and treats the offline package as something to verify before it enters the boundary.

  1. Map scope and authority before any install

    The agency's security office, system owner, and records and privacy staff agree on the system boundary, the data categories the assistant may touch, and which authorization path applies to the environment. Confirm early which control baseline and which external requirements (for example, CJIS Security Policy or CUI handling under NIST SP 800-171) the agency is answering to, because those choices drive the rest of the build. The step is done when the boundary diagram, data scope and named authorizing official are written down and signed off.

  2. Intake and verify the offline package

    Everything that crosses the isolated boundary is staged on approved media and recorded in a manifest: the Open WebUI release, container images, Python wheels, Helm charts, model weights, vector database packages and any extensions. The team checks checksums and signatures against the publisher's values, scans artifacts with the agency's malware and vulnerability tooling, and rejects anything unlisted. The step closes with a signed intake record that names who approved each artifact and where it is stored.

  3. Run a single-replica pilot on local storage

    Install Open WebUI on one instance with a local model server, using the install method the agency's platform team already operates. Where SQLite is used for this pilot, the database file must sit on locally attached SSD or NVMe storage, not network storage, and the team should confirm that this limit is acceptable for the pilot's user count. The pilot proves that models answer, logs are written and backups restore. It is done when a documented test run completes end to end inside the boundary with no outbound calls.

  4. Test identity, roles and sign-out behavior

    Connect the pilot to the agency's directory using OIDC or LDAP, and confirm group mapping, role-based access and the rules for who can change models, upload documents or manage API keys. Enforce authenticator-app MFA where the agency policy requires it. Test sign-out explicitly: without Redis, signing out does not revoke tokens, which remain valid until they expire (by default after 4 weeks), so the agency must accept that residual exposure or add Redis before scaling. The step closes with a test matrix of accounts, roles and results.

  5. Scale to multiple replicas with shared state

    Move the database to PostgreSQL, add Redis for sessions, websocket connections and application state, and place uploads and knowledge on shared file storage reachable from every replica. Replace the default ChromaDB with an external vector database, since the scaling guide warns it will crash in multi-process setups. Confirm that sign-out revokes sessions across replicas and that a replica restart does not lose uploads. The step is done when failover and load tests pass and the configuration is captured in version-controlled manifests.

  6. Test security and capture the evidence

    An independent team tests the deployed system for prompt injection, uploads of hostile files, access control gaps, secrets exposure, logging completeness and outbound requests, and checks that vulnerability scanning runs on the agency's required schedule. Fixes are retested and each control is mapped to the agency's control catalog, such as NIST SP 800-53 control families. The output is a findings report, a retest record and an evidence folder. DeployOpen prepares this evidence, but the authorizing official and any independent assessor make the authorization decision.

  7. Onboard users in controlled waves

    Access expands in defined groups, starting with a named set of users whose work has been reviewed against the data scope. Each wave gets a short briefing on permitted data, uploads and model choices, and the admin team watches logs and support tickets before opening the next group. The agency keeps the model list and group permissions under change control throughout. The step closes when the authorizing official accepts the operating state and the onboarding record shows who has access, when, and under which role.

What agencies ask before bringing in an implementation partner

What drives the cost and effort of an Open WebUI deployment for an agency?

The largest drivers are the size of the user population, whether the deployment is single-replica or multi-replica, which model services sit inside the boundary, and how much identity, logging and evidence work the accreditation path requires. Open WebUI itself is free to download under its license terms, so most of the spend goes to people and infrastructure: architecture, build, identity integration, hardening, testing and handover. Ask any partner for a written scope that separates one-time build work from recurring items such as upgrades, retesting and support, and ask for the assumptions behind each line. DeployOpen does not publish prices; a quote follows from the agreed scope.

Can our agency build and run Open WebUI with its own staff?

Yes, many agencies do, and the decision depends on skills and capacity rather than on the software. An in-house team needs people who can operate containers or Kubernetes, PostgreSQL, Redis, a vector database and shared file storage, plus the security staff to review configuration and keep evidence current. The scaling documentation makes clear that a multi-replica setup needs more components than a single instance, so the team should map those skills before committing. A partner is useful when the agency needs the build done inside a fixed timeline or wants an outside review of its own design.

What does the work need from our identity and security teams?

It needs the identity team to decide how users reach Open WebUI and how roles map to groups. Open WebUI documents SSO through OIDC and LDAP and SCIM 2.0 provisioning, so the identity team should confirm which of those the government directory supports, who owns the client registration, and how group claims become Open WebUI roles. The security team should set logging, MFA requirements, key handling, outbound connection rules and the approach to uploads and tools. Ask the partner which decisions it will bring as proposals and which must come from your staff in writing.

How does the Open WebUI License affect a deployment with more than 50 users?

The Open WebUI License forbids altering or removing Open WebUI branding in deployments that exceed 50 users in any rolling 30-day period, unless the operator holds an enterprise license or written contributor permission. Agencies should count active users across the rolling window, not only named accounts, and confirm the position with counsel before rollout. Code through v0.6.5 remains BSD-3-Clause, but newer releases carry the branding clause. An enterprise license adds white-labeling and dedicated support, and its price is not published; the vendor quotes it after an enterprise sales contact with an expected seat count. Include the license decision in the written scope so its cost is visible from the start.

Does FedRAMP apply to a self-hosted Open WebUI system?

FedRAMP applies to cloud products and services that create, collect, process, store or maintain federal information on behalf of an agency. The scope rules exclude systems used only for a single agency's operations on cloud infrastructure that are not offered as a shared service. A self-hosted Open WebUI instance that an agency runs inside its own boundary is therefore unlikely to fall under FedRAMP as a cloud service, but that conclusion depends on how the system is hosted and who operates it. Confirm the classification with your authorizing official and privacy office, and check whether any hosted model service the deployment calls is itself in FedRAMP scope.

How does a partner handle updates when the system is offline or air-gapped?

The partner should build an offline update path before go-live. Open WebUI's container images, Python packages and any model artifacts must be pulled on a connected side, checked for integrity and authenticity, then carried across the isolated boundary. NERC CIP-013-2 describes the same kind of software integrity verification for vendor software and patches, which is a useful model even outside the utility sector. Ask the partner how it records each transferred artifact, how it tests a release in a staging copy, and how it handles rollback. Confirm the release cadence and version policy with the Open WebUI project releases before agreeing an upgrade calendar, since the project publishes new versions frequently.

What evidence should we expect for an accreditation or compliance review?

Expect a system description, a data flow, configuration baselines, access and role definitions, logging settings, backup and restore records and test results. Frameworks such as NIST SP 800-53 Rev. 5 organize controls into low, moderate and high baselines, so the first step is confirming which baseline applies to your system. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications; independent assessors and authorizing officials make those determinations. Ask the partner to map each deliverable to the control families your assessors use.

Compliance evidence public sector teams should prepare

Public sector teams reviewing an Open WebUI deployment usually face several assessments at once: a federal or state control baseline, a CJIS or CUI review, and accessibility rules for public web content. The cards below list the evidence each reviewer tends to ask for, so the deployment team can collect it while the system is being built. DeployOpen prepares this evidence and does not certify, audit or authorize the system.

Access control and audit logging

Assessors will ask who can sign in, what each group can see, and whether sign-ins and admin changes leave a record. Document the identity source, the group-to-role mapping, and which Open WebUI roles can manage models, users and knowledge bases. Capture where logs are written, who can read them, and how long they are kept. Confirm with your own assessor which audit fields your control baseline requires, since Open WebUI log content depends on your logging configuration and proxy setup.

Open WebUI features

Encryption for CJI and CUI paths

The CJIS Security Policy version 6.1 requires FIPS 140-3 certified modules or AES with at least 256-bit keys for criminal justice information in transit and at rest outside physically secure locations. Map every path that can carry CJI or CUI: browser to proxy, proxy to Open WebUI, Open WebUI to the database, Redis, file storage and the model server. For each path, record the cipher configuration and the validated module in use. Ask your assessor whether the modules in your stack carry the required validation, because a supported cipher alone may not satisfy the rule.

Vulnerability scanning cadence

The CJIS rule requires vulnerability scanning at least monthly, so the scanning schedule becomes evidence in its own right. Cover the host operating system, container images, the Open WebUI release in use, its Python dependencies and the database. Keep scan reports, the tickets that track each finding, and the dates fixes were applied. Set a written rule for how quickly critical findings are patched, and record any exception with an owner and an end date.

Minimum scan frequency
Monthly

Accessibility conformance for public web content

If residents or employees reach Open WebUI through a state or local government web portal, the ADA Title II rule applies to that content, including content provided through contracts or licenses. Test the chat interface, admin screens and any embedded pages against WCAG 2.1 Level A and AA. Keep a dated conformance report, list known gaps, and record remediation plans. Confirm with counsel which entity size category applies, since the compliance dates differ by population served.

Target conformance level
WCAG 2.1 AA

Supply chain verification of offline packages

In an air-gapped environment, every container image, Python package, model file and Helm chart crosses the isolation boundary by hand. Record the source, version and checksum of each artifact, and keep the transfer log with the name of the person who approved it. Confirm the signing and verification method your organization uses, and compare it with the procurement controls your framework requires. NERC CIP-013-2 is one example of a supply chain control that asks for this kind of software integrity evidence.

What assessors and authorizing officials decide

Independent assessors test the controls and report findings. Authorizing officials decide whether the residual risk is acceptable and whether the system may operate. DeployOpen does not issue audit reports, attestations, certifications or authorizations. Your team should ask the assessor which evidence format they accept, which control baseline applies, and whether a cloud-hosted component falls within a FedRAMP scope boundary. Agree these questions before the assessment starts, not after the evidence is packaged.

What to ask a partner before signing a scope

This sequence gives the agency a written set of questions and deliverables to request before committing to an engagement. Each step produces a document or test result the agency can hold the partner to, and together they show whether the partner can support an assessment inside sovereign or air-gapped infrastructure.

  1. Request a written scope with named boundaries

    Ask the partner to state in writing which systems, identity sources, models, networks and user groups are in scope, and which are excluded. The scope should name the Open WebUI version to be deployed, the Open WebUI License terms that apply to your user count, and whether an Enterprise License is included or quoted separately. Done when the agency's security, procurement and program owners have signed off on the same document and no item is described only as "to be confirmed."

  2. Ask for the offline install and update procedure

    Request a written procedure for installing Open WebUI and its dependencies in a network without internet access, covering how images, packages and model files are staged, verified and carried across the boundary. Ask how the partner checks the integrity and authenticity of each package and patch before it enters the enclave, and how updates are rehearsed in a non-production copy first. Done when the procedure names the artifacts, the checks, and the people who approve each transfer.

  3. Confirm identity integration tests with the agency directory

    Ask for a test plan covering sign-in through the agency's own identity provider or directory, using the methods the partner intends to configure, such as OIDC, LDAP or SCIM 2.0 provisioning. The plan should include test accounts for each role, group-to-role mapping checks, deprovisioning checks and MFA enforcement. Done when the partner has run the tests in a staging environment and delivered the results with failures and fixes recorded.

  4. Agree a retest plan for findings and changes

    Ask how the partner will retest after fixes, what happens to findings that the agency accepts as risks, and who signs off on closure. The retest should cover configuration changes, upgrades and any new model connections added during the engagement. Done when the agency holds a findings register with status, owner and the retest evidence that closed each item.

  5. Request documentation for the agency's assessors

    Ask for architecture diagrams, data flow descriptions, access control settings, logging configuration, backup and recovery records, and a mapping of implemented settings to the control families your assessors use, such as those in NIST SP 800-53 Rev. 5. The partner should explain what each document evidences and what it does not evidence. Done when the agency's assessors have reviewed a draft and the partner has noted which items need input from the agency's own teams.

  6. Define the handover and operating responsibilities

    Ask the partner to list what the agency's own staff will operate after handover, including upgrades, backups, log review, user administration and model onboarding, and what remains with the partner under any support arrangement. Request a handover session, runbooks and a record of which administrator accounts and secrets were transferred. Done when the agency's operators can perform the routine tasks from the runbooks and the responsibility matrix has been signed by both parties.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted Open WebUI inside the agency's own infrastructure, whether that is a government cloud tenancy, a data center or an air-gapped network. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Written scope that names the model services, whether local or remote, that users will reach through Open WebUI
  • Identity design covering which government directory provides SSO through OIDC or LDAP and how SCIM 2.0 provisioning maps groups to roles
  • Confirmation of the compliance baseline the agency must evidence, such as the controls it inherits from its own authorization boundary
  • Decisions on the user count and whether the deployment needs multiple replicas, which determines the database and shared storage design

How we build

  • Installation through Docker Compose, Kubernetes with Helm, or a pinned package, matched to the agency's approved platform
  • Configuration of PostgreSQL, Redis and an external vector database when the scope calls for several replicas
  • Model routing to approved endpoints, with offline model serving and no outbound calls where the network requires it
  • Verification that every container image, package and model artifact carried across the boundary was checked for integrity before installation

How we hand over

  • Written documentation of the architecture, access model, logging settings and the agency's own operating responsibilities
  • Test records showing SSO sign-in, role-based access, token expiry and audit logging behave as the written scope describes
  • Runbooks for backups, upgrades, admin recovery and the release review process for future Open WebUI versions
  • Knowledge transfer sessions for the agency's administrators, security staff and the teams that will review evidence

How we support

  • Ongoing support, upgrades and continuous security testing are available as a retainer, scoped separately from the build
  • Upgrade reviews that check each new Open WebUI release against the license terms and the agency's configuration before rollout
  • Security testing of the deployed system, including retesting after fixes, when the agency asks for independent validation
  • Confirmation with the agency's assessors of which evidence DeployOpen prepares and which evidence the independent auditor must issue

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.