PandaProbe: Agents That Learn from Mistakes by Revising Their Own Rules
As frontier models grow more capable, AI agents carry out longer workflows, use a wider range of tools, and read or modify critical data. In settings such as health care, defense, and finance, a single wrong action can be costly, and interactions across steps can produce failures that developers did not anticipate. We present PandaProbe, an open-source platform that combines tracing, evaluation, and reflection to help agents learn from such failures. When an evaluation flags a failure, the PandaProbe SDK returns the evidence to the same agent, which can examine its actions and propose a revision to its operating rules. The agent cannot approve its own revisions. A revision reaches later executions only after validation, which compares verified outcomes from matched executions with and without the change or, through forward validation, how often subsequent sessions are flagged. Accepted rules remain available for retrieval and can themselves be revised when new failures expose their limits, so the agent refines its guidance across sessions without retraining the model. We compare a baseline agent with the same agent using PandaProbe across four open-weight models, all three…
- arXiv
- 2612.05227
- Authors
- Sina Tayebati
- Categories
- cs.AI