학술

PandaProbe: Agents That Learn from Mistakes by Revising Their Own Rules

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

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 $\tau^2$-bench domains, and a 10-task Terminal-Bench sample, with four trials per task, relying primarily on forward validation to preserve each benchmark's original setup. In all 16 paired comparisons, PandaProbe achieved a higher mean benchmark score than the baseline and solved a larger fraction of tasks on all four trials ($\mathrm{pass}^4$). First-trial success improved in eight comparisons. On $\tau^2$-bench retail, Kimi K2.5's $\mathrm{pass}^4$ rose from 7.9% to 21.1%. On the Terminal-Bench sample, GPT-OSS 20B's mean score rose from 0.2360 to 0.3148, a 33.4% relative gain. These gains came with 2.81x the baseline's reported model spend and a median 7.22x increase in time per trial.
Additional Features

관련 뉴스