An AI agent can produce more candidates than a small team can manually inspect. The answer is not to ask the agent to sound more certain. It is to give each consequential output an acceptance test outside the model.

Google DeepMind recently reported that Gemini 4 agent teams found lower-cost quantum programs, including a 290× estimated spacetime-cost reduction for one fixed-point arcsin implementation. The transferable mechanism was formal verification: candidates had to satisfy correctness and cost specifications checked in Lean.

Most businesses do not need a theorem prover. They do need one independent referee for every expensive claim of success.

1. Name the expensive claim

Choose one recurring claim where false completion would cost money, trust or recovery time.

Examples:

Write the claim as a state, not an activity.

Bad: “The agent called the publishing API.” Better: “The public URL contains the expected title and at least 500 visible article characters.”

Pass condition: another process can determine whether the state exists without asking the agent.

2. Define one hard invariant

An invariant is a condition no acceptable candidate may violate.

Examples:

Keep hard gates separate from preferences such as style, speed or elegance. A candidate that violates policy should not survive because it wrote a beautiful explanation.

Pass condition: the invariant can return an unambiguous pass or fail.

3. Freeze the checker before search

Build the test, validator, policy rule or state read-back before the agent produces the final candidate.

Useful checkers include:

Record the checker name and version. If the agent may edit the checker, protect the specification and test files from candidate writes.

Pass condition: the candidate-generation process cannot silently weaken the requirement.

4. Prove the gate can fail

Run one known-bad candidate through the checker.

Examples:

If the bad case passes, stop. The gate is not ready.

This negative control catches decorative checks that always return green, inspect the wrong target or trust the agent's own summary.

Pass condition: the known-bad candidate is rejected for the expected reason.

5. Let the agent search

Now allow the agent to generate, repair and compare candidates inside the permitted capability boundary.

The agent may use checker failures as feedback. That is useful. The key restriction is that it may change the candidate, not the frozen requirement.

For external actions, run search against synthetic data, a sandbox or a reversible local environment. Do not let a candidate-generation loop repeatedly charge cards, email customers or mutate production records.

Pass condition: exploration cannot bypass approval, duplicate an irreversible action or rewrite the acceptance rule.

6. Check outside the closing prose

Execute the checker independently after the agent says it is finished.

Do not accept:

Read the authoritative target directly.

Pass condition: the acceptance result comes from the real target or a deterministic verifier, not the agent's interpretation of its trace.

7. Preserve the evidence receipt

Store the accepted output with:

A receipt should let another session or person answer: what was accepted, by which rule, against which target, and with what evidence?

Pass condition: the result remains inspectable after the agent session ends or its context is compacted.

Copyable test card

PROOF-CARRYING OUTPUT TEST

Task:
Expensive success claim:
Authoritative source:

Hard invariant:
Checker / version:
Protected specification path:
Known-bad candidate:
Expected rejection:

Candidate ID:
Allowed search scope:
External-action restrictions:

RESULT
Known-bad case rejected? yes / no
Candidate passed? yes / no
Authoritative state checked? yes / no
Checker output:
External record / URL:
Artefact hash:
Known limitations:
Requirement owner:
Final status: accepted / rejected / blocked

Grade the system, not the speech

Track:

Do not optimize acceptance rate alone. A gate that accepts everything is fast and useless.

Where to use it first

Prioritize:

Evidence and limitations

Google DeepMind's research announcement and the technical paper report that Gemini 4 agent teams synthesized quantum programs against formal specifications, with Lean checking correctness and resource cost. The paper reports a 290× estimated spacetime-cost reduction for one fixed-point arcsin implementation, not a 290× faster quantum computer or a general agent-productivity gain.

DeepMind released the Lean library, problem specifications and verified solutions. The work is a recent preprint, its gains depend on the encoded specifications, baselines and resource models, and the scientific programs remain beyond the expected capacity of the first error-corrected quantum computers.

Formal verification proves the encoded claim. It does not prove that humans chose the right requirement or that the proxy captures the real business goal.

Rapkyn's inference: Over the next 12–36 months, consequential agent outputs will increasingly ship with tests, proofs, policy evaluations or reconciled external-state receipts. Buyers will ask vendors to demonstrate that a known-bad candidate is rejected—not merely that a good demo passes.