Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
Summary
Socratic-SWE introduces a closed-loop self-evolution framework for software engineering agents that leverages historical solving traces to generate targeted repair tasks, achieving 50.40% on SWE-bench Verified after three iterations.
View Cached Full Text
Cached at: 06/08/26, 03:30 AM
Paper page - Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
Source: https://huggingface.co/papers/2606.07412
Abstract
Socratic-SWE enables self-evolving software engineering agents by leveraging historical solving traces to generate targeted repair tasks that improve agent performance through iterative refinement.
LLM-driven software engineering agentshave become a central testbed for real-world language-model capability, yet their training remains limited by the availability of high-quality SWE tasks. Existingsynthetic data methodstypically create tasks throughfixed mutationorbug-injection procedures, making the resulting distributions largely independent of the agent’s own weaknesses and training progress. We introduce Socratic-SWE, aclosed-loop self-evolution frameworkthat reuses the agent’shistorical solving tracesas a source of training signal. Rather than treating traces only as evidence for reward computation, Socratic-SWE distills them intostructured agent skillsthat summarize recurring failures and effectiverepair patterns. These skills then guide the generation of targeted repair tasks in real repositories. Candidate tasks are checked throughexecution-based validationand scored with asolver-gradient alignment reward, so that the retained tasks are both verifiable and useful for improving the Solver. The updated Solver produces new traces, enabling thetask curriculumto adapt over successive rounds. AcrossSWE-bench Verified,SWE-bench Lite,SWE-bench Pro, andTerminal-Bench 2.0, Socratic-SWE consistently improves overself-evolving baselinesunder the same compute budget, reaching 50.40% onSWE-bench Verifiedafter three iterations. These results suggest that solving traces can serve as a scalable substrate for self-evolving SWE agents.
View arXiv pageView PDFAdd to collection
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2606.07412 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2606.07412 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2606.07412 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
SWE-Together: Evaluating Coding Agents in Interactive User Sessions
SWE-Together is a multi-turn coding benchmark created from real user-agent interactions, featuring a reactive LLM simulator to evaluate agents based on both final correctness and interaction efficiency.
SWE-chat: Coding Agent Interactions From Real Users in the Wild
SWE-chat introduces a 6,000-session dataset of real-world coding agent interactions, revealing that only 44% of agent-generated code survives in commits and highlighting inefficiencies and security issues in current AI-assisted development.
SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions
SWE-Interact is a new testbed that evaluates coding agents in realistic multi-turn, user-driven software engineering tasks, revealing that strong single-turn benchmark performance does not reliably transfer to interactive, iterative workflows where agents must discover user intent and adapt to evolving requirements.
SWE-Review: Closing the Loop on Issue Resolution with Agentic Code Review
This paper introduces SWE-Review, a framework that closes the loop on AI-generated pull requests by enabling iterative agentic review and revision cycles, improving code quality and issue resolution. Experimental results show that it outperforms single-turn review and enables effective test-time scaling.
Dialogue SWE-Bench: A Benchmark for Dialogue-Driven Coding Agents
Introduces Dialogue-SWE-Bench, a benchmark for evaluating coding agents' ability to resolve software engineering problems through dialogue with a user. Proposes a persona-grounded user simulator and a schema-guided agent that improves dialogue capabilities.