An agent answer is only as good as its last check: the model can quote a number that was never in the source, and the error only shows when a reader checks. In ADK the clean pattern is a specialist per built-in tool, with a reviewer stage reading the draft against the source before anything is sent. Make verification a step in the pipeline, not a hope: the reviewer compares each claim with the source passage, marks the ones it cannot find, and the output is held until those are fixed or removed. Send the checked version, never the first draft.
What you need
- An agent output with claims that come from a named source
- The source itself, open and readable
- A reviewer step, human or agent, that can read both
Step 1: List the claims in the output
Read the output and list each claim that states a fact, with the source passage it should come from. A claim with no source passage is unverified, not true.
Step 2: Check each claim against its passage
Open the source and confirm each claim matches its passage: same number, same date, same name. Mark any claim you cannot find, and do not send the output with it in place.
Step 3: Fix or remove the unverified claims, then send
Correct the claims that were wrong and remove the ones the source does not support. Send only the version where every remaining claim has a passage behind it.
Worked example: synthetic verification check
The table below is a synthetic example. It shows the expected result of source verification; no output was sent.
| Claim | In source? | Action |
|---|---|---|
| Refund window is 30 days | Yes | Keep |
| Price is $49 per month | Yes | Keep |
| Support is 24 hours | No | Remove |
| All sent claims verified | Yes | Pass |
Expected result (UNTESTED). the two verified claims are sent and the unverified claim is removed before sending. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Verification checks the claims against the source, not whether the source itself is right.
- A reviewer that shares the first agent’s mistakes will pass the same errors.
- Checking takes a step in the pipeline, so a run without a reviewer step is unverified.
- A claim that is true but unsourced is still unverified until a passage is found.
