---
title: "What six AI guardrails do when their own check fails"
description: "What six AI guardrails, and QWED, do by default when their own check errors, times out or cannot read the input, from their code and docs at pinned releases."
url: https://qwedai.tech/blog/what-happens-when-the-check-fails
---

[Blog](https://qwedai.tech/blog) · Failure defaults

# What six AI guardrails do when their own check fails

What six AI guardrails, and QWED, do by default when their own check errors, times out or cannot read the input, from their code and docs at pinned releases.

**Rahul Dass** Founder, QWED 29 November 2026 · 5 min read

## Where each one lands when its check fails

The default when the check itself errors, times out or cannot read the input, from each project's code and docs at a pinned release. Each lane's icon is drawn filled, two-tone or as an outline, from shut to open.

### Stopped by default

-   **QWED**

    Errors and unprovable claims are denied.

    [What fail-closed means](https://qwedai.tech/guides/fail-closed)
-   **Agent Governance Toolkit**

    Any error during evaluation is a deny.

    [QWED vs Agent Governance Toolkit](https://qwedai.tech/compare/agent-governance-toolkit) Checked 28 November 2026

### Depends on configuration

-   **NeMo Guardrails**

    No library-wide policy; each rail and engine differs.

    [QWED vs NeMo Guardrails](https://qwedai.tech/compare/nemo-guardrails) Checked 27 November 2026
-   **Guardrails AI**

    A failed check raises in Python and passes in RAIL by default.

    [QWED vs Guardrails AI](https://qwedai.tech/compare/guardrails-ai) Checked 27 November 2026
-   **LlamaFirewall**

    Not documented; differs from scanner to scanner.

    [QWED vs LlamaFirewall](https://qwedai.tech/compare/llamafirewall) Checked 28 November 2026

### Goes through by default

-   **OpenAI Guardrails**

    The library passes content on when a check errors.

    [QWED vs OpenAI Guardrails](https://qwedai.tech/compare/openai-guardrails) Checked 28 November 2026
-   **Bedrock Automated Reasoning**

    Detect-only: it returns findings and never blocks.

    [QWED vs Bedrock Automated Reasoning](https://qwedai.tech/compare/bedrock-automated-reasoning) Checked 28 November 2026

When a guardrail’s check cannot finish, because a model call times out, a validator throws or the input is in a format the scanner cannot read, the request is either stopped or let through. Which of the two happens is a default that each tool sets.

This post sets out that default for the six tools on the [comparison page](https://qwedai.tech/compare), and for QWED, from their code and docs at pinned releases, read on 27 and 28 November 2026. QWED’s own exception is included.

## Which tools let content through by default?

**OpenAI Guardrails.** In the library’s default mode, content goes through when a check errors. Raising instead is a setting that has to be turned on. The Agents SDK raises an error in a guardrail and ends the run. Its input guardrails run alongside the agent by default, so tools may already have run by the time a tripwire fires. Since 0.26.0, a tripwire stops the function tools that have not started. [QWED vs OpenAI Guardrails](https://qwedai.tech/compare/openai-guardrails)

**Amazon Bedrock Automated Reasoning checks.** These checks return findings and never block content. Other Bedrock Guardrails policies can block; these cannot. For off-topic content, where no policy variable can be mapped, AWS lists serving the response without validation as one option, and calls `NO_TRANSLATIONS` a warning signal. On `InvokeModel`, and on `Converse` with plain text, content without guardrail tags skips the check and no error is raised. `ApplyGuardrail` checks all the content it is given. [QWED vs Bedrock Automated Reasoning](https://qwedai.tech/compare/bedrock-automated-reasoning)

## Which ones depend on configuration?

**NVIDIA NeMo Guardrails.** The docs say no library-wide failure policy covers every rail. The IORails engine, which Guardrails runs by default, blocks when a rail fails, and a provider’s own error comes back as an error. The hooks server, new in 0.25.0, works differently: when it cannot finish a check, the coding agent decides, and by default Claude Code and Codex then run the tool. [QWED vs NeMo Guardrails](https://qwedai.tech/compare/nemo-guardrails)

**Guardrails AI.** In the Python API, a failed validation raises an exception by default (`on_fail` is `EXCEPTION`). In a RAIL spec with no on-fail attribute, the default is `NOOP`, which logs the failure and passes the output on. The same validator therefore stops content in one setup and lets it through in the other. A validator that errors re-raises to the app, and no error or timeout policy is documented. [QWED vs Guardrails AI](https://qwedai.tech/compare/guardrails-ai)

**Meta LlamaFirewall.** The behaviour is not documented, and the code differs by scanner. When AlignmentCheck’s model call fails, it holds the action for a person; with no trace or no user message, it allows. The experimental PII check allows when its model call fails. PromptGuard and CodeShield errors raise to the app. `LlamaFirewall.scan()` also reports every result as a success, whatever status the scanner set, so code that needs the outcome has to read the decision field. [QWED vs LlamaFirewall](https://qwedai.tech/compare/llamafirewall)

## Which ones stop it by default?

**Microsoft Agent Governance Toolkit.** The specification says any error during evaluation yields a deny, and an annotator timeout fails closed. When no rule matches, the policy’s own default decides, and the quick-start example allows. Two cases in the v5.0.0 code let a call through: a deny rule using `ne` or `not_in` when the field it checks is missing, and a Python `run_tool` that ran the tool when `post_tool_call` was not bound. Both are fixed on main and not yet released. [QWED vs Agent Governance Toolkit](https://qwedai.tech/compare/agent-governance-toolkit)

**QWED.** An error comes back `BLOCKED · DENY`, and a claim no engine can prove comes back `UNVERIFIABLE · DENY`. Only a proven claim is admitted. The README names one exception: the logic route can report `VERIFIED` for a claim it proves from the constraints a model translated the question into. That result is not admitted, and the fix is tracked in [#581](https://github.com/QWED-AI/qwed-verification/issues/581). [What fail-closed means](https://qwedai.tech/guides/fail-closed)

## Why does the default matter?

A default is what runs unless someone changes it. Where raising on error is an opt-in setting, every deployment that has not turned it on runs the default.

The error path can also be reached from outside. A long input, a malformed payload or a slow upstream service can push a check into its timeout. A timeout that lets content through is a way around the check.

## Who acts on the decision?

None of these tools stops anything by itself, QWED included. Each returns a decision, raises an exception or reports a finding, and the application, a gateway or the agent framework acts on it. When one of them is wired in, the decision has to reach the code that runs the tool or writes the data.

## What to check in your own setup

1.  What happens when a check times out?
2.  What happens when a validator or scanner throws an exception?
3.  What happens to content the check cannot parse or map?
4.  Does the decision reach the code that runs the tool, sends the payment or writes the row?

Where the answer to any of them is “it goes through”, that should be a choice someone made and wrote down.

## Sources

Each tool’s page lists the files and docs behind every line above, pinned to the release or commit read:

-   [NeMo Guardrails](https://qwedai.tech/compare/nemo-guardrails), v0.25.0
-   [Guardrails AI](https://qwedai.tech/compare/guardrails-ai), v0.11.0
-   [LlamaFirewall](https://qwedai.tech/compare/llamafirewall), 1.0.3 (PurpleLlama commit 87219c6)
-   [OpenAI Guardrails](https://qwedai.tech/compare/openai-guardrails), v0.3.6, and the Agents SDK, v0.26.0
-   [Agent Governance Toolkit](https://qwedai.tech/compare/agent-governance-toolkit), v5.0.0
-   [Bedrock Automated Reasoning](https://qwedai.tech/compare/bedrock-automated-reasoning), AWS documentation as read on 28 November 2026

All six side by side: [Compare](https://qwedai.tech/compare). If something here is out of date or wrong, [tell us](https://qwedai.tech/contact) and it will be corrected.
