| QWED | Deterministic engines: SymPy, Z3, SQLGlot, AST rules and JSON Schema. On the natural-language paths a model translates the text into a formal statement; that step is not verified, and no model decides the verdict. | Stopped by defaultAn error comes back BLOCKED · DENY. A claim that no engine can prove comes back UNVERIFIABLE · DENY. Only a proven claim is admitted. | Your integration, or a QWED product such as QWED Security, acts on the decision. QWED does not stop anything by itself. |
|---|
| NVIDIA NeMo Guardrails | Whatever each rail is configured with: NVIDIA safety models, an LLM checking itself, jailbreak heuristics, regular expressions, CEL expressions or third-party services. Tool-call validation against the declared tools and their JSON Schema uses no model. | Depends on configurationThe docs say no library-wide failure policy applies to every rail. The IORails engine, which Guardrails runs by default, blocks when a rail fails; a provider’s own error comes back as an error. When the hooks server cannot finish a check, the agent decides, and by default Claude Code and Codex then run the tool. | The library, on the paths the app routes through it. With check(), the app receives a passed, modified or blocked status and acts on it. With the hooks server, the agent cancels a denied call. The app runs tools and handles identity. |
|---|
| Guardrails AI | Validators chosen per guard. Some are rules, such as regular expressions; some run machine-learning models, such as PII or toxic-language detectors; some call an LLM. | Depends on configurationIn the Python API a failed validation raises an exception by default (on_fail is EXCEPTION). In a RAIL spec with no on-fail attribute it is NOOP, which logs the failure and passes the output on. A validator that errors re-raises to the app. No error or timeout policy is documented, so the result of an error depends on the validator. | The Guard object in the app’s process raises, filters, fixes or asks again, as each validator’s on_fail says. The app must catch the exception. |
|---|
| Meta LlamaFirewall | PromptGuard 2, a classifier model, for prompt injection. AlignmentCheck, an LLM judge, for the agent’s trace. CodeShield, built on Semgrep and regular expressions, for code. | Depends on configurationNot 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() reports every result as a success, whatever status the scanner set. | The app. scan() returns a decision, a reason and a score; the library does not halt the agent itself. |
|---|
| OpenAI Guardrails and Agents SDK guardrails | The library: per check, an LLM, the OpenAI Moderation API, rules such as keyword and URL filters, or Presidio for PII. The SDK: the developer’s own guardrail function, which may call a model or run plain code. | Goes through by defaultThe library’s default mode passes content on when a check errors; raising instead is an opt-in setting. In the SDK, an error in a guardrail is raised and ends the run. Input guardrails run alongside the agent by default, so tools may already have run; since 0.26.0 a tripwire stops function tools that have not started. | The library’s client wrapper raises a tripwire exception that the app catches. The SDK’s Runner raises and halts the run. |
|---|
| Microsoft Agent Governance Toolkit | A policy engine: Open Policy Agent Rego, Cedar, or one the host supplies. Optional annotators, including an LLM, add labels that the policy reads. | Stopped by defaultThe 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; the quick-start example allows. Two cases in the v5.0.0 code let a call through, and are fixed on main but not yet released: a deny rule using ne or not_in when the checked field is missing, and a Python run_tool that ran the tool when post_tool_call was not bound. | The host, through AGT’s SDKs, adapters or govern() wrapper. The specification calls a host that ignores a deny non-conformant. The engine runs in the agent’s process. |
|---|
| Amazon Bedrock Guardrails: Automated Reasoning checks | Several foundation models translate the text into formal logic; their agreement sets a confidence score. Formal logic validation against the policy then returns a finding such as VALID, INVALID or TRANSLATION_AMBIGUOUS. The policy itself is extracted by models from your own document. | Goes through by defaultThe checks return findings and do not block content. 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 with no error; ApplyGuardrail checks all the content it is given. | The application decides what to do with the findings. Other Bedrock Guardrails policies can block; these checks do not. |
|---|