QWED

Type to search pages, engines and advisories.

    Looking for API details?Search the docs

    Platform·Open Responsesv0.6.1

    Verify agent tool calls before they run.

    Guards that sit between an agent and its tools. Each tool call and each output is checked against your rules before anything executes, with no model in the verification path.

    At a glance

    Version
    0.6.1
    Status on PyPI
    Beta
    Install
    pip install qwed-open-responses
    Works with
    OpenAI Responses API, LangChain, LlamaIndex
    Also on
    npm (qwed-open-responses)
    Model in the check
    None
    Licence
    Apache-2.0

    Guards

    • ToolGuard

      Dangerous tools

      Blocks named dangerous tools and dangerous patterns in tool calls.

    • ArgumentGuard

      Arguments

      Checks argument types and ranges.

    • SchemaGuard

      Structured output

      Output must match a JSON Schema.

    • MathGuard

      Totals

      Recomputes totals with SymPy.

    • StateGuard

      State changes

      Only allowed state transitions pass.

    • SafetyGuard

      Safety

      Personal data, prompt injection and budget.

    • FinanceGuard, LegalGuard, TaxGuard

      Domain checks

      Wrappers that run QWED Finance, Legal and Tax checks on agent output.

    Mistakes it is built to catch

    QWED returns the decision; your integration acts on it.

    Without Open ResponsesNobody checked any of itWith Open ResponsesEach one checked before it is used
    A destructive shell callAn agent calls execute_shell("rm -rf /").ToolGuardBLOCKED · DENYA blocked tool pattern: denied, so your agent does not run the call.
    A wrong calculationAn agent returns a total that does not add up.MathGuardVERIFIED · DENYThe total is recomputed, and the wrong one is held.
    Malformed outputJSON that breaks the schema the next system expects.SchemaGuardVERIFIED · DENYIt does not match the schema, so it is held.

    What is proven correct is admitted, with a record of why.

    Get started

    shell
    pip install qwed-open-responses

    Good to know

    • Tool blocking is a configurable blocklist, not a sandbox, and pattern scanning is a heuristic.
    • Personal data produces warnings, not blocks.
    • Results are not cryptographically attested.
    • Warn-only streaming mode turns the trust boundary off.

    More agents and protocols