EvoWeave: Composing Reusable Agent Experience through Operation Level Graphs
Organizations: Department of Informatics, New Jersey Institute of Technology · Department of Mechanical and Industrial Engineering, New Jersey Institute of Technology · Department of Computer Science, New Jersey Institute of Technology · School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen
Abstract
Different tasks often require interactive agents to perform similar operations at intermediate steps. Retrieving an entire past workflow can introduce irrelevant steps, whereas retrieving isolated operations can discard the dependencies needed to reuse them. We introduce EvoWeave, a framework for experience memory that represents abstract states as nodes and reusable operations as directed edges with input and output contracts, provenance, and capability references. A planner decomposes the current task into a dependency graph; operation retrieval and bounded directed search then assemble relevant experience fragments. An execution agent can inspect these fragments and their referenced capabilities, while reflection separates concrete execution evidence from reusable abstractions. We study the framework across four benchmarks, five evaluation settings, and three language model backbones. Across backbones, AppWorld Normal and Challenge task goal completion average 51.91 and 27.99, respectively, exceeding the baseline without memory by 6.99 and 4.99 percentage points. An AppWorld ablation associates directed connections with an additional improvement of 2.08 points over independent operation cards. The results motivate composition of reusable operations while exposing tradeoffs in retrieval overhead and conditions for valid reuse.
Figures & tables
| AppWorld Normal | AppWorld Challenge | WebArena | ALFWorld | ScienceWorld | |||
| Method | TGC | SGC | TGC | SGC | SR | Score | Score |
| DeepSeek-V3.2 | |||||||
| No-Memory | |||||||
| Flat-Memory | |||||||
| AWM | |||||||
| ReasoningBank | |||||||
| Configuration | Normal TGC | Challenge TGC | Overall TGC |
|---|---|---|---|
| A: No memory | 44.92 | 23.01 | 29.30 |
| B: Whole workflow RAG | 46.59 | 23.02 | 29.79 |
| C: Operation cards | 47.93 | 24.72 | 31.39 |
| D: C + directed connections | 50.74 | 26.51 | 33.47 |
| E: C + active retrieval | 49.90 | 25.94 | 32.82 |
| F: EvoWeave (full) | 51.91 | 27.99 | 34.86 |
| Experience layer | States | Operations | ||
|---|---|---|---|---|
| Mean count | 27.0 | 157.6 | ||
| Capability layer | Code | Skills | Roles | |
| Mean nodes | 185.2 | 82.2 | 6.8 | |
| Mean links to operations | 157.6 | 362.0 | 99.4 |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Evaluation scope and reporting convention |
|---|---|
| Benchmarks | AppWorld Test-Normal and Test-Challenge, WebArena, ALFWorld, and ScienceWorld. These give five settings from four benchmarks. |
| Backbones | DeepSeek-V3.2, GPT-4.1-mini, and Qwen3.8-27B. |
| Deployment | Qwen served locally on an institutional HPC cluster; DeepSeek-V3.2 and GPT-4.1-mini accessed through API calls. |
| Methods | No-Memory, Flat-Memory, AWM, ReasoningBank, Mem0, ExpeL, A-MEM, and EvoWeave. |
| Main metrics | AppWorld TGC and SGC, WebArena SR, and separate scores for ALFWorld and ScienceWorld, all on scales from 0 to 100. |
| Memory construction | Online over the evaluation stream. Every run starts from an empty memory, uses the released benchmark task order, and is independent across the 15 backbone and setting combinations. No training or development data is used, and episode level success is judged by a language model module shared by all methods rather than by the benchmark scorer. |
| Reference parameter | Default value |
| Operation retrieval cosine threshold / maximum candidates | 0.72 / 3 |
| Cosine threshold for merge candidates / maximum candidates | 0.82 / 3 |
| BFS maximum depth / expansions | 8 / 1,000 |
| Maximum visible operation cards | 18 |
| Skill retrieval cosine threshold / maximum cards | 0.35 / 8 |
| Code retrieval cosine threshold / maximum cards | 0.35 / 4 |
| Configuration | Normal TGC | Challenge TGC | Overall TGC |
|---|---|---|---|
| A: No memory | 47.02 | 23.02 | 29.91 |
| B: Whole workflow RAG | 49.05 | 23.02 | 30.50 |
| C: Operation cards | 49.09 | 24.36 | 31.46 |
| D: C + directed connections | 52.75 | 25.21 | 33.12 |
| E: C + active retrieval | 52.20 | 25.67 | 33.29 |
| F: EvoWeave (full) | 54.05 | 27.00 | 34.77 |
| Configuration | Normal TGC | Challenge TGC | Overall TGC |
|---|---|---|---|
| A: No memory | 35.71 | 16.98 | 22.36 |
| B: Whole workflow RAG | 36.67 | 16.02 | 21.95 |
| C: Operation cards | 38.50 | 17.81 | 23.75 |
| D: C + directed connections | 39.84 | 19.80 | 25.56 |
| E: C + active retrieval | 39.11 | 18.86 | 24.68 |
| F: EvoWeave (full) | 40.60 | 21.01 | 26.64 |
| Configuration | Normal TGC | Challenge TGC | Overall TGC |
|---|---|---|---|
| A: No memory | 52.02 | 29.02 | 35.63 |
| B: Whole workflow RAG | 54.05 | 30.02 | 36.92 |
| C: Operation cards | 56.20 | 31.99 | 38.94 |
| D: C + directed connections | 59.63 | 34.51 | 41.72 |
| E: C + active retrieval | 58.40 | 33.30 | 40.51 |
| F: EvoWeave (full) | 61.07 | 35.97 | 43.18 |
| States | Ops. | Code | Skills | Roles | ||||
|---|---|---|---|---|---|---|---|---|
| Setting | Nodes | Links | Nodes | Links | Nodes | Links | ||
| AppWorld Normal | 37 | 173 | 405 | 173 | 56 | 142 | 9 | 117 |
| AppWorld Challenge | 51 | 431 | 467 | 431 | 139 | 825 | 9 | 216 |
| WebArena | 18 | 67 | 17 | 67 | 180 | 562 | 5 | 61 |
| ALFWorld | 9 | 14 | 11 | 14 | 6 | 27 | 1 | 8 |
| ScienceWorld | 20 | 103 | 26 | 103 | 30 | 254 | 10 | 95 |
| Method | Injected | Input | KV reuse (%) | Output | Rounds | s/round |
|---|---|---|---|---|---|---|
| No-Memory | 0.00 | 103,690.00 | 70 | 4,925.00 | 18.52 | 9.52 |
| Flat-Memory | 26,300.80 | 127,710.80 | 78 | 4,829.20 | 17.96 | 9.79 |
| AWM | 19,890.00 | 114,140.00 | 78 | 4,479.80 | 16.78 | 9.66 |
| ReasoningBank | 11,872.00 | 103,192.00 | 77 | 4,341.00 | 16.32 | 9.54 |
| Mem0 | 8,500.00 | 113,140.00 | 76 | 4,974.00 | 18.66 | 9.51 |
| ExpeL | 28,011.60 | 123,961.60 | 78 | 4,564.20 | 17.02 | 9.82 |
Agent Memory
Agent memory lets AI systems retain, update, and use facts, experiences, and skills across sessions and long-horizon tasks.
See all 190 papers