Research map / Multi-agent systems and games / LLM agents
CodeTree: Agent-guided Tree Search for Code Generation with Large Language Models
Jierui Li, Hung Le, Yingbo Zhou, Caiming Xiong, Silvio Savarese, Doyen Sahoo
University of Texas at Austin · Salesforce
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- HumanEval leaderboard pass@1 94.5 · rank 21 of 261 papers
- MBPP leaderboard pass@1 98.7 · rank 1 of 165 papers
- CodeContests leaderboard pass@1 43 · rank 3 of 15 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add solution verification by Critic Agent (ablation) | CodeTree (GPT-4o-mini) · HumanEval | pass@1: 91.5% -> 94.5% | Improved |
| add node abort evaluation (ablation) | CodeTree (GPT-4o-mini) · HumanEval+ | pass@1: 81.1% -> 84.8% | Improved |
| add node scoring (ablation) | CodeTree (GPT-4o-mini) · HumanEval+ | pass@1: 82.1% -> 84.8% | Improved |
| guide search with Critic Agent instead of BFS (ablation) | CodeTree (GPT-4o-mini) · HumanEval | pass@1: 93.3% -> 94.5% | Improved |
| use BFS (diverse strategies) instead of DFS | CodeTree without Critic · Table 1 benchmarks | pass@1 | Improved |
| BFS width 4 and depth 2 instead of depth 3 width 3 (ablation) | CodeTree-BFS (GPT-4o-mini) · HumanEval | pass@1: 93.3% -> 95.1% | Improved |
| deeper DFS (d=4 or 5, w=2) instead of d=3, w=3 (ablation) | CodeTree-DFS (GPT-4o-mini) · HumanEval | pass@1: 92.7% -> 92.1% | No clear effect |
| BFS width 5 instead of 3 (ablation) | CodeTree-BFS (GPT-4o) · CodeContests | pass@1: 36.4% -> 39.4% | Improved |
| use CodeTree instead of Resample | Llama-3.1-8B · Table 1 benchmarks | pass@1 | Hurt |
| apply CodeTree to SWE-bench pipeline instead of base | GPT-4o-mini · SWE-bench | % resolved: 24.2% -> 27.6% | Improved |
| use CodeTree instead of Reflexion | GPT-4o · CodeContests | pass@1: 41.8% -> 43.0% | Improved |
| use CodeTree instead of Reflexion | GPT-4o-mini · MBPP+ | pass@1: 78.6% -> 77.0% | Hurt |
Later papers that compared with this method
1 later accepted paper reports CodeTree as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- MavenCoder: Competitive Code Generation via Model Adaptive Planning Strategies and Multi-Perspective Verification Enhancement (ACL 2026 · better on 3 of 3 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Reflexion — Reflexion: language agents with verbal reinforcement learning (NeurIPS 2023) · better on 9 of 10 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in robust and efficient agent execution
What makes an LLM agent finish a long task reliably, and at what cost?
- Methods are built for single agents, not teams. · 8 papers state it
- Weak visual perception caps GUI and embodied agents. · 5 papers state it
- Cached tool and plan reuse fails when tasks vary. · 5 papers state it
Closest papers by meaning
- Steering Large Language Models between Code Execution and Textual Reasoning (ICLR 2025 · similarity 0.90)
- Let's Revise Step-by-Step: A Unified Local Search Framework for Code Generation with LLMs (NeurIPS 2025 · similarity 0.89)
- Fleet of Agents: Coordinated Problem Solving with Large Language Models (ICML 2025 · similarity 0.89)
- NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents (ICML 2026 · similarity 0.89)
- Planning in Natural Language Improves LLM Search for Code Generation (ICLR 2025 · similarity 0.89)
- Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models (ICML 2024 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.