agents
Glossary ↗Agent Simulation
Agent simulation is running an agent against a stand-in for the real world — recorded or synthetic tool responses, a copy of the data, outbound calls that go nowhere — in order to observe its behaviour before that behaviour has consequences. It answers a different question from a sandbox, which contains what the agent does, and from a dry run, which shows what a single operation would do. Simulation asks what the agent will decide across a whole task. It exists because agents cannot be tested the way ordinary code is. There is no fixed input-output pair to assert on when the system chooses its own sequence of steps, so the unit worth examining is the path taken rather than the final answer. Simulation is how you get paths cheaply and repeatedly, including paths through situations that are rare, expensive or dangerous to produce on purpose in production. What the simulation reproduces determines what it can tell you. Tools that always succeed and return tidy data will produce an agent that looks reliable and has never encountered a timeout, a rate limit, an empty result, a permission denial, or a field containing something nobody expected. The failures are the point, and they need to be in the fixtures deliberately, because the real environment supplies them on its own schedule and usually at the worst moment. Recorded runs make the technique compound. Trajectories captured from real usage, replayed against fixed responses, become a regression suite: change a prompt, a model or a tool description, and you can see which previously working paths now diverge. Without that, every change to an agent is evaluated by trying it a few times and forming an impression, which does not survive contact with a system that behaves differently on identical input. The limit is worth stating so the technique is not oversold. A simulation contains only the situations somebody thought of, and the situations nobody thought of are the ones that cause incidents. It reduces the number of surprises that reach production; it does not turn an unpredictable system into a predictable one, and it is not a substitute for limits, logging and a way to stop a run that is going wrong.
Related terms