How LLM guardrails help meet EU AI Act Article 15 for high-risk systems
If you are the provider of a high-risk AI system built on a language model, input and output guardrails are one technical control that supports the robustness and manipulation-resistance duties in Article 15. They are not a compliance certificate, and no guardrail product makes a system compliant on its own. Article 15(1) asks for an appropriate level of accuracy, robustness and cybersecurity that stays consistent across the lifecycle, and Article 15(3) asks you to declare accuracy levels and metrics in the instructions for use. Article 15(4) asks for resilience to errors, faults and inconsistencies, with redundancy such as fail-safe plans allowed. Article 15(5) asks for resilience against attempts to alter use, outputs or performance, including prompt-based manipulation, confidentiality attacks and model evasion. Under Regulation (EU) 2026/1744, Articles 8 to 15 apply from 2 December 2027 for Annex III systems and from 2 August 2028 for Annex I product systems.
Guardrails map most directly to Article 15(5). Input rails can screen for injection and jailbreak attempts before a prompt reaches the model, and output rails can check responses for leaked personal data, disallowed content or unsupported claims before they reach the user. The decisions to make now are where these rails run (in the gateway, in the application or both), which failure modes each rail covers, and what happens when a rail blocks or fails. Ask your team to document the fail-closed or fail-open behavior for each rail, since Article 15(4) expects the system to handle faults predictably.
Guardrails do not cover everything Article 15 asks for. Accuracy and robustness claims need evaluation on representative data, with the metrics you will declare in the instructions for use, and the guard decisions themselves need to be tested for false positives and false negatives. Article 15(4) feedback-loop obligations apply only where the system keeps learning after deployment, so confirm early whether yours does. Plan a red-team exercise against the deployed configuration, keep versioned guardrail policies with change records, and confirm with your legal and conformity assessment advisers which evidence your Annex and conformity route will require.
Mapping Article 15 duties to input and output rails
This table compares each Article 15 duty that applies to a language-model system with the runtime rails and validators that can support it, and with the configuration a reader should ask for. Read it as a starting point for a control design, not as proof of compliance. The main takeaway is that rails cover runtime manipulation and output quality well, but accuracy declarations, fail-safe design and training-time poisoning need controls and evidence outside the guardrail layer.
| Requirement | What the function must do | How to configure it |
|---|---|---|
| Article 15(1) accuracy, robustness and cybersecurity | Keep accuracy, robustness and cybersecurity at an appropriate level and consistent across the lifecycle, so guard behavior must be tested and monitored over time. | Define input and output rails in NeMo Guardrails (Colang) and chain Guardrails AI validators at the gateway. Version each policy and re-run a fixed test set after every change. |
| Article 15(3) declared accuracy metrics | Declare accuracy levels and metrics in the instructions for use, so guard metrics must be measurable and reportable. | Log each block, pass and redaction decision with its rail name. Measure false positive and false negative rates on your own labeled prompts and outputs, and record them for the instructions for use. |
| Article 15(4) resilience to errors and fail-safe plans | Handle faults and inconsistencies, and allow redundancy such as a backup or fail-safe plan when a guard fails or times out. | Set an explicit fail-closed or fail-open rule per rail. Configure a fallback response or a second validator, and test timeout behavior in the gateway. |
| Article 15(4) feedback loops from biased outputs | Where the system keeps learning after deployment, address feedback loops that can carry biased outputs forward. | Review flagged outputs on a schedule, and confirm whether the system learns from user feedback at all. Keep prompt and policy changes under change control so drift is traceable. |
| Article 15(5) data poisoning, adversarial examples, evasion and confidentiality attacks | Resist attempts to alter use, outputs or performance, including prompt injection, jailbreaks, evasion and extraction of confidential data. Rails address runtime attacks but not training-time poisoning, which needs controls on training data and model sources. | Use jailbreak and injection detection and retrieval rails for RAG chunks in NeMo Guardrails, and PII or prompt-injection validators in Guardrails AI. Test evasion with paraphrased and encoded attacks, and confirm poisoning controls separately. |
Which guardrail frameworks fit and where they run
NeMo Guardrails is an Apache-2.0 library that configures input, dialog, retrieval, execution and output rails in the Colang language. Its current library release is 0.25.0, published on November 19, 2026, and it requires Python 3.11, 3.12 or 3.13. It can be called through its Python API or run as a guardrails server that loads configurations from a folder and exposes an HTTP API, with a Dockerfile provided to build a server image.
- Rail types: input, dialog, retrieval (for RAG chunks), execution (for tools and custom actions) and output rails.
- Built-in detectors: self-check moderation, fact-checking, hallucination detection, jailbreak and injection detection, and content and topic safety models.
- Migration: 0.25.0 deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0, and NVIDIA publishes a 0.25 migration guide.
- Runtime fit: a Python service you package and run in your own cluster, with model calls kept on infrastructure you control.
- Support caveat: the NeMo microservice container was sunset on October 1, 2026, so do not select the container without written confirmation of its support path.
Confirm with NVIDIA's current documentation which artifact your team will deploy and who supports it for the life of your system.
Guardrails AI is an Apache-2.0 framework whose guards are built from validators published on Guardrails Hub, such as regex matching or toxicity detection. You install validators separately after pip install guardrails-ai and chain them together. Its latest release listed in the project's releases page is v0.11.0, published on August 14, 2026, so confirm the version you pin against the current release list.
- Validators: install named validators from Guardrails Hub or write custom validators and contribute them back.
- Structured output: generates output that matches Pydantic models using function calling or prompt optimization.
- REST service: runs as a standalone Flask service started with
guardrails startand can be called through the OpenAI SDK. - Telemetry:
guardrails configureasks whether to enable anonymous metrics reporting, so set that choice during provisioning. - Validator provenance: each third-party validator is code you must review, pin and approve before it enters the production image.
If your evidence depends on a specific detector, check that a validator for it exists on Guardrails Hub and that its licensing and model files can be imported into your environment.
Guard libraries decide whether a prompt or response passes. An AI gateway makes every model call pass through those decisions, so the controls cannot be skipped by an application that calls a model directly. LiteLLM is an MIT-licensed gateway that calls more than 100 LLM APIs in OpenAI format and includes guardrails, logging and cost tracking. Apache APISIX is an Apache-2.0 API and AI gateway, with 3.19.0 published on September 28, 2026.
- Single choke point: route applications through the gateway so guard decisions and logs apply to all traffic.
- Logging: record blocked requests, rule identifiers and model versions to support the automatic logging duties in Article 12 and the retention duties in Article 19.
- Keys and budgets: scope provider credentials and limits per application so a bypass cannot expand access.
- Latency: each guard adds a network hop and compute; measure it on your own prompts.
- Integration: confirm how each framework is invoked from the gateway, because the call pattern differs between libraries and services.
Confirm which gateway features your version supports before writing them into the design.
Framework choice depends on support status as much as features. NVIDIA has sunset the NeMo microservices, and its archived documentation asks existing users to contact their NVIDIA account team. The repository linked from that notice, NVIDIA-NeMo/nemo-platform, now resolves to NVIDIA-NeMo/nemo-helix, an Apache-2.0 control plane whose documentation runs NeMo Guardrails as an inference gateway middleware plugin.
- Sunset notice: the NGC container states no new releases and no support as of October 1, 2026.
- Successor path: NeMo Helix runs guardrail configurations on model endpoints, which is a different deployment model from a standalone server.
- Library releases: the NeMo Guardrails library continued to publish releases, including 0.24.1 on September 16, 2026, and 0.25.0 later.
- Written confirmation: ask NVIDIA which artifact, support window and upgrade path apply to your deployment.
- Exit plan: if support is unclear, keep rail definitions portable and test Guardrails AI validators in parallel.
Before selecting either framework, obtain written support status for the exact artifact and version you intend to run.
Evidence auditors and market surveillance will ask for
This table lists the evidence a provider of a high-risk system should be able to produce for Article 15 robustness and cybersecurity, and the component that generates each item. Read each row as a question an assessor would ask, then check whether your setup can answer it from records it keeps itself. Rail configurations, gateway logs and traces are the raw material; the documents and test results that interpret them are still your responsibility to write and maintain.
| Evidence | Purpose | Component that produces it |
|---|---|---|
| Technical documentation of rail configurations and versions | Shows which input and output rails were active, what they check and which version was live on a given date | Rail configs in version control, with tagged releases tied to each deployment |
| Declared accuracy and robustness metrics for the instructions for use | States the accuracy levels and metrics the system is declared to meet, as Article 15(3) requires | Evaluation runs and metric reports from Langfuse or Phoenix, reviewed against the declared figures |
| Test results for injection and jailbreak attempts | Shows that resistance to manipulation (Article 15(5)) was tested before release and after changes | Red-team reports with attack inventory, pass and fail results and retest records |
| Blocked-request logs | Shows what the guardrails stopped, why, and whether false positives were reviewed | Gateway logs and rail decision records, with reason codes and reviewer notes |
| Article 12 and Article 19 automatically generated logs, kept at least six months | Demonstrates that events are recorded over the system's lifetime and retained for the period Article 19(1) sets, unless other law requires longer | Gateway logs and Langfuse or Phoenix traces written to your own storage with retention rules set |
| Change records for policy updates | Shows who changed a rail, when, why and what was tested before go-live | Pull request history, approval records and deployment logs for the configuration repository |
| Fail-safe and fallback design | Documents how the system behaves when a guard times out, fails or is unavailable, as Article 15(4) allows for redundancy | Gateway failover settings, documented default-deny or default-allow choices and periodic failure tests |
What guardrails alone do not satisfy
Does a conformity assessment mean an independent auditor must certify our LLM system?
For most Annex III high-risk systems, the Act uses an internal-control conformity assessment described in Annex VI, so the provider carries out the assessment itself rather than using a notified body. Notified bodies are involved for some biometric systems and Annex I products under Article 43. The first harmonised standard, EN 18286:2026 on quality management, was cited in the Official Journal on 14 October 2026, and it sets out what a quality management system should contain. Confirm with your legal counsel which annex and route applies to your system. DeployOpen can prepare the technical evidence and test the controls, but it does not issue certifications, attestations or audit reports; those come from the assessment process and independent bodies.
Do input and output guardrails protect against training data or model poisoning?
No. Runtime rails inspect prompts and responses at inference time, while Article 15(5) also expects measures against data poisoning, model poisoning and model flaws that act upstream of inference. Those controls cover provenance and access control for training, fine-tuning and retrieval corpora, validation of data before it enters an index or training set, integrity checks on model weights and adapters, and review of third-party models. Retrieval rails do not clean a poisoned index. Ask your team which corpora feed the system, who can write to them, and how changes are reviewed and logged.
How do we measure accuracy when the guardrail is only checking for unsafe content?
A guardrail reports whether a rule fired, not whether the model's answers are correct for your use. Article 15(3) expects accuracy levels and metrics to be declared in the instructions for use, which means measuring performance on your own representative data: task-level accuracy, groundedness of answers to source documents, and consistency across repeated runs and model updates. Build an evaluation set from real workflows with agreed expected outcomes, record results per model version, and set thresholds before release. Public benchmarks alone rarely reflect your users or documents.
How many legitimate requests will a guardrail block, and who pays for that?
Every classifier trades missed attacks against false positives, and each blocked legitimate request is a user-facing failure. Measure false positive and false negative rates on your own traffic, separately for each rail, and document the threshold chosen and why. Track how often users are refused, how they are told, and whether there is a route to a human or a rephrased request. Tuning costs are recurring: each policy change needs re-testing against both attack samples and normal queries. Ask any partner for the test set they used and how threshold changes are versioned.
What monitoring keeps a deployed model from drifting or reinforcing biased outputs?
Article 15(4) asks for resilience to errors and inconsistencies, and it addresses systems that keep learning after deployment, where feedback loops from biased outputs must be handled. Guardrails do not detect slow drift in answer quality or bias patterns. Continuous monitoring needs scheduled re-evaluation against the fixed test set, sampling of production outputs for human review, alerts on changes in refusal or block rates, and a documented process for retraining or rollback. Self-hosted tracing tools such as Langfuse or Phoenix can store traces and evaluation results in your own storage, but you must define what is measured and who reviews it. Confirm each tool's license terms before hosting it for internal or customer use.
What residual risk documentation do auditors and market surveillance authorities expect?
Article 15 expects the provider to address known and foreseeable risks, and the residual risk left after controls should be stated openly. Document each identified risk, the control applied, the test that shows the control works, the remaining exposure, and who accepted it. Include known limits such as bypass techniques that guardrails do not cover, languages or document types with weaker detection, and the conditions under which the system should not be used. Logging also matters: Article 12(1) requires the system to technically allow automatic event recording over its lifetime, and Article 19(1) requires providers to keep those logs for at least six months unless other law provides otherwise. Keep the risk register under version control so each release has a matching record.
Can our own team prepare the evidence, or do we need DeployOpen for it?
Your team can do much of the work, and the effort depends on how many systems, models and integrations are in scope, and whether the team already runs a quality management system and security testing. Work that often sits with a partner includes adversarial testing of the rails, building and maintaining the evaluation set, and assembling the technical file for review. DeployOpen plans, implements, tests and documents self-hosted AI controls inside your infrastructure, and prepares evidence for compliance assessments, but the assessment outcome and any certification remain with your organization and independent bodies. Ask any partner to define in writing which artifacts they deliver and which you must own.
What still needs testing and documentation before the audit
This sequence turns the Article 15 duties into a tested, documented and logged guardrail setup that a conformity assessor can review. Each step produces evidence that the rails work, where they fail and how the provider will keep them current after every change.
Define the Article 15 risk register
The provider and its risk owners list each accuracy, robustness and cybersecurity risk for the specific assistant, including prompt injection, data leakage, unsafe output, confidentiality attacks and model flaws. Each risk is tied to a named owner, a severity and the rail or non-technical control meant to address it. The step is done when every risk has a control, or an explicit decision to accept it, and the register is approved and versioned.
Build input and output rails
Engineers implement the rails that the register calls for, using NeMo Guardrails or Guardrails AI running inside the organization's own infrastructure and enforced at the AI gateway. Policies are written as configuration in version control, with the classifier models and validator packages pinned to known versions. The step closes when each rail can be traced to a register entry and a deployable configuration exists for each environment.
Run adversarial and injection test suites
A security team runs a repeatable suite of prompt injection, jailbreak, data extraction and unsafe output tests against the deployed rails, including indirect injection through retrieved content and attempts to alter tool use where agents are involved. Results are recorded per test case with the expected and observed behavior. The step is complete when the suite runs end to end, each failure has a ticket, and the pass results are stored as evidence.
Measure false positive and false negative rates
The team builds an evaluation set from representative prompts and documents drawn from the intended use, including legitimate requests that resemble attacks and attacks that resemble legitimate requests. It measures how often rails block valid answers and how often they let harmful inputs or outputs through, by risk category. The step produces a metrics report with the dataset description and its limits. Where the report cannot support a stated accuracy level, the gap goes back into the register.
Document configurations and declared metrics
The provider writes the technical documentation and instructions for use sections that describe the accuracy levels and metrics, the known limitations, the rail configurations and their versions, and the fallback behavior when a rail blocks or fails. Article 15(3) requires the declared accuracy levels and metrics to appear in the instructions for use, so the figures come directly from the measurement step. The step is done when a reviewer outside the build team can reproduce each stated metric from the documentation.
Set logging and retention for blocked events
Engineers configure the gateway and rails to record blocked inputs, blocked outputs, rail decisions and the configuration version in effect, with access controls on the log store. Article 12(1) requires the system to technically allow automatic recording of events over its lifetime, and Article 19(1) requires providers to keep those logs for at least six months unless other law provides otherwise. Retention periods, personal data handling and log access are confirmed with legal and data protection staff. The step closes with a test that shows a blocked event appears in the log with the right fields.
Schedule retests after each change
The team sets a change process in which any policy edit, classifier model update, validator upgrade or underlying model change triggers the injection suite and the metrics evaluation again before release. Results are compared against the previous baseline, and the register and documentation are updated with the new version. The step is complete when the change process is written, the retest triggers are listed, and a sample change has been run through it end to end.
How guard checks sit between users, the gateway and the model
The request starts with a user or an application calling the AI gateway, which runs the input rails before anything reaches the model endpoint. Only checked prompts pass to the model, and the output rails inspect the response before it returns to the user. Every decision, blocked or allowed, is written to logs in storage the organization runs itself, and a fail-safe path returns a safe refusal when a guard cannot run. Check that the trust boundary covers every hop, including the guard models and the log store.
Input and output rails wrap the model, with logging and a fail-safe path inside the boundary.
Questions buyers ask before hiring help with AI Act guardrails
Do LLM guardrails satisfy Article 15 of the EU AI Act on their own?
No. Input and output rails support the Article 15 duties on robustness and resilience to manipulation, such as blocking prompt injection and filtering unsafe output, but Article 15 covers the whole system. Accuracy levels and metrics must be declared in the instructions for use under Article 15(3), and resilience against data poisoning, model evasion and confidentiality attacks needs testing, monitoring and documentation beyond runtime filters. Guardrails are one control among several that a provider has to evidence. Confirm the full obligation set with your legal counsel and a notified or independent assessor where relevant.
Which application date applies to high-risk AI systems under the EU AI Act?
As amended by Regulation (EU) 2026/1744, Articles 8 to 15 apply from 2 December 2027 for Annex III systems and from 2 August 2028 for Annex I product systems, per Article 113. Those dates replaced the earlier 2 August 2026 and 2 August 2027 dates. Check which annex your system falls under, because that decides the date. Legal teams should confirm the current consolidated text before planning, since the Act has been amended recently.
What drives the cost of self-hosted guardrails, and what should a quote include?
Costs fall into one-time work (architecture, policy design, integration with the AI gateway, initial red-team testing and documentation) and recurring work (compute for classifier models, log storage, policy tuning, retesting after model or prompt changes and staff time). Cost rises with the number of risk categories, the volume of traffic that passes the guards, the latency budget and the amount of evidence the compliance team needs. Ask for a written quote that lists each deliverable, the environments covered, who maintains the policies after handover and what is excluded. DeployOpen does not publish prices; quotes follow from the agreed scope.
How long does an AI Act guardrail project take?
Duration depends on scope: the number of applications and models covered, how many risk categories the rails must address, whether classifier models must be deployed in air-gapped networks, and how much testing and documentation evidence is required. A narrow scope on one assistant takes far less time than a shared gateway serving several products. Ask for a phased plan with milestones and dependencies in the written scope before work starts, and check that it fits the application date that applies to your system.
What must our team provide before an implementation partner can start?
Plan for three groups of inputs. Risk owners must agree which harms the system must prevent and which residual risks the organization accepts. System owners must provide architecture details, model and gateway versions, identity and logging setup and change procedures. Data owners must confirm what data flows through prompts, retrieved documents and logs, and which personal or confidential categories apply. Without these decisions, the partner cannot write meaningful policies or test results that your assessors will accept.
Can our in-house team build and run these guardrails without a partner?
Often yes for a single assistant with a small team, if the team already runs the model serving stack and has engineers who can write and test policies. The work that is harder to staff internally is independent red-team testing, evidence packaging for the compliance function and ongoing retesting. Note that NeMo Guardrails and Guardrails AI are open source, so licensing is not the barrier. Assess skills, capacity and the need for independent testing before deciding. Retain at least one internal owner for policies in every case.
What happens to guardrails after a policy or model change?
Every change to a policy, model, prompt template or gateway setting can alter which requests are blocked and what gets through, so each change should go through version control, a test run against known attack and benign cases, and a documented approval. Log blocked and allowed decisions so the effect of a change is visible. Plan for retesting after model upgrades and for periodic review of false positives with business users. Confirm with any partner who runs this cycle, who approves changes and how evidence is archived.
Do the open-source guardrail libraries still get updates?
Yes for Guardrails AI and NeMo Guardrails, but check the status of any product before you commit. The NeMo Guardrails library has a 0.25.0 release published on 19 November 2026 under Apache-2.0, while NVIDIA has sunset the NeMo Microservices container and moved new development to NeMo Platform. Confirm the maintenance status of each component in writing, and plan for the upgrade path so the Article 15 evidence does not depend on an unsupported artifact.
Official sources to read next
The regulation, the standardisation page and the two guardrail frameworks are the primary texts behind this page. Read the Article 15 wording before you scope tests, then check the amended consolidated text for dates and the framework docs for what each rail can and cannot do.
Article 15 text
Read Article 15(5) closely: it asks for resilience against attempts to alter use, outputs or performance, including data poisoning, adversarial examples, model evasion and confidentiality attacks. Input and output rails address some of these at runtime, but they do not cover training data or model flaws. Map each sub-point to a named control and a test, and record which ones your rails leave open.
Article 15 textConsolidated text as amended
The consolidated text includes the changes made by Regulation (EU) 2026/1744. Use it to confirm which high-risk obligations apply to your system and when. Check whether your system is an Annex III or Annex I product, since the application dates differ. Keep a dated copy of the text you relied on for your compliance file.
- Annex III application
- 2 December 2027
Standardisation page
The Commission's standardisation page tracks the harmonised standards that will give presumption of conformity. Check which standards are cited for the requirements you need, and note that EN 18286:2026 covers quality management. Where a standard is not yet cited, plan your evidence against the Article text directly and confirm the status with your notified or conformity assessment body.
Standardisation pageNeMo Guardrails documentation
Use the documentation to confirm which rail types exist (input, dialog, retrieval, execution and output) and which detection models ship with the library. Note the 0.25 migration guidance for the deprecated LLMRails class. Test each rail against your own prompts, because a documented capability is not evidence that it meets your accuracy and robustness targets.
- Current release
- 0.25.0
Guardrails AI quickstart
The quickstart shows how guards are configured and served, and how validators from Guardrails Hub are installed and chained. Use it to check whether the validators you need are maintained and how each guard records its outcome. Confirm the telemetry setting during configuration, since the quickstart asks whether to enable anonymous metrics reporting, and set it to match your data handling policy.
Guardrails AI quickstartHow DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted guardrail stacks inside the client's own infrastructure, so the rails, logs and test evidence sit where the compliance team can review them. We prepare systems and evidence for compliance assessments, but we do not issue audit reports, attestations or certifications, which independent bodies do.
How we scope
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Scope maps each Article 15 duty to named input and output rails, plus the risks they must cover.
- Scope records which Article 12 and Article 19 logs the guard decisions must produce, and how long they are kept.
How we build
- We deploy NeMo Guardrails or Guardrails AI in your infrastructure, enforced at your AI gateway rather than in application code alone.
- We configure input, output and retrieval rails, validators and self-hosted classifier models, with policies kept under version control.
- We test each rail against prompt injection, data leakage and unsafe output, including adversarial cases, and deliver a findings report with fixes and a retest.
How we hand over
- Handover includes configuration, policy versions, test results and a record of known gaps the client still has to close.
- Documentation maps each control to the Article 15 duty it supports, so your team can prepare instructions for use and technical files.
- We identify what still needs testing or documentation outside the guardrails, including accuracy metrics and fallback plans.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retesting runs when the model, policy set or guardrail library version changes, to confirm the rails still hold.
- Ask any partner to confirm which AI Act obligations apply to your system, since that determination belongs to your legal and compliance teams.

