Why LLM guardrails for the public sector need a different design
Public sector guardrails use the same runtime controls as other sectors, but the agency boundary, the data classes involved and the accessibility duties decide where the controls run and what they must prove. An assistant that blocks off-topic questions and sensitive terms is not enough if the guard model calls an external service, if blocked prompts are logged outside the boundary, or if a refusal message fails a screen reader. Security and legal teams will ask what stops prompt injection and leaked terms, and they will also ask where the evidence is stored. Start by agreeing which data classes the assistant may see, because that choice sets the hosting, cryptography and logging rules for every input and output rail.
Several rules shape the design. FedRAMP scope covers cloud services that create, process, store or maintain federal information on behalf of an agency, so confirm early whether your deployment falls inside it. For criminal justice information, the FBI CJIS Security Policy version 6.1, effective 26 June 2026, requires FIPS 140-3 certified modules or AES with at least 256-bit keys outside physically secure locations. For controlled unclassified information on non-federal systems, 32 CFR 2002.14(h)(2) points agencies to NIST SP 800-171. The ADA Title II web and mobile accessibility rule requires WCAG 2.1 Level A and AA from 26 April 2027 for entities serving 50,000 or more people, so refusal messages, fallback responses and citizen forms need to meet that bar too. Confirm with counsel which of these rules apply before you select a control set.
For the framework choice, NeMo Guardrails 0.25.0 is an Apache-2.0 library that requires Python 3.11, 3.12 or 3.13 and can run as a server. NVIDIA sunset the NeMo Microservices container as of October 1, 2026, so do not build a new deployment on that image. Guardrails AI offers validators from Guardrails Hub and a standalone REST service, and it is also Apache-2.0. In either case, place the guardrails behind an AI gateway such as LiteLLM or Apache APISIX so every model call passes the same checks and writes the same logs. Ask a partner to run both libraries against your own policy test set, and confirm that the guard model files can be imported into your boundary without online updates.
Which public sector requirements shape the guardrail build
This table maps each public sector requirement in scope to what it means for where guards sit, what gets logged, how keys are managed and how assistant output must be presented. Read each row as a question to confirm with your assessor, authorizing official or procurement office, since the table identifies design implications and does not state that any requirement is met.
| Requirement | What it means for the guardrail build | Evidence an assessor will ask for |
|---|---|---|
| NIST SP 800-53 Rev. 5 baselines | Guards, gateway and logs are system components, so the chosen SP 800-53B baseline (low, moderate or high) determines how many controls apply to each. Confirm which baseline your system categorization selects before designing guard placement. | System security plan entries mapping guard components to controls, and the baseline profile used |
| FISMA and Inspector General review | Guard configurations, policy changes and blocked-request records are reviewed as part of agency system security. Inspectors General assess the program independently, so policy versioning must be reconstructable after the fact. | Change history for guard policies, access records for policy editors, and continuous monitoring output |
| FedRAMP scope under M-24-15 | If a guardrail or model service is a cloud offering that processes federal information on behalf of an agency, FedRAMP applies. A system used only for one agency's own operations on cloud infrastructure, not offered as a shared service, may be out of scope. Confirm this with your authorizing official. | Scope determination memo and, where in scope, the authorization package for each hosted component |
| CJIS Security Policy v6.1 encryption and scanning | Where criminal justice information reaches prompts, logs or caches, encryption in transit and at rest outside physically secure locations must meet the v6.1 key length and module requirements. Guard logs and model caches inherit this requirement, and vulnerability scanning must run at least monthly. | FIPS 140-3 validation evidence for cryptographic modules, key length configuration, and monthly scan reports |
| 32 CFR 2002.14(h)(2) for CUI | Agencies using non-federal systems for controlled unclassified information must apply NIST SP 800-171 safeguards unless the CUI category sets other rules. Guard decisions on CUI-bearing prompts must be enforced inside that boundary, and self-hosted guard models help keep prompts there. | Documented CUI category requirements, a mapping of guard controls to SP 800-171 requirements, and evidence that CUI does not leave the boundary |
| ADA Title II WCAG 2.1 AA dates | Assistant interfaces and mobile apps offered by state and local government must meet WCAG 2.1 Level A and AA. From 26 April 2027 this applies to entities serving 50,000 or more people, and from 26 April 2028 to smaller entities and special districts. Refusal messages, blocked-response notices and citations must be readable with assistive technology. | Accessibility conformance report against WCAG 2.1 AA, and test results for refusal and block messages |
| NIS2 applicability | NIS2 covers central government entities regardless of size and lists public administration as a high-criticality sector. Member States may extend it to local administration, and it excludes entities working in national security, public security, defense or law enforcement. Confirm your status with national authorities before scoping guard logging and incident reporting. | Written confirmation of applicability, and incident handling records that include guard bypass events |
Which open-source guardrail and gateway components fit agency use
An agency guardrail stack usually combines one rail engine, one gateway that enforces it, and one place where guard decisions are recorded. The components below cover each role, plus two licensing checks and a status warning that changes how the NVIDIA option should be evaluated.
NeMo Guardrails as the rail engine
NeMo Guardrails is Apache-2.0 licensed and configures input, dialog, retrieval, execution and output rails in Colang. Dialog rails suit out-of-scope refusals for a citizen service, retrieval rails check chunks before they reach the model, and execution rails limit which tools an assistant can call. Check that your Python version matches the supported range, and confirm which of the library's classifier and safety models you can load without online access. The LLMRails class is deprecated, so plan new configurations around the Guardrails class.
- Current release
- 0.25.0
Guardrails AI as the validator engine
Guardrails AI is Apache-2.0 licensed and builds guards from validators, such as regex matching or toxicity detection, that can be chained together. Its strength for public sector use is structured output: responses can be forced to match a Pydantic model, which helps when an assistant must return a fixed form, case reference or eligibility answer. Validators come from Guardrails Hub and are installed separately, so each one needs its own license and maintenance review before it enters a closed network.
- Latest release
- 0.11.0
LiteLLM or APISIX as the enforcing gateway
Guardrails only protect traffic that passes through them, so the gateway must be the mandatory path to every model endpoint. LiteLLM is MIT licensed outside its enterprise directory and includes guardrail hooks, key management and logging. Apache APISIX is Apache-2.0 licensed and fits agencies that already run it for API management. Confirm which guardrail hooks each gateway version supports, that model keys are not reachable by applications, and that blocked requests are logged with a reason.
- LiteLLM release
- v1.105.1
Langfuse for guard decision records
Langfuse records traces, prompts, outputs and costs in the agency's own storage. For guardrails, the useful record is each guard decision: which rail fired, the policy version applied, the input or output category, and whether the request was blocked, redacted or allowed. Those records support the logging duties in the AI Act for high-risk systems, though they do not replace a logging design. Its MIT license excludes the ee directories, so confirm which features you run and whether they fall under enterprise terms.
- Latest release
- v4.63.0
Phoenix licensing limits hosting
Arize Phoenix is useful for tracing and evaluating guard behavior, but it is licensed under the Elastic License 2.0, which prohibits providing the software to third parties as a hosted or managed service. An agency running Phoenix for its own staff is generally not offering a managed service, but a contractor operating it for several agencies may be. Ask counsel to confirm the license position before a partner deploys it across client environments.
Phoenix licenseDify and the multi-tenant condition
Dify is a common choice for building assistants, but its modified Apache License 2.0 requires a commercial license to operate a multi-tenant service from the source code, among other conditions. A single agency running one internal tenant may fall outside that condition, while a shared platform serving several departments, or a vendor hosting for multiple agencies, may not. Read the full license text and confirm the tenancy model with the Dify project before standardizing on it for shared government use.
- Latest release
- 1.17.1
NeMo Microservices sunset and NeMo Helix
NVIDIA lists the NeMo microservices container as sunset as of October 1, 2026, with no new releases and no ongoing support. NVIDIA's archived documentation directs existing users to their account team, and the NeMo Platform repository now resolves to NeMo Helix, an Apache-2.0 control plane that runs NeMo Guardrails as an inference gateway plugin. Before adopting this path, ask NVIDIA in writing whether Helix is the supported successor, what it requires to run inside an air-gapped boundary, and how guardrail configurations are versioned and updated.
- Container sunset date
- Oct 1, 2026
How input and output rails map to citizen and staff assistants
A citizen question and a staff query should pass through the same ordered chain of checks, with each step producing a logged decision. A request arrives at the AI gateway, where authentication identifies the citizen or the employee and the gateway selects the guard configuration for that assistant. The input rails then run in order: a scope rail that recognizes out-of-scope topics (for example, a question about a tax appeal on a benefits-only assistant) and returns a fixed refusal, a term blocklist that matches classified, law enforcement or other sensitive vocabulary agreed with the agency's security office, and an injection check on the user text. Only requests that clear these rails reach the model. Which rails are enabled, and their thresholds, should be written down as versioned configuration that the agency's security and records teams can review.
On the way back, retrieval rails check the chunks pulled from agency documents before they are placed in the prompt, so that instructions hidden in a policy PDF cannot steer the answer. Output rails then check the draft response for fairness, plain language and disallowed content, and confirm that any cited document exists in the approved corpus. Open-ended fairness and readability checks are the hardest to make deterministic, so the reader should ask the implementation partner which of these checks are rule-based, which are model-based, and how each is tested against the agency's own sample questions. Accessibility of the rendered interface is a separate test, not a guard.
Every refusal, blocked term and rewritten output must be logged with the rail that fired, the policy version and a pseudonymous session reference, and the log must be kept under the agency's retention rules. Guard classifier models must be deployed inside the agency boundary, with their weights, validator packages and policy files imported through the agency's change process. Confirm that the guard runtime makes no outbound calls for model updates, and treat each model or validator upgrade as a controlled release that is tested before it reaches users.
Where the guardrail boundary sits in an agency request flow
The flow starts with a resident or staff member signing in through the agency identity provider, then passes to the self-hosted AI gateway, which applies input rails before any text reaches a model endpoint inside the agency boundary. Retrieval and output rails check retrieved chunks and the model's answer before the response returns to the user, and every decision is written to a log store that stays inside the boundary. Anything that crosses the external network, such as a hosted model or a remote update channel, sits outside the boundary and should be checked for what data it receives.
Guardrail checks run inside the agency boundary, with only updates crossing the external network.
How an agency rolls out guardrails in phases
The sequence moves from defining what sits inside the agency boundary to a documented go-live decision, so each control is tied to a data class, a written policy, a tested rail and a log record that reviewers can inspect. Each phase closes with a named artifact that the next phase depends on.
Scope the systems and data classes in the boundary
The agency's security or privacy lead, with the system owner, lists every assistant, model endpoint, retrieval source and log store in scope, and records the highest data classification each one may touch. Confirm with the agency's security office which controls baseline applies to each system, for example whether the data is handled under the NIST SP 800-53 moderate or high baseline. The output is a signed system boundary document that names every data flow into and out of the model, including where guardrail models will run.
Define refusal and blocklist policy with records and legal staff
Records officers, legal counsel and the business owner agree which request types the assistant must refuse, which terms are blocked (for example, classified program names or case identifiers), and what the assistant says when it declines. Policy is written as versioned configuration rather than as informal guidance, so each rule has an owner and a reason. The output is an approved policy register with rule IDs, owners, approval dates and a change procedure that records who may edit a rule.
Build and test rails in a non-production environment
Engineers implement input, output and, where retrieval is used, retrieval rails in NeMo Guardrails or Guardrails AI, with configurations stored in version control and deployed to a staging environment that mirrors the production boundary. Test sets include in-scope questions, out-of-scope requests, known injection patterns and sample records with sensitive terms, and results are compared against the policy register. The output is a test report showing pass and fail counts per rule, the false positive and false negative cases reviewed by a named person, and the configuration version that passed.
Add gateway enforcement and decision logging
The platform team places the guardrail check in front of the model endpoint at an AI gateway such as LiteLLM or Apache APISIX so that no application can bypass it, and configures logging of every blocked, modified and allowed request with the rule ID that fired. Log retention and access rules are set with the records and privacy teams, and the team confirms with counsel how long logs must be kept under applicable agency rules. The output is a gateway configuration record and a log sample that shows an attempted bypass is denied and recorded.
Test accessibility and fairness of the assistant
The accessibility team tests the public-facing interface and its error and refusal messages against WCAG 2.1 Level A and AA, the success criteria the ADA Title II rule adopts for state and local government web content, and confirms the deadline that applies to the agency's population size. The fairness review checks whether refusals and blocks fall more often on particular dialects, languages or demographic phrasing, using a documented test set. The output is an accessibility test record and a fairness review memo listing issues, owners and the decision on each.
Hold a documented go-live review
The authorizing official, security, privacy, records, legal and accessibility leads review the boundary document, policy register, test reports, gateway record, log sample and fairness memo against the agreed scope. The review records any accepted residual risk, the named owner for each open issue, and the conditions for re-review, such as a policy change or a model update. The output is a signed go-live decision record that references the exact configuration versions deployed, so the agency can show what was approved and when.
Deployment options by agency environment
Cloud deployments suit agencies whose workload can run in a cloud environment that already holds an authorization covering it. FedRAMP's scope covers cloud products and services that create, collect, process, store or maintain federal information on behalf of an agency, and it treats a system used only for one agency's operations on cloud infrastructure, and not offered as a shared service, as out of scope. Whether the guard stack needs FedRAMP authorization therefore depends on who operates it and whom it serves. In a cloud account, the usual components are:
- Gateway and routing: LiteLLM or Apache APISIX can enforce guardrail calls in front of model endpoints, but only if the gateway's hosting falls inside the authorized boundary.
- Guard runtimes: NeMo Guardrails 0.25.0 (Apache-2.0, Python 3.11 to 3.13) or Guardrails AI with validators from Guardrails Hub, installed from packages the agency has reviewed.
- Model endpoints: Self-hosted classifier and safety models, so inspection does not send prompts to an external moderation API.
- Logs and traces: Guard decisions written to the agency's own log store, with retention set by the agency's records rules.
Confirm with the authorizing official and the provider's authorization package which services, regions and accounts are covered, and whether the guard stack counts as a shared service.
Agency-operated data centers give the most direct control over where prompts, retrieved text and guard decisions are stored, but the agency also owns patching, scanning, key management and hardware. This model usually places the whole stack on agency infrastructure, and the main questions are which controls the facility already inherits and which the guard stack must document itself. Typical components include:
- Full stack on premises: The gateway, guard servers, self-hosted models served with vLLM or Ollama, and the log store all run on agency hardware.
- Cryptography: Where criminal justice information is involved, the CJIS Security Policy version 6.1 expects FIPS 140-3 certified modules, or FIPS 197 AES with at least 256-bit keys, for data in transit and at rest outside physically secure locations. Check the TLS stack and disk encryption on every guard host against that requirement.
- Vulnerability scanning: The same policy calls for scanning at least monthly, which should cover guard servers and their Python dependencies.
- Runtime choice: NVIDIA has sunset the NeMo microservices container as of October 1, 2026, so plan around the NeMo Guardrails library or NeMo Helix, whose documentation describes running guardrails as an inference gateway plugin.
- Inherited controls: Moderate baselines in NIST SP 800-53B select 287 controls and enhancements, and many can be inherited from the facility's existing authorization.
Confirm the inherited control set in writing before the guard stack's own security plan is drafted.
In an air-gapped network, nothing reaches an online update service or hosted moderation API, so every guard component, model file, validator package and rule set must arrive through an approved transfer and be verified before use. The guard stack then behaves as a closed system, and every upgrade repeats the transfer. The items that cross the gap usually include:
- Python packages: Wheels for nemoguardrails 0.25.0 and guardrails-ai 0.11.0, plus any Guardrails Hub validators, mirrored into an internal package index after review.
- Model artifacts: Self-hosted classifiers for toxicity, injection and topic checks, imported as files with recorded checksums. Confirm which built-in detection models the chosen library can load without network access.
- Policy configuration: Colang flows or validator chains kept in version control and moved as signed bundles, so each deployed policy matches an approved version.
- Telemetry settings: The Guardrails AI quickstart asks during configuration whether to enable anonymous metrics reporting, so the answer should be set deliberately and recorded for the offline build.
- Upgrade path: Each new release is reviewed and transferred through the same process, with no automatic dependency fetching.
Confirm with the accreditation authority which transfer media and procedures the network allows, and test that every guard still starts and blocks test prompts with outbound connections disabled.
Evidence auditors and oversight bodies ask for
This table lists the evidence a public sector assessor, inspector or oversight body is likely to request for a guarded government assistant, and the component that produces each record. Read each row as a question to answer before go-live and again after every policy change. DeployOpen prepares this evidence, but auditors, assessors and certifying bodies issue any assessment or authorization decision.
| Evidence | What it shows | Producing component |
|---|---|---|
| System security plan control mapping | Which SP 800-53 controls apply to the assistant at the chosen baseline, who owns each control and how it is implemented | Documentation package maintained by the agency security team, with DeployOpen drafting the implementation statements |
| Guard policy versions | Which input and output rails, validators and blocked-term lists were active at a given time, with approver and change history | Policy repository (Colang configurations or Guardrails AI guard definitions) under version control |
| Blocked-request logs | Each refused prompt or response, the rule that fired and the decision, kept for the retention period set by the applicable rules | Guardrail server logs forwarded to the agency's own log store, with logging at the AI gateway |
| Model and guard call traces | Which model, guard model version and gateway route handled each request, supporting reconstruction of an incident | AI gateway logs and observability platform, self-hosted within the agency boundary |
| Vulnerability scanning records | Scan scope, frequency and remediation for the guardrail host, container images and dependencies, against the monthly scanning expectation in CJIS Security Policy | Vulnerability scanner output and ticketing system owned by the agency or its hosting team |
| Encryption records | Cryptographic modules and key lengths protecting CJI or sensitive data in transit and at rest, including FIPS 140-3 module validation status | Platform configuration, key management system and certificate inventory, confirmed by the agency's assessor |
| Accessibility test results | Conformance of the assistant's web and mobile interface to WCAG 2.1 Level A and AA, with defects and fixes recorded | Automated and manual accessibility testing run by the agency or an accessibility tester, retested after changes |
| Red-team retest reports | Results of prompt injection and data leakage tests against the guards, with findings, fixes and a retest showing closure | Security testing reports delivered by DeployOpen or the agency's testing team, retained with the system record |
What agencies ask before hiring a guardrail implementation partner
What drives the cost of a public sector guardrail implementation?
The cost depends mostly on the number of assistants covered, how many input and output checks each one needs, and how much policy work the agency must absorb. Costs fall into four groups: the partner's fixed-scope implementation work, the compute for self-hosted classifier models, the internal staff time for policy and accessibility review, and ongoing testing and upkeep. Ask the partner to price each group separately in the written scope, and state which items are one-time and which recur, such as model updates, log storage and retesting after policy changes. DeployOpen does not publish a price list, so a quote follows from that written scope.
How long does a guardrail rollout take in an agency?
Duration depends on how many assistants are in scope, whether they are citizen-facing, and how quickly approvals move through the agency's security, records and accessibility reviews. Engineering time is usually the smaller share when policies must be agreed first. Ask the partner for a timeline that separates policy agreement, build, testing, and the review windows your own governance requires. No duration should be accepted until it is written into the scope, and any dependency on other teams should be named in that document.
What must agency staff provide before a guardrail project starts?
Three groups of people usually need to contribute. Policy owners must define which topics are out of scope, which terms are sensitive, and what the assistant should say when it refuses. Records officers must confirm how guard decisions and blocked requests should be retained and who may read them. Accessibility reviewers must check that the assistant's responses and interface meet the WCAG 2.1 Level A and AA expectations that apply to the agency under the ADA Title II rule. Ask the partner to list these inputs, their owners and the decisions each one must sign off before work begins.
Can our internal team run the guardrails after launch?
Often yes for routine operation, but not without defined skills and time. An internal team can usually keep the gateway, the guardrail service and the log pipeline running, apply updates and review blocked-request reports. Policy changes, red-team testing and tuning for false positives need people who understand both the language model and the agency's rules. Ask the partner what runbooks, training and handover materials are included, which tasks remain with the partner under a retainer, and how many staff hours your team should expect each month. Confirm these in writing rather than assuming they transfer.
How does FedRAMP scope affect the guardrail design?
FedRAMP applies to cloud products and services that create, collect, process, store or maintain federal information on behalf of an agency. A system used only for one agency's operations on cloud infrastructure, and not offered as a shared service, falls outside that scope, according to the FedRAMP Consolidated Rules for 2026. Whether a self-hosted guardrail stack inside your own accounts is in scope therefore depends on how the agency and its hosting provider are structured. Ask counsel and your authorizing official to confirm this early, because it affects where classifier models run, where logs are stored and which hosting services can be used.
How are guardrail policies stored, versioned and updated?
Policies should be kept as configuration under version control, with each change reviewed, tested against a fixed set of prompts and approved before deployment. The agency should be able to tell which policy version handled a given request and roll back to an earlier version quickly. Ask the partner how policy files are stored, who can approve changes, how test results are attached to each release, and how long previous versions and blocked-request logs are retained. Retention periods should follow the agency's records schedule and any applicable law, which your records officer must confirm.
Which guardrail components need the most engineering and testing effort?
Blocking out-of-scope requests and sensitive terms is usually straightforward to configure, but tuning them without blocking legitimate citizen questions takes repeated testing on real phrasing. Fairness and accessibility checks need reviewers and sample data, not only code. Ask the partner how false positive rates will be measured on the agency's own data, which test sets will be delivered, and how red-team results feed back into policy changes. Any claim about detection accuracy should come with the test method attached, and the partner should not promise a specific rate before testing has run.
Questions to put to an implementation partner for an agency
Start with the false positive question, because a guard that blocks legitimate citizen requests fails the service even when it stops every attack. Ask the partner how they measure false positives and false negatives on your own agency data, not on public benchmarks, and who labels the test set. Ask which sample of real but anonymized request types they will use, how refusal rates are reported by topic and language, and how threshold changes are re-tested before go-live. Ask where each guard model runs: NeMo Guardrails or Guardrails AI validators, any classifier or safety model, and the gateway that enforces them must all sit inside the agency boundary. Ask for a written list of every outbound network call the guard path makes, and treat any hosted moderation API in the request path as a red flag unless the agency has approved it for that data.
Next, ask how policy changes are reviewed, versioned and rolled back. Rails and validator configurations should live in version control with named approvers from the program and security teams, and each deployed policy should be traceable to a specific build. Ask how logs of blocked and allowed requests meet the agency's own records schedule. Retention periods are set by your records officer and applicable law, so confirm them first, then ask where guard decisions are stored, who can read them, and how they are protected from alteration. Ask how the partner scopes CUI and CJI handling: which guard components can see controlled information, whether that data is ever sent to a model or logged in clear text, and which controls from NIST SP 800-171 or the CJIS Security Policy they map to, given that the applicable baseline depends on your data. Ask the partner to name the accessibility tests they run on refusal and error messages, including screen reader behavior and WCAG 2.1 checks against the rule your entity is subject to.
Finally, ask what happens to the rails when NeMo Guardrails or Guardrails AI changes. Ask which versions are pinned, how upgrades are tested against your regression suite, and how the partner will handle deprecations. For example, the NeMo Guardrails 0.25.0 release deprecates the LLMRails class in favor of Guardrails, so ask how that migration is planned and which release is tested. Confirm whether the partner runs a parallel period before cutover, and who signs off. Also ask about the NeMo Microservices sunset: the NGC guardrails container is no longer supported, so ask which packaging the partner will use and how it will be kept current inside an air-gapped network. Request a written answer to each question, with the test evidence and retest dates, before the scope is signed.
How guard effectiveness is tested before and after launch
This sequence shows whether each input and output rail blocks what it is meant to block, and it leaves a dated record of results that the agency's security, privacy and accessibility reviewers can read. Testing runs before go-live, after every policy change, and on a schedule once the assistant is in service.
Define the risks and pass criteria per rail
Before any test runs, the agency and the test team agree which risks each rail addresses: prompt injection, scope bypass, sensitive-term evasion, and biased or inaccessible output. For each risk they write the expected behavior, such as refusing an out-of-scope question or withholding a restricted term, and the evidence that would prove it. Done means every rail in the policy has a named owner and a written pass condition that a reviewer can check without asking the test team what they meant.
Build prompt injection test cases
The test team assembles a set of direct and indirect injection attempts, including instructions hidden in uploaded files and in retrieved document text, attempts to override the system prompt, and requests to reveal configuration. Each case is tagged with the rail expected to catch it and the expected outcome. Done means the set covers every input rail and every retrieval rail in scope, and the case file is version controlled so later runs use the same inputs.
Test scope bypass and sensitive-term evasion
Testers attempt to move the assistant outside its approved topics through rephrasing, role-play, multi-turn drift and translation, and they try to reach blocked or classified terms through misspellings, spacing tricks, abbreviations and encoded text. Results are recorded per case with the input, the rail decision and the final output. Done means each bypass attempt has a recorded outcome, and every successful bypass is logged as a defect with a severity and a proposed policy change.
Test output for bias and accessibility
Testers run matched prompts that differ only in names, dialects, locations or other group signals and compare the responses for differences in tone, refusal rate or quality. They also check that generated content follows the agency's accessibility expectations, including plain language and structured headings where the assistant produces web content. Reviewers from the fairness or accessibility function score the samples. Done means the reviewers sign off on each sample set, and any unexplained difference is documented as an open finding.
Retest after every policy change
Each change to a rail, threshold, term list or model version triggers a full run of the affected test cases plus a regression sample from the rest of the suite. The team compares the new results with the last approved baseline and flags any case that changed outcome. Done means the change record links to the regression report, and the change is not promoted to production until the report shows no unexplained regressions.
Run a pre-launch review with the agency
Before go-live, the test team presents the results to the agency's security, privacy and accessibility owners, including the open findings and the accepted residual risks. The agency decides which findings block launch. Done means the approval is recorded with the names and roles of the approvers and the date of the test run they reviewed.
Schedule ongoing testing after launch
After launch, the same suite runs on a recurring schedule and whenever the model, gateway or guardrail library is upgraded. New attack patterns discovered in production logs are added to the suite. Done means the schedule is written into the operating procedures, and each run produces a dated report that the agency can compare with earlier runs.
File results as evidence
Test inputs, rail decisions, reviewer sign-offs, defect records and change approvals are stored together in the evidence file, with the version of each rail and model in use at the time. The file is kept with the logging records the agency already holds for the assistant. Done means an auditor or internal reviewer can trace any released policy version back to the test run that approved it, and can see how each defect was closed.
How DeployOpen scopes, builds and supports public sector guardrails
DeployOpen plans, implements, hardens, documents and supports self-hosted guardrails inside the agency's own infrastructure, so the security and compliance teams review the same controls that run in production. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.
How we scope
- We confirm which assistants, user groups and data classes the guardrails must cover before anything is built.
- We define out-of-scope topics, blocked terms and classified or sensitive data categories with the agency's policy owners.
- We agree in writing which guard checks run on input, output and retrieved content, and the latency budget for each.
How we build
- We deploy the chosen guardrail framework, such as NeMo Guardrails or Guardrails AI, inside the agency's own accounts or data center.
- We enforce guard policies at the AI gateway and configure logging of every blocked request for later review.
- We test refusals, fairness and accessibility behavior against the agreed test set and document the false positives found.
How we hand over
- We deliver configuration files, policy versions, test results and a runbook the agency's own staff can operate.
- We prepare evidence packs for the agency's assessors, mapping controls to the baselines the agency already follows.
- We document how guard models and validator packages are updated, including how changes are approved and rolled back.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
- We retest guardrails after each model, framework or policy change and report any regressions with fixes.
- Ask any partner to confirm who holds administrator access and where guard logs are stored after handover.

