Installation
Quick start
QWEDVerificationTool
Give agents verification capabilities:Specialized tools
Changed in v10.0.0
❌ INCORRECT, ❌ UNSAFE, ⚠️ SECURITY ISSUES FOUND) only when QWED decided it. A result QWED did not decide is ⚠️ UNVERIFIABLE: or ⛔ BLOCKED: followed by the server’s message. QWEDVerificationTool sends its input to /verify/natural_language, which admits no result while the LLM’s translation is unverified, so a claim that holds is ⚠️ HOLDS, NOT ADMITTED. QWEDSQLTool checks a query against schema_ddl in dialect (default sqlite). Without schema_ddl, it answers ⚠️ UNVERIFIABLE and sends nothing.
QWEDVerifiedAgent
Agent wrapper that creates a CrewAI agent with the QWED tools. It does not check the agent’s output by itself: pass each output toverify_output().
sql_schema_ddl and sql_dialect go to the agent’s QWEDSQLTool. Without a schema, its SQL checks are UNVERIFIABLE.
verify_output() starts every output as unverified. It sets verified: True only when the client’s is_verified is True, which follows the server’s admission:
verification_summary() counts only outputs with verified: True.