Back to catalog / Agent workflows
Fact-check a multi-claim document with verifier workers
Route individual claims from a draft to independent source-checking workers and require structured verdicts before producing a corrected report.
Goal
Route individual claims from a draft to independent source-checking workers and require structured verdicts before producing a corrected report.
Steps
- Prepare a workspace with the draft and source files; allow the Agent SDK
Workflowtool and request a workflow for claim-by-claim verification. [source20] - Require each verifier to return a schema-backed verdict with supporting source path and quoted evidence; route contradictions for a second check. [source20]
- Compare verdicts with a known answer fixture and inspect the persisted workflow script; do not accept unverified claims into the final report. [source20]
How to verify
Run the workflow against a fixture with one supported, one contradicted, and one unsupported claim; confirm each has a schema-valid verdict, source path, and evidence, and unsupported claims stay out of the final report.
Troubleshooting
If a verdict lacks a source path or quoted evidence, reject that worker result and route the claim for a second check instead of treating it as verified.
Permissions
Prerequisites
- Python 3.11+, Claude Agent SDK with a compatible Claude Code CLI, Anthropic API key, and a local source corpus.
Permissions
- Use approved test or anonymized data only; scope credentials to each workflow, and require explicit approval for external writes.
Limitations
Model output may be incomplete or wrong; API and beta behavior can change, so verify against the pinned source and current service behavior.
Pinned upstream source
- Repository
- anthropics/anthropic-cookbook
- File path
- claude_agent_sdk/08_Dynamic_workflows.ipynb
- Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6- Source checked
- 2026-10-14 · Reviewed against the pinned upstream source
Repository metrics
These values describe the upstream repository, not popularity or likes for an individual skill or playbook.
- Stars
- Not collected
- Forks
- Not collected
- Observed at
- Not collected
No metrics snapshot is available yet.
License: MIT
Main topic
Turn ecommerce campaign materials into a reviewable weekly brief