OrcaLoca: An LLM Agent Framework for Software Issue Localization

Published: 01 May 2025, Last Modified: 18 Jun 2025ICML 2025 posterEveryoneRevisionsBibTeXCC BY 4.0
Abstract: Recent developments in Large Language Model (LLM) agents are revolutionizing Autonomous Software Engineering (ASE), enabling automated coding, problem fixes, and feature improvements. However, localization -- precisely identifying software problems by navigating to relevant code sections -- remains a significant challenge. Current approaches often yield suboptimal results due to a lack of effective integration between LLM agents and precise code search mechanisms. This paper introduces OrcaLoca, an LLM agent framework that improves accuracy for software issue localization by integrating priority-based scheduling for LLM-guided action, action decomposition with relevance scoring, and distance-aware context pruning. Experimental results demonstrate that OrcaLoca becomes the new open-source state-of-the-art (SOTA) in function match rate (65.33%) on SWE-bench Lite. It also improves the final resolved rate of an open-source framework by 6.33 percentage points through its patch generation integration.
Lay Summary: Finding the exact location of bugs in large software projects is still a major challenge for AI assistants. We present OrcaLoca, an AI agent framework that improves bug localization by searching code more intelligently. It outperforms existing open-source tools and boosts bug-fixing success in real software projects.
Link To Code: https://github.com/fishmingyu/OrcaLoca
Primary Area: Applications
Keywords: LLM, LLM Agent, Software Engineering
Submission Number: 8139
Loading