LAGO: Language Agents with Reusable Growing Options
Organizations: Shenzhen University · University of Hong Kong · Hunan University · National University of Singapore ·
Abstract
Long-horizon tasks expose a weakness of monolithic tool-use loops: one agent must decompose, execute, and verify a task within a single trajectory. We introduce LAGO, which treats specialized language agents as reusable temporally extended options. A meta-agent retrieves options from a persistent library or spawns new ones, dispatches sub-tasks, verifies results, and admits successful novel options. The library grows across tasks without updating model weights. On 500 SWE-bench Verified tasks, frozen Qwen3.5-35B-A3B in both roles resolves 58.6% under single-attempt evaluation with the official Docker evaluator. On a fixed 150-task subset, we re-run mini-SWE-agent, Terminus 2, and LAGO with the same policy, temperature, task IDs, and evaluator; their resolve rates are 49.3%, 57.3%, and 60.3%, respectively. Cross-model experiments provide evidence consistent with a role for decomposition quality. A 50-task component ablation finds four fewer resolved tasks without decomposition, two fewer with shuffled reused content, and six fewer without the library. These results support reusable agent-options as a practical abstraction for task streams, while leaving component-level causality task- and model-dependent.
Figures & tables
| Method | Mechanism | Resolve (%) | vs. mini-SWE |
|---|---|---|---|
| Frozen Qwen3.5-35B-A3B; 150-task subset; temperature ; single attempt; official Docker | |||
| mini-SWE-agent | single-agent ReAct loop | 49.3 R | – |
| Terminus 2 | terminal-agent scaffold | 57.3 R | +8.0 |
| LAGO (ours) | hierarchical meta-agent with growing options | 60.3 R | +11.0 |
| Configuration | Resolved | Resolve (%) | vs. full |
|---|---|---|---|
| LAGO (full) | 30/50 | – | |
| Disable decomposition | 26/50 | ||
| Shuffle reused content | 28/50 | ||
| Disable library | 24/50 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Eval set | Orig. (%) | Setup note |
|---|---|---|---|
| Self-Harness | 100 tasks | 41.5 | self-modifying harness; mean of 2 runs; 67 held-in / 33 held-out |
| CODESKILL ( Li et al., 2026 ) | 150 tasks | 57.3–66.0 | frozen policy trained 4B skill manager; soft evaluator |
| CoACT | 200 tasks | 57.0–60.5 | mini-SWE-agent observation compression |
| TDAD | 25 tasks | 24.0–32.0 | 4-bit quantized policy OpenCode; test-driven skill |
Long-Horizon LLM Agents
Long-horizon large language model agents plan, use tools, and preserve task state across extended, multi-step interactions.
See all 451 papers