CompileAgent: Automated Real-World Repo-Level Compilation with Tool-Integrated LLM-based Agent System
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
With open-source projects growing in size and complexity, manual compilation becomes tedious and error-prone, highlighting the need for automation to improve efficiency and accuracy. However, the complexity of compilation instruction search and error resolution makes automatic compilation challenging. Inspired by the success of LLM-based agents in various fields, we propose CompileAgent, the first LLM-based agent framework dedicated to repo-level compilation. CompileAgent integrates five tools and a flow-based agent strategy, enabling interaction with software artifacts for compilation instruction search and error resolution. To measure the effectiveness of our method, we design a public repo-level benchmark CompileAgentBench, and we also design two baselines for comparison by combining two compilation-friendly schemes. The performance on this benchmark shows that our method significantly improves the compilation success rate, ranging from 10% to 71%. Meanwhile, we evaluate the performance of CompileAgent under different agent strategies and verify the effectiveness of the flow-based strategy. Additionally, we emphasize the scalability of CompileAgent, further expanding its application prospects.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 37 references that are in the map. First posted on arXiv 7 May 2025.
Builds on
22 of 37 references.
Closest ancestors · 7
Same direction, newest first
- 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan
- 2023ChatDev: Communicative Agents for Software Development16 Jul
Other references · 15
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2022Selection-Inference: Exploiting Large Language Models for Interpretable Logical Reasoningcited by 331
- 2023ReConcile: Round-Table Conference Improves Reasoning via Consensus among Diverse LLMscited by 297
- 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 153
- 2023OpenAgents: An Open Platform for Language Agents in the Wildcited by 136
- 2024Tell Me More! Towards Implicit User Intention Understanding of Language Model Driven Agentscited by 71
- 2023Towards End-to-End Embodied Decision Making via Multi-modal Large Language Model: Explorations with GPT4-Vision and Beyondcited by 50
- 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testingcited by 46
- 2023Self-Polish: Enhance Reasoning in Large Language Models via Problem Refinementcited by 43
3 more
- 2024QueryAgent: A Reliable and Efficient Reasoning Framework with Environmental Feedback-based Self-Correctioncited by 27
- 2023CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Codecited by 11
- 2024BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matchingcited by 9
Built on by
Citing papers per year: 2025: 5; 2026: 10.
15 papers.
Sort:
By area:
- 2025AgentMaster: A Multi-Agent Conversational Framework Using A2A and MCP Protocols for Multimodal Information Retrieval and Analysiscited by 13
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commitcited by 13
- 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systemscited by 11
- 2025Code2MCP: Transforming Code Repositories into MCP Servicescited by 10
- 2026Agentic Harness for Real-World Compilerscited by 3
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safetycited by 2
- 2026Towards Direct Evaluation of Harness Optimizers via Priority Rankingcited by 2
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Softwarecited by 1
- 2025LLMs as Packagers of HPC Softwarecited by 1
- 2025Cross-modal Retrieval Models for Stripped Binary Analysiscited by 1
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compilercited by 1
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuningcited by 1
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning18 Jun 2026
- 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systems26 May 2026
- 2026Towards Direct Evaluation of Harness Optimizers via Priority Ranking21 May 2026
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safety12 May 2026
- 2026Only Say What You Know: Calibration-Aware Generation for Long-Form Factuality3 May 2026
- 2026Challenges and Future Directions in Agentic Reverse Engineering Systems15 Apr 2026
- 2026Agentic Harness for Real-World Compilers20 Mar 2026
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler17 Jan 2026
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit9 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Cross-modal Retrieval Models for Stripped Binary Analysis11 Dec 2025
- 2025LLMs as Packagers of HPC Software7 Nov 2025
3 more
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Software27 Sep 2025
- 2025Code2MCP: Transforming Code Repositories into MCP Services7 Sep 2025
- 2025AgentMaster: A Multi-Agent Conversational Framework Using A2A and MCP Protocols for Multimodal Information Retrieval and Analysis8 Jul 2025
- 2025AgentMaster: A Multi-Agent Conversational Framework Using A2A and MCP Protocols for Multimodal Information Retrieval and Analysiscited by 13
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commitcited by 13
- 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systemscited by 11
- 2025Code2MCP: Transforming Code Repositories into MCP Servicescited by 10
- 2026Agentic Harness for Real-World Compilerscited by 3
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safetycited by 2
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Softwarecited by 1
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compilercited by 1
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuningcited by 1
- 2026Challenges and Future Directions in Agentic Reverse Engineering Systemscited by 0
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning18 Jun 2026
- 2026TrajAudit: Automated Failure Diagnosis for Agentic Coding Systems26 May 2026
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safety12 May 2026
- 2026Challenges and Future Directions in Agentic Reverse Engineering Systems15 Apr 2026
- 2026Agentic Harness for Real-World Compilers20 Mar 2026
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler17 Jan 2026
- 2026VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit9 Jan 2026
- 2025BuildBench: Benchmarking LLM Agents on Compiling Real-World Open-Source Software27 Sep 2025
- 2025Code2MCP: Transforming Code Repositories into MCP Services7 Sep 2025
- 2025AgentMaster: A Multi-Agent Conversational Framework Using A2A and MCP Protocols for Multimodal Information Retrieval and Analysis8 Jul 2025
- 2026Towards Direct Evaluation of Harness Optimizers via Priority Ranking21 May 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Cross-modal Retrieval Models for Stripped Binary Analysis11 Dec 2025
- 2025LLMs as Packagers of HPC Software7 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing
- 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026ToolRosella: Translating Code Repositories into Standardized Tools for Scientific Agents
- 2026Agentic Separation Logic Specification Synthesis
- 2025RefAgent: A Multi-agent LLM-based Framework for Automatic Software Refactoring
- 2026RepoLaunch: Automating Build and Management of Code Repositories across Languages and Platforms