Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Software issue resolution is a critical challenge in software engineering and has garnered increasing attention in recent years. With the rapid advancement of large language models (LLMs), substantial progress has been made in addressing real-world software engineering tasks. Recent studies have introduced ensemble reasoning techniques to enhance the performance of LLM-based issue resolution. However, existing prompting-based methods still face limitations in effectively exploring large ensemble spaces and lack the capacity for repository-level understanding, both of which constrain their overall effectiveness. In this paper, we propose Trae Agent, the first agent-based ensemble reasoning approach for repository-level issue resolution. Trae Agent formulates our goal as an optimal solution search problem and addresses two key challenges, i.e., large ensemble spaces and repository-level understanding, through modular agents for generation, pruning, and selection. We conduct extensive experiments using three leading LLMs on the widely-adopted SWE-bench benchmark, comparing Trae Agent against four state-of-the-art ensemble reasoning techniques. Experimental results demonstrate that Trae Agent consistently achieves superior performance, with an average improvement of 10.22% over all baselines in terms of Pass@1. Trae Agent has achieved first place on the SWE-bench Verified leaderboard, with a notable Pass@1 score of 75.20%. We are pleased to release Trae Agent as an open-source project to support the research community, with all resources available at https://github.com/bytedance/trae-agent.
Key facts. Cited by 93 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 30 of its 65 references that are in the map. First posted on arXiv 31 Jul 2025.
Builds on
30 of 65 references.
Closest ancestors · 1
Same direction, newest first
Other references · 29
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2024ToolACE: Winning the Points of LLM Function Callingcited by 204
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
- 2022Automated Repair of Programs from Large Language Modelscited by 71
- 2024SpecRover: Code Intent Extraction via LLMscited by 71
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
17 more
- 2025Can LLMs Replace Human Evaluators? An Empirical Study of LLM-as-a-Judge in Software Engineeringcited by 64
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Taskscited by 52
- 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 47
- 2023Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Modelscited by 37
- 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agentscited by 35
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2025OmniGIRL: A Multilingual and Multimodal Benchmark for GitHub Issue Resolutioncited by 24
- 2020GAN Ensemble for Anomaly Detectioncited by 22
- 2023Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMscited by 19
- 2023Fixing Large Language Models' Specification Misunderstanding for Better Code Generationcited by 16
- 2023Towards Generating Functionally Correct Code Edits from Natural Language Issue Descriptionscited by 14
- 2025SEAlign: Alignment Training for Software Engineering Agentcited by 11
- 2025Enhancing LLM Code Generation with Ensembles: A Similarity-Based Selection Approachcited by 10
- 2024Large Language Models for Equivalent Mutant Detection: How Far Are We?cited by 6
- 2017Empirical Evaluation of Mutation-based Test Prioritization Techniquescited by 4
- 2018Selecting Fault Revealing Mutantscited by 3
- 2021Predictive Mutation Analysis via Natural Language Channel in Source Codecited by 1
Built on by
Citing papers per year: 2025: 25; 2026: 68.
93 papers.
Sort:
By area:
- 2026Natural-Language Agent Harnessescited by 54
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 40
- 2026Code as Agent Harnesscited by 40
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 38
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 21
- 2025Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Taskscited by 18
- 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
- 2026The Confidence Dichotomy: Analyzing and Mitigating Miscalibration in Tool-Use Agentscited by 14
- 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
38 more
- 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarioscited by 11
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 11
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2025More with Less: An Empirical Study of Turn-Control Strategies for Efficient Coding Agentscited by 8
- 2026AgentStepper: Interactive Debugging of Software Development Agentscited by 8
- 2025A Comprehensive Empirical Evaluation of Agent Frameworks on Code-centric Software Engineering Taskscited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026EET: Experience-Driven Early Termination for Cost-Efficient Software Engineering Agentscited by 6
- 2026ABC-Bench: Benchmarking Agentic Backend Coding in Real-World Developmentcited by 6
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repaircited by 6
- 2026Agyn: A Multi-Agent System for Team-Based Autonomous Software Engineeringcited by 6
- 2026ISO-Bench: Can Coding Agents Optimize Real-World Inference Workloads?cited by 6
- 2026Agent Planning Benchmark: A Diagnostic Framework for Planning Capabilities in LLM Agentscited by 6
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repaircited by 5
- 2025Scalable Supervision for Software Agents via Patch Reasoningcited by 5
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generationcited by 5
- 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
- 2025Investigating Test Overfitting on SWE-benchcited by 4
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2026Do LLMs Benefit From Their Own Words?cited by 4
- 2026Your Code Agent Can Grow Alongside You with Structured Memorycited by 4
- 2026REAgent: Requirement-Driven LLM Agents for Software Issue Resolutioncited by 4
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Testscited by 4
- 2026CoACT: Action-Preserving Observation Compression for Coding Agentscited by 4
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
- 2026On the Role of Fault Localization Context for LLM-Based Program Repaircited by 3
- 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineeringcited by 3
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Taskscited by 3
- 2025When "Correct" Is Not Safe: Can We Trust Functionally Correct Patches Generated by Code Agents?cited by 2
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2
- 2026From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repaircited by 2
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
- 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
50 most cited of 93 All 93 (JSON)
- 2026Chronos Enables Code Agents to Reason over Software Evolution8 Oct 2026
- 2026TestGRAD: Evolving Test Suites via Failure Pattern Momentum for SWE-Agent Ensemble7 Oct 2026
- 2026SecureVibe: Making Vibe Coding More Secure29 Sep 2026
- 2026CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents22 Sep 2026
- 2026AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents8 Sep 2026
- 2026WiseSpec: Requirements-Driven Agents for Code Generation1 Sep 2026
- 2026openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents28 Aug 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026The Devil Is in the Interface: Evaluating How Tool Architecture Shapes Coding Agent Behavior11 Aug 2026
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Framework9 Aug 2026
- 2026Architectural Implications of Agentic AI Workflows5 Aug 2026
38 more
- 2026Interpretable Adaptive Sampling for LLM Test-Time Scaling4 Aug 2026
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks4 Aug 2026
- 2026Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agents1 Aug 2026
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agents31 Jul 2026
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks30 Jul 2026
- 2026SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch29 Jul 2026
- 2026ExplainBench: Evaluating Code Explanations from Agents29 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prune20 Jul 2026
- 2026TRIM: Reducing AI-Generated CodeSlop via Agent Trajectory Minimization20 Jul 2026
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?10 Jul 2026
- 2026Writing Bug Reports for Software Repair Agents: What Information Matters Most?10 Jul 2026
- 2026AgentGym2: Benchmarking Large Language Model Agents in De-Idealized Real-World Environments6 Jul 2026
- 2026CoACT: Action-Preserving Observation Compression for Coding Agents3 Jul 2026
- 2026MOSAIC: Knowledge-Guided CLI Command Composition Attack in LLM Coding Agents3 Jul 2026
- 2026Beyond Textual Repository Exploration: Dual-Modal Structural Reasoning for Agentic Issue Resolution2 Jul 2026
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul 2026
- 2026LLVM-Bench: Benchmarking and Advancing Large Language Models for LLVM Compiler Issue Resolution1 Jul 2026
- 2026When Do Intrinsic Rewards Work for Code Reasoning? A Comprehensive Study18 Jun 2026
- 2026Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment12 Jun 2026
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws4 Jun 2026
- 2026Agent Planning Benchmark: A Diagnostic Framework for Planning Capabilities in LLM Agents3 Jun 2026
- 2026CP-Agent: A Calibrated Risk-Controlled Agent for Feedback-Driven Competitive Programming23 May 2026
- 2026"Refactoring Runaway": Understanding and Mitigating Tangled Refactorings in Coding Agents for Issue Resolution21 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineering17 May 2026
- 2026SWE-WebDevBench: Evaluating Coding Agent Application Platforms as Virtual Software Agencies6 May 2026
- 2026Improving LLM Code Generation via Requirement-Aware Curriculum Reinforcement Learning1 May 2026
- 2026El Agente Forjador: Task-Driven Agent Generation for Quantum Simulation16 Apr 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026REAgent: Requirement-Driven LLM Agents for Software Issue Resolution8 Apr 2026
- 2026On the Role of Fault Localization Context for LLM-Based Program Repair7 Apr 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026Do LLMs Benefit From Their Own Words?27 Feb 2026
- 2026Your Code Agent Can Grow Alongside You with Structured Memory25 Feb 2026
50 newest of 93 All 93 (JSON)
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 40
- 2026Code as Agent Harnesscited by 40
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 38
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 21
- 2025Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Taskscited by 18
- 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
- 2026The Confidence Dichotomy: Analyzing and Mitigating Miscalibration in Tool-Use Agentscited by 14
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarioscited by 11
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
12 most cited of 60 All 60 (JSON)
- 2026CliffCompaction: Cost-Efficient Compaction for Long-Horizon Coding Agents22 Sep 2026
- 2026AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents8 Sep 2026
- 2026WiseSpec: Requirements-Driven Agents for Code Generation1 Sep 2026
- 2026openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents28 Aug 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026The Devil Is in the Interface: Evaluating How Tool Architecture Shapes Coding Agent Behavior11 Aug 2026
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Framework9 Aug 2026
- 2026Architectural Implications of Agentic AI Workflows5 Aug 2026
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks4 Aug 2026
- 2026Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agents1 Aug 2026
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agents31 Jul 2026
12 newest of 60 All 60 (JSON)
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agentscited by 13
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 11
- 2025Scalable Supervision for Software Agents via Patch Reasoningcited by 5
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2026From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repaircited by 2
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agentscited by 2
- 2025SIADAFIX: issue description response for adaptive program repaircited by 1
- 2026Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgmentcited by 1
- 2026Interpretable Adaptive Sampling for LLM Test-Time Scalingcited by 1
- 2026When Do Intrinsic Rewards Work for Code Reasoning? A Comprehensive Studycited by 0
- 2026Interpretable Adaptive Sampling for LLM Test-Time Scaling4 Aug 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026When Do Intrinsic Rewards Work for Code Reasoning? A Comprehensive Study18 Jun 2026
- 2026Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment12 Jun 2026
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb 2026
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineering5 Feb 2026
- 2026From Historical Patches to Repair Plans: Outcome-Conditioned Reasoning for Repository-Level Program Repair30 Jan 2026
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agents29 Jan 2026
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models25 Jan 2026
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localization27 Dec 2025
- 2025Scalable Supervision for Software Agents via Patch Reasoning26 Oct 2025
- 2025SIADAFIX: issue description response for adaptive program repair17 Oct 2025
- 2026Natural-Language Agent Harnessescited by 54
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generationcited by 5
- 2025Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practicecited by 4
- 2025Investigating Test Overfitting on SWE-benchcited by 4
- 2026Do LLMs Benefit From Their Own Words?cited by 4
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
- 2026On the Role of Fault Localization Context for LLM-Based Program Repaircited by 3
- 2026Automating Database-Native Function Code Synthesis with LLMscited by 2
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimizationcited by 2
12 most cited of 21 All 21 (JSON)
- 2026Chronos Enables Code Agents to Reason over Software Evolution8 Oct 2026
- 2026TestGRAD: Evolving Test Suites via Failure Pattern Momentum for SWE-Agent Ensemble7 Oct 2026
- 2026SecureVibe: Making Vibe Coding More Secure29 Sep 2026
- 2026PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks30 Jul 2026
- 2026PerfAgent: Profiler-Guided Iterative Refinement for Repository-Level Code Optimization22 Jul 2026
- 2026LLVM-Bench: Benchmarking and Advancing Large Language Models for LLVM Compiler Issue Resolution1 Jul 2026
- 2026Improving LLM Code Generation via Requirement-Aware Curriculum Reinforcement Learning1 May 2026
- 2026On the Role of Fault Localization Context for LLM-Based Program Repair7 Apr 2026
- 2026Automating Database-Native Function Code Synthesis with LLMs2 Apr 2026
- 2026Natural-Language Agent Harnesses26 Mar 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026Do LLMs Benefit From Their Own Words?27 Feb 2026
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution
- 2026Advances and Frontiers of LLM-based Issue Resolution in Software Engineering: A Comprehensive Survey
- 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution
- 2025SWE-Exp: Experience-Driven Software Issue Resolution
- 2026Evaluating and Improving Automated Repository-Level Rust Issue Resolution with LLM-based Agents
- 2025Lingxi: Repository-Level Issue Resolution Framework Enhanced by Procedural Knowledge Guided Scaling
- 2026Kozuchi Agent: A Language-Agnostic Open-Weight Agent for Software Repair