MarsCode Agent: AI-native Automated Bug Fixing
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent advances in large language models (LLMs) have shown significant potential to automate various software development tasks, including code completion, test generation, and bug fixing. However, the application of LLMs for automated bug fixing remains challenging due to the complexity and diversity of real-world software systems. In this paper, we introduce MarsCode Agent, a novel framework that leverages LLMs to automatically identify and repair bugs in software code. MarsCode Agent combines the power of LLMs with advanced code analysis techniques to accurately localize faults and generate patches. Our approach follows a systematic process of planning, bug reproduction, fault localization, candidate patch generation, and validation to ensure high-quality bug fixes. We evaluated MarsCode Agent on SWE-bench, a comprehensive benchmark of real-world software projects, and our results show that MarsCode Agent achieves a high success rate in bug fixing compared to most of the existing automated approaches.
Key facts. Cited by 68 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 26 of its 51 references that are in the map. First posted on arXiv 2 Sep 2024.
Builds on
26 of 51 references.
Closest ancestors · 3
Same direction, newest first
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 23
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2023Benchmarking Large Language Models for News Summarizationcited by 444
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2023Document-Level Machine Translation with Large Language Modelscited by 90
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
11 more
- 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 82
- 2023Large Language Models are Few-Shot Summarizers: Multi-Intent Comment Generation via In-Context Learningcited by 71
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2023A Survey of Learning-based Automated Program Repaircited by 55
- 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
- 2023Recommending Root-Cause and Mitigation Steps for Cloud Incidents using Large Language Modelscited by 38
- 2024Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuningcited by 30
- 2022DEAR: A Novel Deep Learning-based Approach for Automated Program Repaircited by 22
- 2023CCT5: A Code-Change-Oriented Pre-Trained Modelcited by 17
- 2024Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketchescited by 7
- 2023Enhancing Code Intelligence Tasks with ChatGPTcited by 2
Built on by
Citing papers per year: 2024: 8; 2025: 47; 2026: 13.
68 papers.
Sort:
By area:
- 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Taskscited by 150
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 69
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
38 more
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2025Process-Centric Analysis of Agentic Software Systemscited by 24
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
- 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
- 2025SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agentscited by 21
- 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Taskscited by 20
- 2025SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Codecited by 17
- 2025CompileAgent: Automated Real-World Repo-Level Compilation with Tool-Integrated LLM-based Agent Systemcited by 15
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Git Context Controller: Manage the Context of LLM-based Agents like Gitcited by 13
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agentscited by 13
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 11
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
- 2025Aime: Towards Fully-Autonomous Multi-Agent Frameworkcited by 9
- 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systemscited by 8
- 2026AgentStepper: Interactive Debugging of Software Development Agentscited by 8
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repaircited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarkscited by 6
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedbackcited by 6
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicatescited by 5
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
- 2025EditLord: Learning Code Transformation Rules for Code Editingcited by 4
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernelcited by 4
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 4
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practicecited by 4
- 2025Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraphcited by 3
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
- 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repaircited by 3
- 2025ToPolyAgent: AI Agents for Coarse-Grained Topological Polymer Simulationscited by 2
50 most cited of 68 All 68 (JSON)
- 2026If It's Not Buggy, Don't Fix It: On the Dynamics of Iterative Bug-fixing with LLMs9 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Predicting Program Exit Code with LLMs and Programming Language Semantics1 Sep 2026
- 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair26 May 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026ORACLE-SWE: Quantifying the Contribution of Oracle Information Signals on SWE Agents9 Apr 2026
- 2026LLM+Graph@VLDB'2025 Workshop Summary3 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb 2026
- 2026AgentStepper: Interactive Debugging of Software Development Agents6 Feb 2026
- 2026AgenticSZZ: Temporal Knowledge Graph-Guided Agentic Bug-Inducing Commit Identification3 Feb 2026
38 more
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025Process-Centric Analysis of Agentic Software Systems2 Dec 2025
- 2025SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agents26 Nov 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolution20 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov 2025
- 2025Beyond Accuracy: Behavioral Dynamics of Agentic Multi-Hunk Repair14 Nov 2025
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice10 Nov 2025
- 2025Empowering RepoQA-Agent based on Reinforcement Learning Driven by Monte-carlo Tree Search30 Oct 2025
- 2025Beyond Function-Level Search: Repository-Aware Dual-Encoder Code Retrieval with Adversarial Verification16 Oct 2025
- 2025Helmsman: Autonomous Synthesis of Federated Learning Systems via Collaborative LLM Agents16 Oct 2025
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studies15 Oct 2025
- 2025ToPolyAgent: AI Agents for Coarse-Grained Topological Polymer Simulations14 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilities30 Sep 2025
- 2025An Empirical Study on Failures in Automated Issue Solving17 Sep 2025
- 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Tasks18 Aug 2025
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul 2025
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul 2025
- 2025Git Context Controller: Manage the Context of LLM-based Agents like Git30 Jul 2025
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback24 Jul 2025
- 2025Aime: Towards Fully-Autonomous Multi-Agent Framework16 Jul 2025
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun 2025
- 2025Dissecting the SWE-Bench Leaderboards: Profiling Submitters and Architectures of LLM- and Agent-Based Repair Systems20 Jun 2025
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixing19 Jun 2025
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks13 Jun 2025
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarks12 Jun 2025
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scaling9 Jun 2025
- 2025SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Code6 Jun 2025
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Models25 May 2025
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks22 May 2025
- 2025CompileAgent: Automated Real-World Repo-Level Compilation with Tool-Integrated LLM-based Agent System7 May 2025
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernel29 Apr 2025
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025Agent That Debugs: Dynamic State-Guided Vulnerability Repair10 Apr 2025
50 newest of 68 All 68 (JSON)
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 69
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2025Evaluating Agent-based Program Repair at Googlecited by 35
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2025Process-Centric Analysis of Agentic Software Systemscited by 24
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
- 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
- 2025SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agentscited by 21
- 2025Exploring Autonomous Agents: A Closer Look at Why They Fail When Completing Taskscited by 20
12 most cited of 37 All 37 (JSON)
- 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair26 May 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026ORACLE-SWE: Quantifying the Contribution of Oracle Information Signals on SWE Agents9 Apr 2026
- 2026AgentStepper: Interactive Debugging of Software Development Agents6 Feb 2026
- 2026AgenticSZZ: Temporal Knowledge Graph-Guided Agentic Bug-Inducing Commit Identification3 Feb 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025Process-Centric Analysis of Agentic Software Systems2 Dec 2025
- 2025SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agents26 Nov 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov 2025
12 newest of 37 All 37 (JSON)
- 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Taskscited by 150
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agentscited by 13
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 11
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb 2026
- 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul 2025
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul 2025
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun 2025
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixing19 Jun 2025
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Models25 May 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation18 Feb 2025
- 2025The Danger of Overthinking: Examining the Reasoning-Action Dilemma in Agentic Tasks12 Feb 2025
- 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
- 2025SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Codecited by 17
- 2024CodeRepoQA: A Large-scale Benchmark for Software Engineering Question Answeringcited by 11
- 2024LLMs as Continuous Learners: Improving the Reproduction of Defective Code in Software Issuescited by 10
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2025SWE-Factory: Your Automated Factory for Issue Resolution Training Data and Evaluation Benchmarkscited by 6
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
- 2025EditLord: Learning Code Transformation Rules for Code Editingcited by 4
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practicecited by 4
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
12 most cited of 22 All 22 (JSON)
- 2026If It's Not Buggy, Don't Fix It: On the Dynamics of Iterative Bug-fixing with LLMs9 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Predicting Program Exit Code with LLMs and Programming Language Semantics1 Sep 2026
- 2026LLM+Graph@VLDB'2025 Workshop Summary3 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolution20 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice10 Nov 2025
- 2025Beyond Function-Level Search: Repository-Aware Dual-Encoder Code Retrieval with Adversarial Verification16 Oct 2025
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studies15 Oct 2025
- 2025ToPolyAgent: AI Agents for Coarse-Grained Topological Polymer Simulations14 Oct 2025
12 newest of 22 All 22 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents
- 2024AutoCodeRover: Autonomous Program Improvement
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
- 2026Active-SWE: Benchmarking Coding Agents for Proactive Bug Fixing without Issue Reports