All guides

Coding and chat agents

Check a claim against tool output

Ask whether the evidence supports a statement before an agent repeats it as fact.

Use it when the wording needs interpretation

An agent has run a command or read a document and is about to describe the result. The useful question is narrow. Does this output support the exact claim?

Parse exit codes, test counts and HTTP status codes directly when those fields settle the answer. Jev is an option when the claim depends on the meaning of a passage. It cannot verify a test that never ran.

Try the existing recipe

Start System One with npx sysone. Add your Vercel AI Gateway key in Settings. In Library, open Check a claim, replace the example and run it.

For an agent, fetch the evidence-check recipe with sysone_patterns and send the edited input to sysone_decide. This example is a valid decide request. It is a teaching example, not a new benchmark.

{
  "state": "Claim: the new release is live. Evidence: the build passed, but deployment stopped because the destination project was not selected.",
  "questions": {
    "supported": {
      "type": "boolean",
      "instructions": "Does the supplied evidence establish that the new release is live?"
    },
    "contradicted": {
      "type": "boolean",
      "instructions": "Does the supplied evidence explicitly contradict the claim that the new release is live?"
    }
  }
}

Keep the original evidence with the result

This example should not support a successful deployment claim. Inspect both answers. Missing evidence and an explicit contradiction are different cases.

Choose review thresholds using labeled examples from your workflow. A high model probability is not a measured guarantee of correctness. Missing answers, conflicting signals and timeouts go back to the agent for review.

The calling agent writes the final response and cites the original command or document. System One does not approve a release or perform the deployment.

Compare one batch with separate checks

Our 12-case diagnostic asked two questions per input. Batching used fewer requests but made one additional label error. The complete run is linked below.

Before adopting the recipe, include stale build output, canceled jobs, partial successes and contradictory reports. Score the final statement as well as the individual answers. Count any extra host turn needed to read the result.

Evidence and limits

Design guide. These examples are not independently validated Engine benchmarks.

Find the related recipes in the pattern library: evidence-check, acceptance.

Read or contribute to this guide on GitHub.

Try the example in Studio

Launch the app, select the recipe in Library and replace its evidence with your own.

Start with npx sysone