[Paper Review] Agentless: Demystifying LLM-based Software Engineering Agents
Agentless presents an agentless two-phase approach (localization and repair) for solving SWE-bench Lite issues with LLMs, achieving competitive performance at low cost and highlighting benchmark issues.
Recent advancements in large language models (LLMs) have significantly advanced the automation of software development tasks, including code synthesis, program repair, and test generation. More recently, researchers and industry practitioners have developed various autonomous LLM agents to perform end-to-end software development tasks. These agents are equipped with the ability to use tools, run commands, observe feedback from the environment, and plan for future actions. However, the complexity of these agent-based approaches, together with the limited abilities of current LLMs, raises the following question: Do we really have to employ complex autonomous software agents? To attempt to answer this question, we build Agentless -- an agentless approach to automatically solve software development problems. Compared to the verbose and complex setup of agent-based approaches, Agentless employs a simplistic three-phase process of localization, repair, and patch validation, without letting the LLM decide future actions or operate with complex tools. Our results on the popular SWE-bench Lite benchmark show that surprisingly the simplistic Agentless is able to achieve both the highest performance (32.00%, 96 correct fixes) and low cost ($0.70) compared with all existing open-source software agents! Furthermore, we manually classified the problems in SWE-bench Lite and found problems with exact ground truth patch or insufficient/misleading issue descriptions. As such, we construct SWE-bench Lite-S by excluding such problematic issues to perform more rigorous evaluation and comparison. Our work highlights the current overlooked potential of a simple, interpretable technique in autonomous software development. We hope Agentless will help reset the baseline, starting point, and horizon for autonomous software agents, and inspire future work along this crucial direction.
Motivation & Objective
- Motivate the question of whether complex autonomous agents are necessary for LLM-based software engineering tasks.
- Propose a simple, agentless two-phase framework (localization and repair) for end-to-end bug fixes and feature additions.
- Evaluate the approach on SWE-bench Lite to compare performance and cost against existing open-source and commercial agents.
- Analyze limitations in SWE-bench Lite and propose SWE-bench Lite-S as a more rigorous benchmark.
Proposed method
- Two-phase workflow: localization followed by repair.
- Localization: hierarchical process that (a) builds a repository structure representation, (b) identifies top-N suspicious files, (c) derives a skeleton of each file containing class/function declarations, (d) narrows down to exact edit locations.
- Repair: for each edit location, construct a context window around the code, generate multiple patch candidates using an LLM, and filter via syntax checks and regression tests.
- Patches are produced in a simple Search/Replace diff format to minimize editing scope and hallucination risk.
- Patch evaluation uses regression testing to filter out failing patches, followed by majority voting on normalized patches to select the final patch for submission.

Experimental results
Research questions
- RQ1Can a non-agent-driven, two-phase approach match or surpass complex autonomous agent systems in solving repository-level software engineering problems?
- RQ2What is the cost-performance trade-off of an agentless design versus agent-based approaches on SWE-bench Lite?
- RQ3How does hierarchical localization influence the precision of edit locations and overall patch quality?
- RQ4What issues exist within SWE-bench Lite that affect evaluation of autonomous software engineering tools, and how can a revised benchmark (SWE-bench Lite-S) improve rigor?
Key findings
- Agentless achieved 27.33% solved on SWE-bench Lite (82/300 problems) with an average cost of $0.34 per bug, outperforming open-source agents on cost and competitive on success rate.
- Hierarchical localization reduces context and maintains localization accuracy, with 77.7% of ground-truth files localized and progressively narrower contexts at subsequent steps.
- Repair setups show incremental gains: single-sample patches yield 70 correct fixes at $0.11, multiple samples with majority voting yield 78 fixes at $0.34, and full processing with test filtering yields 82 fixes (the reported Agentless result).
- A subset SWE-bench Lite-S (252 problems) is proposed by removing problems with exact ground-truth patches, misleading descriptions, or insufficient problem Information; on this subset, Agentless remains competitive in ranking.
- Detailed analysis reveals issues in SWE-bench Lite related to description quality, provided solutions, and location information, motivating the need for improved benchmark design.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.