Skip to content
SimulatorSystems, agents and memory

A loop that checks before it commits

An agent runs sixty tasks whose steps sometimes fail. Choose whether each step is checked, how often a step fails and how long the tasks are.

  • pale: worked first time · colour: caught and repeated · white: failed unnoticed · crossed: given up
Tasks finished correctly
60 of 60
Finished with a hidden error
0
Given up after three tries
0
Extra work spent on retries
17%
After each step

Turn the check off: the same failures now finish unnoticed. Lengthen the tasks and see how fast unchecked errors add up.

What the simulator does

  • With a check, a failed step is caught, rolled back and tried again, up to three times; then the task is given up and says so.
  • Without a check the same failure goes on unnoticed, and the task finishes with a hidden error.
  • The chance that a task finishes clean falls with every step it has: checking buys correctness with extra work.

In Verace Console

Schematic of Verace Console: the C++20 kernel's tool registry at the centre, with the ReAct agent loop, the MCP server and the verification gate around it. The verification gate exists only as design.

C++20 tool registry
Dispatches named tools across capability domains
ReAct agent loop
Multi-turn planning loop in the agentic harness
Symbolic verification gate
Designed check before any change is committed
MCP JSON-RPC server
Exposes the engine to MCP clients

What this is not

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Read the write-up