Research map / Multi-agent systems and games / LLM agents
Context as a Tool: Context Management for Long-Horizon SWE-Agents
Shukai Liu, Bo Jiang, Jian Yang, Yizhi Li, Jinyang Guo, Xianglong Liu, Bryan Dai
Beihang University · Manchester · IQuest Research
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add context management as a callable tool trained with CaT-Instruct | Qwen2.5-Coder-32B ReAct agent · SWE-Bench-Verified | Pass@1 (%): 49.8 -> 57.6 | Improved |
| replace threshold-triggered compression with learned tool-based compression | Qwen2.5-Coder-32B agent · SWE-Bench-Verified | Pass@1 (%): 53.8 -> 57.6 | Improved |
| train on CaT-Instruct (CaT-Generator data) rather than Base-Instruct (ablation) | CaT, 500 steps · SWE-Bench-Verified | Pass (%): 55.0 -> 57.8 | Improved |
| train on CaT-Instruct rather than Base-Instruct (ablation) | CaT, 150 steps · SWE-Bench-Verified | Pass (%): 53.0 -> 54.8 | Improved |
| raise maximum interaction steps from 150 to 500 | ReAct · SWE-Bench-Verified | Pass (%): 53.2 -> 48.8 | Hurt |
| raise maximum interaction steps from 150 to 500 | CaT · SWE-Bench-Verified | Pass (%): 54.8 -> 57.8 | Improved |
| raise maximum interaction steps from 150 to 500 | Threshold-Compression · SWE-Bench-Verified | Pass (%): 54.2 -> 53.8 | No clear effect |
| use CaT instead of threshold compression at 500 steps | Qwen2.5-Coder-32B agent · SWE-Bench-Verified | tokens: 5.18M -> 2.75M | Improved |
| use CaT at 150 steps | Qwen2.5-Coder-32B agent · SWE-Bench-Verified | tokens: 1.96M (ReAct) -> 1.89M | Improved |
| add CaT context management (by difficulty) | Qwen2.5-Coder-32B agent · SWE-Bench Verified easy/medium/hard | solved rate | Improved |
Open problems in agentic benchmarks and orchestration
Do agent benchmarks, memory and training pipelines hold up with real users, real sites and open models?
- Each method is tested in one domain, one environment or a few benchmarks. · 26 papers state it
- Scores rest on LLM judges that may be biased or noisy. · 20 papers state it
- Simulated users and synthetic data may not match real use. · 20 papers state it
Closest papers by meaning
- AMA-Bench: Evaluating Long-Horizon Memory for Agentic Applications (ICML 2026 · similarity 0.89)
- Structurally Aligned Subtask-Level Memory for Software Engineering Agents (ICML 2026 · similarity 0.89)
- SWE-Marathon: Can AI Agents Autonomously Complete Ultra-Long-Horizon Software Work? (NeurIPS 2026 · similarity 0.88)
- RepoMirage: Probing Repository Context Reasoning in Code Agents with Perturbations (NeurIPS 2026 · similarity 0.87)
- Scaling Long-Horizon Agent via Context Folding (ICML 2026 · similarity 0.87)
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory (ICLR 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.