Skip to main content
QWED (Query With Evidence & Determinism) is a model-agnostic verification protocol for Large Language Models.
Model Agnostic = Your Choice - QWED works with ANY LLM - OpenAI, Anthropic, Gemini, Llama (via Ollama), or any local model. Your LLM, Your Choice, Our Verification.

🌐 Why Model Agnostic?

β€œTrust, but Verify.” β€” QWED treats LLMs as untrusted translators and uses symbolic engines as trusted verifiers.
QWED is neutral. We verify ALL models equally - no favoritism, no vendor lock-in.

Cost Flexibility

Choose your LLM based on your needs:
TierMonthly CostLLM OptionsBest For
Local$0Ollama (Llama, Mistral, Phi)Students, Privacy-focused
Budget~$5-10GPT-4o-mini, Gemini FlashStartups, Prototypes
Premium~$50-100GPT-4, Claude OpusEnterprises, Production
Same verification quality, your choice of cost.

Privacy & Compliance

  • Local LLMs = Data never leaves your infrastructure
  • Perfect for: Healthcare (HIPAA), Finance (PCI-DSS), Government
  • Run on-premise, maintain full control

What is QWED?

QWED (Query-Wise Engine for Determinism) is the verification protocol for AI. It provides deterministic verification of LLM outputs using symbolic engines like Z3, SymPy, and AST analysis.

Why QWED?

ProblemQWED Solution
LLMs hallucinate mathSymbolic verification with SymPy
LLMs break logicSAT solving with Z3
LLMs generate unsafe codeAST analysis + pattern detection
LLMs produce SQL injectionQuery parsing + validation

Quick Start

# Install the Python SDK
pip install qwed

# Verify math
qwed verify "Is 2+2=5?"
# β†’ ❌ CORRECTED: The answer is 4, not 5.

# Verify logic
qwed verify-logic "(AND (GT x 5) (LT y 10))"
# β†’ βœ… SAT: {x=6, y=9}

Features

  • 11 Verification Engines β€” Math, Logic, Reasoning, Stats, Fact, Graph Fact, Code, SQL, Taint, Image, Schema
  • 4 SDKs β€” Python, TypeScript, Go, Rust
  • 3 Framework Integrations β€” LangChain, LlamaIndex, CrewAI
  • Cryptographic Attestations β€” JWT-based verification proofs
  • Agent Verification β€” Pre-execution checks for AI agents

πŸ†• What’s New in v3.0.1: Ironclad Update

The v3.0.1 Ironclad Release focuses on Security Hardening and Enterprise Compliance.

πŸ›‘οΈ Critical Security Hardening

  • CodeQL Remediation: Resolved 50+ security alerts including ReDoS, Clear-text Logging, and Exception Exposure.
  • Workflow Lockdown: Enforced Least Privilege (permissions: contents: read) across all CI/CD pipelines.
  • PII Protection: Implemented robust redact_pii logic in all API endpoints and exception handlers.

πŸ“ Compliance & Governance

  • Snyk Partner Program: Official Snyk attribution added for secured dependencies.
  • Advanced CodeQL: Upgraded security scanning to Advanced mode (Python, Go, TS, Rust).

Next Steps