AI Agent Loop Playground
Step through an AI agent loop with real tool execution, a step budget, repeated-call detection and a human approval gate. No API calls needed.
Loading demo…
About this demo
An AI agent is a loop: a model decides on an action, a tool runs it, the result is added to the context, and the model decides again until it can answer.
This playground uses a scripted stand-in for the model, so it makes no API calls, but the loop around it is real: tools actually execute, there is a step budget, repeated identical calls are blocked, and risky tools wait for human approval. Try the failure toggles and the three scenarios.
Watch the context grow on every turn. Each model call re-sends the whole history, so total tokens grow faster than the number of steps.