SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Context
Not on the map. Why?
Abstract (arXiv)
Prior representative ReAct-style approaches in autonomous Software Engineering (SWE) typically lack the explicit System-2 reasoning required for deep analysis and handling complex edge cases. While recent reasoning models demonstrate the potential of extended Chain-of-Thought (CoT), applying them to the multi-turn SWE task creates a fundamental dilemma: retaining full reasoning history leads to context explosion and ``Lost-in-the-Middle'' degradation, while discarding it would force the agent to redundantly re-reason at every step. To address these challenges, we propose SWE-AGILE, a novel software agent framework designed to bridge the gap between reasoning depth, efficiency, and context constraints. SWE-AGILE introduces a Dynamic Reasoning Context strategy, maintaining a ``sliding window'' of detailed reasoning for immediate continuity to prevent redundant re-analyzing, while compressing historical reasoning content into concise Reasoning Digests. Empirically, SWE-AGILE sets a new standard for 7B-8B models on SWE-Bench-Verified using only 2.2k trajectories and 896 tasks. Code is available at https://github.com/KDEGroup/SWE-AGILE.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 41 of its 63 references that are in the map. First posted on arXiv 13 Apr 2026.
Builds on
41 of 63 references.
References · 41
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025UI-TARS: Pioneering Automated GUI Interaction with Native Agentscited by 584
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
29 more
- 2025O1-Pruner: Length-Harmonizing Fine-Tuning for O1-Like Reasoning Pruningcited by 278
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMscited by 246
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
- 2025Training Language Models to Reason Efficientlycited by 242
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 140
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 136
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
- 2025LightThinker: Thinking Step-by-Step Compressioncited by 104
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 95
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
- 2025Kimi-Dev: Agentless Training as Skill Prior for SWE-Agentscited by 35
- 2025UI-AGILE: Advancing GUI Agents with Effective Reinforcement Learning and Precise Inference-Time Groundingcited by 32
- 2026MiroThinker-1.7 & H1: Towards Heavy-Duty Research Agents via Verificationcited by 28
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
- 2026InfiniteWeb: Scalable Web Environment Synthesis for GUI Agent Trainingcited by 26
- 2025GUI-Shepherd: Reliable Process Reward and Verification for Long-Sequence GUI Taskscited by 25
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2025Skywork-SWE: Unveiling Data Scaling Laws for Software Engineering in LLMscited by 24
- 2025Beyond Turn Limits: Training Deep Search Agents with Dynamic Context Windowcited by 19
- 2026Lying with Truths: Open-Channel Multi-Agent Collusion for Belief Manipulation via Generative Montagecited by 17
- 2025MCP-Flow: Facilitating LLM Agents to Master Real-World, Diverse and Scaling MCP Toolscited by 9
- 2026CodeHacker: Automated Test Case Generation for Detecting Vulnerabilities in Competitive Programming Solutionscited by 6
- 2026Android Coach: Improve Online Agentic Training Efficiency with Single State Multiple Actionscited by 6
- 2025Building Coding Agents via Entropy-Enhanced Multi-Turn Preference Optimizationcited by 5
- 2026From Off-Policy to On-Policy: Enhancing GUI Agents via Bi-level Expert-to-Policy Assimilationcited by 2
- 2026HCRE: LLM-based Hierarchical Classification for Cross-Document Relation Extraction with a Prediction-then-Verification Strategycited by 2
- 2026SpecEyes: Accelerating Agentic Multimodal LLMs via Speculative Perception and Planningcited by 1
- 2026Context-Agent: Dynamic Discourse Trees for Non-Linear Dialoguecited by 1
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Dissecting Failure Dynamics in Large Language Model Reasoningcited by 2
- 2026Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agentscited by 2
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Modelscited by 0
- 2026openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agentscited by 0
- 2026Safe Actions Alone Do Not Ensure Safe Agents: Identifying Unfulfilled Obligations with Guard Modelscited by 0
- 2026Safe Actions Alone Do Not Ensure Safe Agents: Identifying Unfulfilled Obligations with Guard Models8 Oct 2026
- 2026openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents28 Aug 2026
- 2026Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agents1 Aug 2026
- 2026M2A: Synergizing Mathematical and Agentic Reasoning in Large Language Models11 May 2026
- 2026Dissecting Failure Dynamics in Large Language Model Reasoning16 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Towards Structured, State-Aware, and Execution-Grounded Reasoning for Software Engineering Agents
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agents
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agents
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agents
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agents
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cycle