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
58 of 60
Finished with a hidden error
0
Given up after three tries
2
Extra work spent on retries
15%
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 Marshal

Schematic: the Rust microkernel core of Verace Marshal with the runtime services the lab has implemented around it. The NOOA and DSPy agent layer that would sit above it exists only as a design.

Rust microkernel core
Holds gateway, failover, sandboxes and storage
Execution sandboxes
Runs untrusted code in Wasmtime or a subprocess
Provider resilience layer
Classifies failures and hedges across providers
Persistent storage layer
SQLite sessions and LanceDB vector memories

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