What gets checked
Nora extracts factual claims from the Agent’s response and compares them to the graph:- Directional claims — “A causes B” (checked against the edge structure).
- Sign claims — “increasing A increases B” (checked against the edge’s sign).
- Magnitude claims — “A is around 200” (checked against the variable’s known range).
- Value claims — “the status is ‘error’” (checked against the discrete variable’s allowed values).
Setup
- Publish a causal graph (see Overview).
- Attach it to the Agent: Agent Inspector → Verification → Add graph.
- Pick actions per severity:
- Warn — annotate the answer with a warning field; user still sees it.
- Block — hold the answer, don’t send.
- Rewrite — the Agent gets one more chance to answer, with the contradiction pointed out.
warn on soft contradictions, block on hard ones.
Severity levels
- Hard contradiction — the Agent says A→B; the graph says B→A. Or the Agent asserts a value outside a variable’s range.
- Soft contradiction — the Agent asserts a sign the graph doesn’t confirm (but doesn’t refute either).
- Consistent — everything checks out.
- Uncheckable — no claims in the response matched anything in the graph.
Verification in a Trace
Every run with verification enabled shows a Verification panel in the Trace:- Each claim extracted from the answer.
- Whether it matched, contradicted, or wasn’t found in the graph.
- The specific graph edge or variable used to check.
- The action taken (warn / block / rewrite).
Rewrite loop
When set to rewrite, the Agent gets a follow-up turn with a system message like:Your previous answer said A→B. According to the domain graph, B→A. Please re-answer.The Agent produces a new response; verification runs again. Up to 3 rewrite attempts (configurable) before falling back to block.
Verification vs. retrieval grounding
- Grounding (Retrieval grounding) checks retrieved chunks before they hit the Agent.
- Verification checks the Agent’s final answer before it reaches the user.
Performance
Verification adds 100-400ms per run depending on how many claims the answer contains. For high-throughput Agents, consider verification only on high-stakes intents (routed via a Router block).When verification is off
Some Agents genuinely shouldn’t be verified — creative writing, brainstorming, opinion prompts. Leave the graph unattached, or attach with all actions set towarn (never blocks, always visible in Trace).