Code editing interfaces
Repository agents gained most when file reading, patch writing, and repair were split into smaller jobs. SWE-Edit keeps exploratory file content out of the main reasoning context by using a Viewer for relevant code blocks and an Editor for patch execution. On SWE-bench Verified, it reports a resolved-rate gain from 69.9% to 72.0%, edit success from 93.4% to 96.9%, and total inference cost down 17.9%.
SAFEdit applies the same division to instructed edits. A Planner writes the edit plan, an Editor changes only the target code, and a Verifier runs real unit tests with up to three repair rounds. On EditBench, it reports 68.6% task success rate, ahead of its GPT-4.1 ReAct baseline at 60.0%. A Claude Code regression report shows the operational risk on the other side: a repeated malware reminder inside Read and Grep results caused 3 of 5 Opus 4.7 subagents to refuse ordinary refactor tasks in one reported workflow.