Get Experience from Practice: LLM Agents with Record & Replay
Erhu Feng, Wenbo Zhou, Zibin Liu, Le Chen, Yunpeng Dong, Cheng Zhang, Yisheng Zhao, Dong Du, Zhichao Hua, Yubin Xia, Haibo Chen

TL;DR
This paper introduces AgentRR, a record-and-replay framework for LLM-based AI agents that enhances safety, efficiency, and privacy by capturing and reusing interaction experiences across tasks.
Contribution
The paper proposes a novel record-and-replay paradigm for AI agents, enabling experience sharing and safety guarantees, addressing key challenges in LLM agent deployment.
Findings
Effective experience abstraction balances specificity and generality.
Replay mechanism improves agent safety and reliability.
Application modes demonstrate versatility in privacy and collaboration.
Abstract
AI agents, empowered by Large Language Models (LLMs) and communication protocols such as MCP and A2A, have rapidly evolved from simple chatbots to autonomous entities capable of executing complex, multi-step tasks, demonstrating great potential. However, the LLMs' inherent uncertainty and heavy computational resource requirements pose four significant challenges to the development of safe and efficient agents: reliability, privacy, cost and performance. Existing approaches, like model alignment, workflow constraints and on-device model deployment, can partially alleviate some issues but often with limitations, failing to fundamentally resolve these challenges. This paper proposes a new paradigm called AgentRR (Agent Record & Replay), which introduces the classical record-and-replay mechanism into AI agent frameworks. The core idea is to: 1. Record an agent's interaction trace with its…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
