TL;DR
SWE-Edit introduces a decomposed approach to code editing with specialized subagents, improving efficiency and performance of software engineering agents by separating viewing and editing tasks.
Contribution
The paper proposes SWE-Edit, a novel framework that decomposes code editing into viewing and editing subagents, enhancing agent reasoning and reducing context-related errors.
Findings
SWE-Edit improves resolved rate by 2.1% on SWE-bench Verified.
It reduces inference cost by 17.9%.
Training Qwen3-8B with GRPO enhances editing efficiency.
Abstract
Large language model agents have achieved remarkable progress on software engineering tasks, yet current approaches suffer from a fundamental context coupling problem: the standard code editing interface conflates code inspection, modification planning, and edit execution within a single context window, forcing agents to interleave exploratory viewing with strictly formatted edit generation. This causes irrelevant information to accumulate and degrades agent performance. To address this, we propose SWE-Edit, which decomposes code editing into two specialized subagents: a Viewer that extracts task-relevant code on demand, and an Editor that executes modifications from high-level plans--allowing the main agent to focus on reasoning while delegating context-intensive operations to clean context windows. We further investigate what makes an effective editing model: observing that the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
