arXiv(opens in a new tab)cs.AIAug 2026Cited by 8 papers on PaperVantage

Manuscript Offprint

arXiv:2608.24876

Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses

Zhaochen Yu, Yingcheng Wu, Zhenfei Yin, Kaiyuan Chen, Zhe Zhao, Mengdi Wang, Shuicheng Yan, Ling Yang

Zhaochen Yu1,4^{1,4} Yingcheng Wu2^{2} Zhenfei Yin3^{3} Kaiyuan Chen Zhe Zhao2^{2}

Mengdi Wang4,†^{4,\dagger} Shuicheng Yan1,†^{1,\dagger} Ling Yang4,†^{4,\dagger}

1^{1}NUS 2^{2}Stanford University 3^{3}University of Oxford 4^{4}Princeton University

https://github.com/Gen-Verse/Recuris

Recursive self-improvement (RSI) remains hard in long-horizon tasks, where growing histories obscure the task state and misalign skill invocation. We introduce Recuris, a recursive Experiential–Working Memory architecture for long-horizon agent harnesses, in which Working Memory tracks task progress and guides skill selection from Experiential Memory, grounding skill use in current needs rather than the full history. This coupling also turns execution into structured evidence that localizes failures to specific memory components. Across tasks, a fixed Meta-Agent turns that evidence into localized, validation-gated updates to Skill Memory that reshape execution and yield new evidence, forming a bounded recursive memory-evolution loop. Across four long-horizon benchmarks and ten models, Recuris improves task success in 35 of the 37 completed model–benchmark pairs, carrying frontier models to SOTA-level task success: on τ2\tau^{2}-Bench it adds +17.8 points to GPT-5.6 Sol and +15.6 to Claude Opus 5, taking Opus 5 to 87.9%, and +16.6/+13.5 points on Qwen3.6-27B/35B on SkillFlow. The advantage widens as the interaction horizon grows, to +32.2 points on the longest tasks, and common long-horizon failures fall by up to 80%. These results position recursively evolving memory as a scalable foundation for RSI, enabling agents to continuously transform accumulated experience into increasingly effective long-horizon behavior.

Performance from 3B to Frontier Models

FRONTIER MODELS

τ2\tau^{2}-Retail

Doubao-2.0-Pro

GPT-5.6 Sol

Claude Opus 5

SkillFlow

Doubao-2.0-Pro

τ2\tau^{2}-Airline

GPT-5.6 Sol

Figure

Long-Horizon Performance

longer tasks, larger gains

Failure-Mode Reduction

Cut by 20–86%

Figure 1 | Recuris improves task success from 3B open-weight models to frontier models. Performance across (i) task success (%), (ii) task success by episode length, and (iii) six long-horizon failure modes, each rescaled so the agent alone = 100, where a bar at 20 is an 80% reduction.

†^{\dagger}Corresponding authors; Main contact: yangling0818@163.com

Contents

1 Introduction 3
2 Method 5
2.1 Problem Setup and Skill Memory Architecture 5
2.1.1 Skill Memory Architecture 5
2.1.2 Method Overview 6
2.2 Within-Task Verified EM–WM Coupling 7
2.2.1 Structured Working State 7
2.2.2 State-Grounded Skill Invocation 7
2.2.3 Evidence-Grounded State Update 7
2.3 Bounded Cross-Task Skill Memory Evolution 8
2.3.1 Trace-Based Failure Localization 8
2.3.2 Component-Specific Patching 9
2.3.3 Validation-Gated Patch Admission 9
2.3.4 Bounded Recursive Evolution 9
2.3.5 Test-Time Adaptation Mode 10
3 Experiments 10
3.1 Experimental Setup 10
3.2 Overall Performance 11
3.3 Analysis of EM–WM Coupling in Long Horizon Tasks 12
3.3.1 Recuris Remains Reliable over Longer Interaction Horizons 12
3.3.2 EM–WM Coupling Improves Long-Horizon Execution 13
3.3.3 The Critical Memory Component Differs across Domains 15
3.3.4 State-Grounded Skill Invocation Is More Accurate and Efficient 16
3.3.5 Case Study: Verified EM–WM Coupling 17
3.4 Analysis of Recursive Skill Memory Evolution 17
3.4.1 Structured Traces Improve Failure Localization 17
3.4.2 Recursive Evolution Yields Consistent Held-Out Gains 18
3.4.3 Two Meta-Agent Implementations Converge 20
3.4.4 Gated Updates Preserve Existing Abilities 20
3.4.5 Evolved Skill Memory Transfers across Tasks 21
3.4.6 Evolved Skill Memory Transfers across Models 21
3.4.7 Case Study: Targeted Skill Evolution 22
3.5 Test-Time Adaptation on Isolated Tasks 23
4 Related Work 25
4.1 Experiential Memory and Agent Skills 25
4.2 Working Memory for LLM Agents 25
4.3 Recursive Self-Improvement of LLM Agents 26
5 Conclusion 26
A Statistical Protocol 31
B Harness Ablation: Where the Gain Comes From 31
C Benchmarks and Splits 31
D Compute and Context 33
E Case Studies 33

Figure

Figure 2 | Two shifts separate Recuris from prior memory-based agent harnesses. How memory is used (left): prior harnesses retrieve against a growing chat history and lose track of unresolved goals. Recuris retrieves at execution events, and a checker turns the environment's response into a verified state update rather than trusting the dialogue. How memory evolves (right): prior harnesses rewrite the whole memory from one task outcome. Recuris reads the structured trajectory, attributes each failure to a component, patches exactly the components implicated, and admits the result only through a validation gate on held-out tasks.