arXiv:2610.19581cs.MAOct 2026

Manuscript Offprint

arXiv:2610.19581

XferAgent: Cross-Agent Experience Transfer for Self-Improving LLM Agents

Weihao Li, Jun Bai, Shijie Chen, Qincheng Lu, Xinyu Wang, Ziyang Song

Abstract

Large language model (LLM) agents can reuse experience from prior task executions to improve performance on subsequent tasks. Although existing methods enable cross-agent experience sharing, differences in agents' execution histories and task requirements make shared experiences difficult to reuse effectively. We propose XferAgent, a framework for cross-agent experience transfer that organizes reusable experience in local and shared experience graphs. XferAgent reconciles compatible contributions from heterogeneous agents while avoiding unreliable merges. For each new task, it selects shared experiences and integrates them with the target agent's local experience to support task execution. Experiments across diverse task domains show improvements over representative memory-based methods and effective experience transfer between heterogeneous agent frameworks. Cumulative task success also increases over successive task passes as agents update and reuse their experiences.

1 Introduction

Large language model (LLM) agents are increasingly used to solve complex tasks through multi-step reasoning, tool use, and interaction with external environments (Yao et al., 2022; Hong et al., 2024; Qin et al., 2024). Solving these tasks often requires iterative execution, exploration, and feedback-driven refinement before an agent reaches a successful outcome (Shinn et al., 2023). Across tasks, agents often encounter recurring reasoning patterns, tool-use procedures, and failure modes. Organizing these execution outcomes as reusable experience can help agents reuse effective strategies and avoid repeating previous failures on subsequent tasks. Recent work has therefore explored experience-driven self-improvement, where agents distill prior executions into reusable experience to improve performance on subsequent tasks (Zhao et al., 2024; Wang et al., 2025; Cao et al., 2026).

Existing memory-based approaches support local self-improvement by organizing experience from an agent's past executions. Reflexion turns task feedback into self-reflection stored in episodic memory for subsequent attempts (Shinn et al., 2023), while A-MEM dynamically links and updates memory notes as new experience arrives (Xu et al., 2026b). ExpGraph organizes reusable skills and lessons in an experience graph (Feng et al., 2026), while ReasoningBank distills successful and failed executions into reusable reasoning memories for subsequent tasks (Ouyang et al., 2026). These approaches establish that experience accumulated from past executions can improve subsequent behavior. However, they primarily support local experience reuse, where an agent can draw only on the strategies and failure lessons contained in its own execution history. Relevant strategies or failure lessons absent from one agent's execution history may already have been acquired by other agents, motivating experience reuse beyond a single agent's local history.

Recent work extends experience-driven self-improvement across agents by allowing one agent to reuse strategies and failure lessons learned by others. Agent KB aggregates trajectories from heterogeneous agent frameworks into a shared knowledge base (Tang et al., 2025), while FoT aggregates reasoning experience from independently operating agents into a shared insight library (Yao et al., 2026). These studies show that agents can benefit from shared experience, but differences in reasoning protocols, tools, and execution histories make cross-agent experience transfer difficult (Tang et al., 2025; Xu et al., 2026a; Li et al., 2026). The central challenge is therefore to reconcile experience from heterogeneous agents into reusable shared expe-

  • Equal contribution.

†^{\dagger} Corresponding author: ziyangs@ohio.edu.

rience and identify which shared experiences are useful for a new task while considering the target agent’s local experience.

In this study, we propose XferAgent, a framework for Cross-Agent Experience Transfer across heterogeneous agents. XferAgent organizes each agent's reusable experience in a local experience graph and experience contributed across agents in a shared experience graph. Through Cross-Agent Experience Reconciliation, XferAgent aligns compatible contributions while avoiding unreliable merges. For a new task, Task-Conditioned Experience Routing selects a task-relevant subset of the Shared Experience Graph to construct a connected routed experience subgraph. Local-Shared Experience Integration combines the routed subgraph with the target agent's local experience to select task-relevant guidance. Following task evaluation, Experience Updates support subsequent experience reuse. Our main contributions are:

• We formulate cross-agent experience transfer in experience-driven self-improving LLM agents and introduce XferAgent to support experience reuse across heterogeneous agents.

• We develop Cross-Agent Experience Reconciliation to align compatible contributions from heterogeneous agents while avoiding unreliable merges.

• We combine Task-Conditioned Experience Routing and Local-Shared Experience Integration to select task-relevant experiences using both local and cross-agent outcome evidence.

• Experiments across diverse tasks and LLM backbones demonstrate improvements over representative memory-based methods, with additional evidence of cross-framework experience reuse and increasing cumulative task success across repeated executions.

References (30)