Abstract
In recent years, Large Language Models (LLMs) have achieved remarkablesuccess and have been widely used in various downstream tasks, especially inthe tasks of the software engineering (SE) field. We find that many studiescombining LLMs with SE have employed the concept of agents either explicitly orimplicitly. However, there is a lack of an in-depth survey to sort out thedevelopment context of existing works, analyze how existing works combine theLLM-based agent technologies to optimize various tasks, and clarify theframework of LLM-based agents in SE. In this paper, we conduct the first surveyof the studies on combining LLM-based agents with SE and present a framework ofLLM-based agents in SE which includes three key modules: perception, memory,and action. We also summarize the current challenges in combining the twofields and propose future opportunities in response to existing challenges. Wemaintain a GitHub repository of the related papers at:https://github.com/DeepSoftwareAnalytics/Awesome-Agent4SE.