Skip to main content
The Process Verifier ensures AI-driven workflows follow deterministic process steps — not just correct answers, but correct procedures. It moves verification from “black box” (output only) to “glass box” (reasoning trace).

When to use

Use the Process Verifier when you need to:
  • Verify that an LLM reasoning trace follows required steps (IRAC, scientific method)
  • Ensure compliance with regulatory frameworks that mandate structured analysis
  • Validate that intermediate milestones are present in agent reasoning
  • Audit AI decision-making processes for completeness

IRAC structure verification

IRAC (Issue, Rule, Application, Conclusion) is a legal reasoning framework. The Process Verifier checks that all four components are present in a reasoning trace.

Partial compliance

When not all IRAC steps are present, the verifier returns a decimal score and lists missing steps:

Milestone verification

For custom process requirements, use verify_trace to check for required keywords or milestones:

Process rate calculation

The process rate is the fraction of required milestones found:

Response fields

verify_irac_structure response

verify_trace response

Determinism

The Process Verifier uses regex pattern matching and keyword search — no LLM calls. All results are 100% reproducible:
  • Same input always produces the same output
  • Scores use Python’s Decimal type for exact arithmetic
  • No probabilistic components

Use cases

Ensure AI-generated legal analysis follows required structure:

Audit workflows

Validate that AI agents complete required checkpoints:

Medical reasoning

Verify diagnostic reasoning includes required considerations:

Integration with guards

Use Process Verifier alongside other QWED guards to verify the full agent flow:

Next steps

SDK Guards

Agentic security guards for AI pipelines

Determinism guarantee

How QWED ensures reproducible results

Agent verification

Pre-execution checks for AI agents

Reasoning engine

Chain-of-thought validation