QWED

Type to search pages, engines and advisories.

    Looking for API details?Search the docs

    Compare · Bedrock Automated Reasoning

    QWED vs Amazon Bedrock Automated Reasoning checks

    Automated Reasoning checks in Amazon Bedrock Guardrails test a model’s answer against rules extracted from your own documents, with formal logic. QWED works out again whether the claims in AI output hold.

    Checked on against Bedrock Automated Reasoning as AWS documents it

    At a glance

    What decides
    Bedrock Automated ReasoningFormal logic over rules from your document; models translate the text
    QWEDSolvers and parsers
    If the check fails
    Bedrock Automated ReasoningFindings only; it never blocks
    QWEDDenied
    Made for
    Bedrock Automated ReasoningAnswers checked against your written policies
    QWEDFigures, logic, SQL, code
    The short answer

    Automated Reasoning checks turn your policy document into formal rules and typed variables, then test each model answer against them. Several foundation models translate the answer into logic, and their agreement sets a confidence score; a solver then returns a finding such as VALID, INVALID or TRANSLATION_AMBIGUOUS, citing the rules. The checks only detect: your application decides what to do. On InvokeModel, or Converse with plain text, content that is not tagged skips them with no error; ApplyGuardrail checks everything you pass it. QWED decides with solvers and parsers on fixed domains, and denies a claim it cannot prove. Automated Reasoning fits answers about your own written rules; QWED fits places where a figure, a query or a piece of code has a right answer.

    Alternative

    Is QWED an alternative to Bedrock Automated Reasoning? If you need open source or your own infrastructure, yes: QWED is open source (Apache-2.0) and self-hosted, while Automated Reasoning checks are a managed AWS service. They check different claims, though. Automated Reasoning checks test answers against rules extracted from your own documents, which QWED does not do; QWED checks figures, SQL queries, code and logic on fixed domains. Both use formal logic.

    Send a request through both

    There is no packaged integration between them; each runs on its own. On one request path they catch different things.

    1. Requesta refund question
    2. Modelanswers, or calls a tool
    3. Bedrock GuardrailsAutomated Reasoning on the answer
    4. QWEDworks the claim out again
    5. Actionthe refund is paid

    An answer against the policy. Request: “Yes, you can return it after 45 days” · policy: 30 days. INVALID, flagged by BedrockThe check translates the answer into logic and proves it contradicts the 30-day rule, citing the rule. It does not block: your application holds the answer back. QWED does not build rules from your documents.

    A refund with a wrong total. Request: refund(amount=1240) · 3 items at 412, bought 10 days ago. Proven falseVERIFIED · DENYAutomated Reasoning finds the refund VALID: it is within 30 days. The amount is not a variable in this policy, so it is not checked. QWED proves 3 × 412 = 1,236, not 1,240, and denies the refund.

    A correct refund. Request: refund(amount=1236) · the same order. Proven to holdVERIFIED · ADMITBoth let it through. QWED proves 3 × 412 = 1,236, and the refund goes ahead.

    Drawn with a policy built from a refund document that states the 30-day rule but no formula for the amount. A document that states the formula would give the check a rule to test the amount against. Automated Reasoning returns findings and never blocks; your application acts on both.

    Where they overlap: formal logic

    Both use a solver, and both say what they could not check. They differ in where the rules come from, and in what a model does on the way.

    • Bedrock Automated Reasoning

      Checks against a policy

      A solver tests the translated claims against rules extracted from your document, and returns VALID, INVALID, SATISFIABLE, IMPOSSIBLE, TRANSLATION_AMBIGUOUS, TOO_COMPLEX or NO_TRANSLATIONS.

    • Bedrock Automated Reasoning

      Translation by several models

      Several foundation models translate the text. Their agreement is the confidence score, and below your threshold the finding is TRANSLATION_AMBIGUOUS.

    • Bedrock Automated Reasoning

      What was not checked

      A VALID result covers only the translated claims. The untranslated premises and claims are listed in the finding.

    • QWED

      Where QWED differs

      QWED’s engines use solvers too, Z3 for logic and SymPy for arithmetic, on fixed domains rather than rules from your documents. On its natural-language paths a model translates the text, and that step is not verified. A claim no engine can prove comes back UNVERIFIABLE · DENY.

    Where Bedrock Automated Reasoning goes further

    A fair comparison says where the other tool covers more. A system may need it for these.

    • Rules from your documents

      Upload a document of up to 50,000 characters; models extract rules and typed variables. A fidelity report links each one to the source text.

    • Explanations

      A VALID finding cites the supporting rules and a scenario where the claims hold; INVALID cites the rules the claims break.

    • Incomplete answers

      SATISFIABLE gives one scenario where the claims hold and one where they do not, so you can ask for the missing condition.

    • Tests and refinement

      Generated scenarios and Q&A tests check the rules and the translation. Refinement workflows, added in June 2026, adjust the policy until saved tests pass.

    • A rewrite loop

      Pass the contradicting rules back to the model to rewrite an answer, or ask the user a clarifying question.

    • Policy help in Kiro CLI

      Ask about a policy’s rules, and request changes for failing tests or ambiguities, in conversation.

    • Versioned deployment

      Immutable policy versions attached to a guardrail, deployable with CloudFormation or CI/CD.

    • The rest of Bedrock Guardrails

      Content filters, prompt-attack filters and topic policies in the same guardrail can block, which these checks do not.

    Where QWED goes further

    What QWED does not verify has its own page. Limits

    • It works the answer out again

      Arithmetic and algebra with SymPy, logic with Z3, SQL with SQLGlot and code with AST rules. The engine computes the result itself rather than testing it against rules you wrote down.

    • It runs where you run it

      Open source under Apache-2.0, in your process or on your own server. Automated Reasoning checks are a managed AWS service in seven Regions, for English (US) text.

    • A check that cannot run is a deny

      An error comes back BLOCKED · DENY and an unprovable claim UNVERIFIABLE · DENY. Automated Reasoning never blocks, and on InvokeModel or plain-text Converse, content without guardrail tags skips it with no error.

    Every detail

    Six questions side by side, and every source, for anyone who wants to check.

    Six questions, side by sideFrom each project’s own documentation and code
    QuestionBedrock Automated ReasoningQWED
    What it checksA model’s response against an Automated Reasoning policy, using the user’s query as premises. There is no input-only check.Claims in AI output that its engines can put into formal terms: arithmetic, logic, SQL, code and JSON schemas. Policy guards flag unsafe commands, leaked secrets and untrusted tool calls.
    What decidesSeveral 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.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.
    When a check failsGoes 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.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.
    Who acts on the decisionThe application decides what to do with the findings. Other Bedrock Guardrails policies can block; these checks do not.Your integration, or a QWED product such as QWED Security, acts on the decision. QWED does not stop anything by itself.
    Licence and hostingProprietary managed AWS service, charged per validation request, in seven Regions: three in the US, three in the EU and Sydney. English (US) only.Apache-2.0. Self-hosted: Python library, CLI, API server or Docker image.
    StatusGenerally available since August 2025. Source-document references added in February 2026; policy refinement workflows and the Sydney Region in June 2026.Single maintainer. Versions and status on the ecosystem page.

    A default is not enforcement. For both, the application or a gateway has to act on the result. What fail-closed means for AI checks

    12 sourcesAWS documentation as read on the check date, checked on 28 November 2026
    • There are no accuracy, speed or popularity figures here, for either tool. Those depend on the workload; measure them on yours.
    • Projects change. If something here is out of date or wrong, tell us and it will be corrected.
    • 5 more tools, set beside QWED on the comparison page.