---
title: "AgentCoder — paper by Huang et al. (2023) — summary and ideas"
description: "LLM-based code generation improves when models can check and revise their own output. 44 references, cited by 64 papers here."
authors: ["Dong Huang", "Jie M.Zhang", "Michael Luck", "Qingwen Bu", "Yuhao Qing", "Heming Cui"]
year: 2023
venue: "arXiv:2312.13010"
source: "https://arxiv.org/abs/2312.13010"
doi: "10.48550/arxiv.2312.13010"
arxiv: "2312.13010"
licence: "CC BY 4.0 (arXiv)"
licence_url: "http://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/huang-2023-agentcoder-multi-agent-based/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/huang-2023-agentcoder-multi-agent-based/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/page/8/) / AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation

# AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation

**Authors:** [Dong Huang](https://md.research.elamur.ai/free/en/authors/dong-huang/), [Jie M.Zhang](https://md.research.elamur.ai/free/en/authors/jie-m-zhang/), Michael Luck, Qingwen Bu, [Yuhao Qing](https://md.research.elamur.ai/free/en/authors/yuhao-qing/) and [Heming Cui](https://md.research.elamur.ai/free/en/authors/heming-cui/) · **Year:** 2023 · **Venue:** arXiv:2312.13010 · **Licence:** [CC BY 4.0 (arXiv)](http://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://arxiv.org/abs/2312.13010) · [PDF](https://arxiv.org/pdf/2312.13010) · [DOI 10.48550/arxiv.2312.13010](https://doi.org/10.48550/arxiv.2312.13010) · [arXiv 2312.13010](https://arxiv.org/abs/2312.13010) · [OpenAlex](https://openalex.org/W4390092490)

**Citations:** 26 citations (OpenAlex, 2026-10-14) · [64](https://md.research.elamur.ai/free/en/papers/huang-2023-agentcoder-multi-agent-based/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
LLM-based code generation improves when models can check and revise their own output. However, existing self-refinement and multi-agent approaches (MetaGPT, ChatDev, AgentVerse) have two weaknesses: their feedback relies on imprecise tests, and they coordinate many agents at a high token cost. AgentCoder addresses this with a lean framework of three roles. A programmer agent writes code from the requirement. A test designer agent, working separately and never seeing the code, produces basic, edge-case and large-scale tests. A test executor agent runs those tests locally and sends any errors back to the programmer, repeating until all tests pass or the iteration budget runs out. Keeping test creation apart from coding prevents the tests from inheriting the code's blind spots. The authors evaluated the framework on HumanEval, MBPP and their ET variants with 14 LLMs and 16 baselines. With GPT-4, AgentCoder reached 96.3% pass@1 on HumanEval and 91.8% on MBPP, beating the strongest prior method while using less than half its tokens. This makes reliable automated coding cheaper.

## Key points
- **Accuracy and cost with GPT-4:** pass@1 was 96.3% on HumanEval and 91.8% on MBPP, using about 56.9K and 66.3K tokens. The previous best reached 90.2% and 78.9% at 138.2K and 206.5K tokens. MetaGPT, ChatDev and AgentVerse all required substantially more tokens.
- **Test quality with GPT-4:** generated tests were 89.6% and 91.4% correct on HumanEval and MBPP, measured against the canonical solutions. MetaGPT scored 79.3% and 84.4%.
- **Test coverage with GPT-4:** line coverage was 91.7% on HumanEval and 92.3% on MBPP, compared with 81.7% and 80.5% for MetaGPT.
- **Ablation on separating roles (GPT-3.5-turbo):** one agent writing both code and tests did worse than separate agents.
  - pass@1: 71.3% vs 79.9% on HumanEval and 79.4% vs 89.9% on MBPP.
  - Test accuracy: 61.0% vs 87.8% on HumanEval and 51.8% vs 89.9% on MBPP.
  - Line coverage: 72.5% vs 87.5% on HumanEval and 75.9% vs 89.5% on MBPP.
- **Averages across all datasets:** AgentCoder scored 91.5% pass@1 with GPT-4 and 84.1% with GPT-3.5, against 86.8% and 75.3% for the prior state of the art.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Shanghai Jiao Tong University](https://md.research.elamur.ai/free/en/universities/shanghai-jiao-tong-university/) — University, Shanghai, China · 212 works · 19,544 citations
- [University of Hong Kong](https://md.research.elamur.ai/free/en/universities/university-of-hong-kong/) — University, Pok Fu Lam, China · 118 works · 13,496 citations
- [University of Sussex](https://md.research.elamur.ai/free/en/universities/university-of-sussex/) — University, Brighton, United Kingdom · 24 works · 3,604 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🗄️ Information Systems](https://md.research.elamur.ai/free/en/shelves/computer-science/information-systems/) · 1,730 works · [💻 Software](https://md.research.elamur.ai/free/en/shelves/computer-science/software/) · 119 works · [🖥️ Computer Science Applications](https://md.research.elamur.ai/free/en/shelves/computer-science/computer-science-applications/) · 131 works

🧭 Topics (1): [💻 Code & programming languages](https://md.research.elamur.ai/free/en/topics/code-and-programming/) · 168 works

## Cite

Cite as: Dong Huang, Jie M.Zhang, Michael Luck, Qingwen Bu, Yuhao Qing and Heming Cui. 2023. AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation. arXiv:2312.13010.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@misc{huang2023agentcoder,
  title = {{AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation}},
  author = {Dong Huang, Jie M.Zhang, Michael Luck, Qingwen Bu, Yuhao Qing and Heming Cui},
  year = {2023},
  doi = {10.48550/arxiv.2312.13010},
  eprint = {2312.13010},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2312.13010}
}
```

- [← previous Skywork: A More Open Bilingual Foundation Model](https://md.research.elamur.ai/free/en/papers/wei-2023-skywork-more-open-bilingual/)
- [next → Alignment for Honesty](https://md.research.elamur.ai/free/en/papers/yang-2023-alignment-honesty/)
- [↑ back to papers of 2023](https://md.research.elamur.ai/free/en/papers/2023/page/8/)

## References

44 references, 25 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, and Kai-Wei Chang. [Unified pre-training for program understanding and generation](https://md.research.elamur.ai/free/en/papers/ahmad-2021-unified-pre-training-program-understanding/). ArXiv, abs/2103.06333, 2021.
2. Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie J. Cai, Michael Terry, Quoc V. Le, and Charles Sutton. [Program synthesis with large language models](https://md.research.elamur.ai/free/en/papers/austin-2021-program-synthesis-large-language-models/). ArXiv, abs/2108.07732, 2021.
3. Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, T. J. Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeff Wu, Clemens Winter, C… — [Language Models are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/)
4. Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. [Language models are few-shot learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/). arXiv preprint arXiv:2005.14165, 2020.
5. Tianle Cai, Xuezhi Wang, Tengyu Ma, Xinyun Chen, and Denny Zhou. [Large language models as tool makers](https://md.research.elamur.ai/free/en/papers/cai-2023-large-language-models-tool-makers/). arXiv preprint arXiv:2305.17126, 2023.
6. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. [Evaluating large language models trained on code](https://md.research.elamur.ai/free/en/papers/chen-2021-evaluating-large-language-models-trained/). arXiv preprint arXiv:2107.03374, 2021.
7. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde, Jared Kaplan, Harrison Edwards, Yura Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Aleth… — [Evaluating Large Language Models Trained on Code](https://md.research.elamur.ai/free/en/papers/chen-2021-evaluating-large-language-models-trained/)
8. Weize Chen, Yusheng Su, Jingwei Zuo, Cheng Yang, Chenfei Yuan, Cheng Qian, Chi-Min Chan, Yujia Qin, Ya-Ting Lu, Ruobing Xie, Zhiyuan Liu, Maosong Sun, and Jie Zhou. [Agentverse: Facilitating multi-agent collaboration and exploring emergent behaviors](https://md.research.elamur.ai/free/en/papers/chen-2023-agentverse-facilitating-multi-agent/) in agents. ArXiv, abs/2308.10848, 2023.
9. Xinyun Chen, Maxwell Lin, Nathanael Schärli, and Denny Zhou. Teaching large language models to self-debug. ArXiv, abs/2304.05128, 2023. [find](https://scholar.google.com/scholar?q=Xinyun+Chen%2C+Maxwell+Lin%2C+Nathanael+Scha%CC%88rli%2C+and+Denny+Zhou%2E+Teaching+large+language+models+to+self%2Ddebug%2E+ArXiv%2C+abs%2F2304%2E05128%2C+2023%2E)
10. Yihong Dong, Ji Ding, Xue Jiang, Zhuo Li, Ge Li, and Zhi Jin. Codescore: Evaluating code generation by learning code execution. ArXiv, abs/2301.09043, 2023. — [arXiv:2301.09043](https://arxiv.org/abs/2301.09043) [find](https://scholar.google.com/scholar?q=Yihong+Dong%2C+Ji+Ding%2C+Xue+Jiang%2C+Zhuo+Li%2C+Ge+Li%2C+and+Zhi+Jin%2E+Codescore%3A+Evaluating+code+generation+by+learning+code+execution%2E+ArXiv%2C+abs%2F2301%2E09043%2C+2023%2E+%E2%80%94+%5BarXiv%3A2301%2E09043%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F)
11. Yihong Dong, Xue Jiang, Zhi Jin, and Ge Li. [Self-collaboration code generation via chatgpt](https://md.research.elamur.ai/free/en/papers/dong-2023-self-collaboration-code-generation/). ArXiv, abs/2304.07590, 2023.
12. Meta Fundamental AI Research Diplomacy Team (FAIR)†, Anton Bakhtin, Noam Brown, Emily Dinan, Gabriele Farina, Colin Flaherty, Daniel Fried, Andrew Goff, Jonathan Gray, Hengyuan Hu, et al. Human-level play in the game of diplomacy by combining language models with strategic reasoning. Science, 378(66… [find](https://scholar.google.com/scholar?q=Meta+Fundamental+AI+Research+Diplomacy+Team+%28FAIR%29%E2%80%A0%2C+Anton+Bakhtin%2C+Noam+Brown%2C+Emily+Dinan%2C+Gabriele+Farina%2C+Colin+Flaherty%2C+Daniel+Fried%2C+Andrew+Goff%2C+Jonathan+Gray%2C+Hengyuan+Hu%2C+et+al%2E+Human%2Dlevel+)
13. Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, and Ming Zhou. [CodeBERT: A pre-trained model for programming and natural languages](https://md.research.elamur.ai/free/en/papers/feng-2020-codebert-pre-trained-model-programming/). In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1536–1547, Online…
14. Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida I. Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Wen tau Yih, Luke Zettlemoyer, and Mike Lewis. Incoder: A generative model for code infilling and synthesis. ArXiv, abs/2204.05999, 2022. [find](https://scholar.google.com/scholar?q=Daniel+Fried%2C+Armen+Aghajanyan%2C+Jessy+Lin%2C+Sida+I%2E+Wang%2C+Eric+Wallace%2C+Freda+Shi%2C+Ruiqi+Zhong%2C+Wen+tau+Yih%2C+Luke+Zettlemoyer%2C+and+Mike+Lewis%2E+Incoder%3A+A+generative+model+for+code+infilling+and+synthes)
15. Daya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng, Duyu Tang, Shujie Liu, Long Zhou, Nan Duan, Jian Yin, Daxin Jiang, and M. Zhou. [Graphcodebert: Pre-training code representations with data flow](https://md.research.elamur.ai/free/en/papers/guo-2021-graphcodebert-pre-training-code-representations/). ArXiv, abs/2009.08366, 2020.
16. Shibo Hao, Yi Gu, Haodi Ma, Joshua Jiahua Hong, Zhen Wang, Daisy Zhe Wang, and Zhiting Hu. Reasoning with language model is planning with world model. ArXiv, abs/2305.14992, 2023. [find](https://scholar.google.com/scholar?q=Shibo+Hao%2C+Yi+Gu%2C+Haodi+Ma%2C+Joshua+Jiahua+Hong%2C+Zhen+Wang%2C+Daisy+Zhe+Wang%2C+and+Zhiting+Hu%2E+Reasoning+with+language+model+is+planning+with+world+model%2E+ArXiv%2C+abs%2F2305%2E14992%2C+2023%2E)
17. Sirui Hong, Xiawu Zheng, Jonathan Chen, Yuheng Cheng, Jinlin Wang, Ceyao Zhang, Zili Wang, Steven Ka Shing Yau, Zijuan Lin, Liyang Zhou, et al. Metagpt: Meta programming for multi-agent collaborative framework. arXiv preprint arXiv:2308.[00352, 2023](https://md.research.elamur.ai/free/en/papers/hong-2023-metagpt-meta-programming-multi/).
18. Dong Huang, Qi Bu, and Heming Cui. Codecot and beyond: Learning to program and test like a developer. ArXiv, abs/2308.08784, 2023. — [arXiv:2308.08784](https://arxiv.org/abs/2308.08784) [find](https://scholar.google.com/scholar?q=Dong+Huang%2C+Qi+Bu%2C+and+Heming+Cui%2E+Codecot+and+beyond%3A+Learning+to+program+and+test+like+a+developer%2E+ArXiv%2C+abs%2F2308%2E08784%2C+2023%2E+%E2%80%94+%5BarXiv%3A2308%2E08784%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F2308%2E08784%29)
19. Xue Jiang, Yihong Dong, Lecheng Wang, Qiwei Shang, and Ge Li. Self-planning code generation with large language model. ArXiv, abs/2303.[06689, 2023](https://md.research.elamur.ai/free/en/papers/jiang-2023-self-planning-code-generation-large/).
20. Hung Le, Hailin Chen, Amrita Saha, Akash Gokul, Doyen Sahoo, and Shafiq R. Joty. Codechain: Towards modular code generation through chain of self-revisions with representative sub-modules. ArXiv, abs/2310.08992, 2023. — [arXiv:2310.08992](https://arxiv.org/abs/2310.08992) [find](https://scholar.google.com/scholar?q=Hung+Le%2C+Hailin+Chen%2C+Amrita+Saha%2C+Akash+Gokul%2C+Doyen+Sahoo%2C+and+Shafiq+R%2E+Joty%2E+Codechain%3A+Towards+modular+code+generation+through+chain+of+self%2Drevisions+with+representative+sub%2Dmodules%2E+ArXiv%2C+abs%2F)
21. Yujia Li, David H. Choi, Junyoung Chung, Nate Kushman, Julian Schrittwieser, Rémi Leblond, Tom, Eccles, James Keeling, Felix Gimeno, Agustin Dal Lago, Thomas Hubert, Peter Choy, Cyprien de, Masson d’Autume, Igor Babuschkin, Xinyun Chen, Po-Sen Huang, Johannes Welbl, Sven Gowal, Alexey, Cherepanov,… — [Competition-Level Code Generation with AlphaCode](https://md.research.elamur.ai/free/en/papers/li-2022-competition-level-code-generation-alphacode/)
22. Guohao Li, Hasan Abed Al Kader Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem. CAMEL: Communicative agents for ”mind” exploration of large language model society. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. — [CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society](https://md.research.elamur.ai/free/en/papers/li-2023-camel-communicative-agents-mind/)
23. Jia Li, Ge Li, Yongming Li, and Zhi Jin. Structured chain-of-thought prompting for code generation. 2023. [find](https://scholar.google.com/scholar?q=Jia+Li%2C+Ge+Li%2C+Yongming+Li%2C+and+Zhi+Jin%2E+Structured+chain%2Dof%2Dthought+prompting+for+code+generation%2E+2023%2E)
24. Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, Qian Liu, Evgenii Zheltonozhskii, Terry Yue Zhuo, Thomas Wang, Olivier Dehaene, Mishig Davaadorj, Joel Lamy-Poirier, João Monteiro, Oleh Shliazhko, Nicola… [find](https://scholar.google.com/scholar?q=Raymond+Li%2C+Loubna+Ben+Allal%2C+Yangtian+Zi%2C+Niklas+Muennighoff%2C+Denis+Kocetkov%2C+Chenghao+Mou%2C+Marc+Marone%2C+Christopher+Akiki%2C+Jia+Li%2C+Jenny+Chim%2C+Qian+Liu%2C+Evgenii+Zheltonozhskii%2C+Terry+Yue+Zhuo%2C+Thoma)
25. Ruibo Liu, Ruixin Yang, Chenyan Jia, Ge Zhang, Denny Zhou, Andrew M Dai, Diyi Yang, and Soroush Vosoughi. Training socially aligned language models in simulated human society. arXiv preprint arXiv:2305.[16960, 2023](https://md.research.elamur.ai/free/en/papers/liu-2023-training-socially-aligned-language-models/).
26. Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Sean Welleck, Bodhisattwa Prasad Majumder, Shashank Gupta, Amir Yazdanbakhsh, and Peter Clark. Self-refine: Iterative refinement with self-feedback. ArXiv, ab… [find](https://scholar.google.com/scholar?q=Aman+Madaan%2C+Niket+Tandon%2C+Prakhar+Gupta%2C+Skyler+Hallinan%2C+Luyu+Gao%2C+Sarah+Wiegreffe%2C+Uri+Alon%2C+Nouha+Dziri%2C+Shrimai+Prabhumoye%2C+Yiming+Yang%2C+Sean+Welleck%2C+Bodhisattwa+Prasad+Majumder%2C+Shashank+Gupta%2C)
27. Erik Nijkamp, Hiroaki Hayashi, Caiming Xiong, Silvio Savarese, and Yingbo Zhou. [Codegen2: Lessons for training llms on programming and natural languages](https://md.research.elamur.ai/free/en/papers/nijkamp-2023-codegen2-lessons-training-llms-programming/). ICLR, 2023.
28. Erik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu, Huan Wang, Yingbo Zhou, Silvio Savarese, and Caiming Xiong. Codegen: An open large language model for code with multi-turn program synthesis. ICLR, 2023. [find](https://scholar.google.com/scholar?q=Erik+Nijkamp%2C+Bo+Pang%2C+Hiroaki+Hayashi%2C+Lifu+Tu%2C+Huan+Wang%2C+Yingbo+Zhou%2C+Silvio+Savarese%2C+and+Caiming+Xiong%2E+Codegen%3A+An+open+large+language+model+for+code+with+multi%2Dturn+program+synthesis%2E+ICLR%2C+202)
29. OpenAI. [Gpt-4 technical report](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/). ArXiv, abs/2303.08774, 2023.
30. Joon Sung Park, Joseph O’Brien, Carrie Jun Cai, Meredith Ringel Morris, Percy Liang, and Michael S Bernstein. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, pages 1–22, 2023. [find](https://scholar.google.com/scholar?q=Joon+Sung+Park%2C+Joseph+O%E2%80%99Brien%2C+Carrie+Jun+Cai%2C+Meredith+Ringel+Morris%2C+Percy+Liang%2C+and+Michael+S+Bernstein%2E+Generative+agents%3A+Interactive+simulacra+of+human+behavior%2E+In+Proceedings+of+the+36th+Ann)
31. Chen Qian, Xin Cong, Cheng Yang, Weize Chen, Yusheng Su, Juyuan Xu, Zhiyuan Liu, and Maosong Sun. Communicative agents for software development. arXiv preprint arXiv:2307.[07924, 2023](https://md.research.elamur.ai/free/en/papers/qian-2023-chatdev-communicative-agents-software/).
32. Baptiste Roziere, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat, Xiaoqing Ellen Tan, Yossi Adi, Jingyu Liu, Tal Remez, Jérémy Rapin, et al. [Code llama: Open foundation models for code](https://md.research.elamur.ai/free/en/papers/roziere-2024-code-llama-open-foundation-models/). arXiv preprint arXiv:2308.12950, 2023.
33. Noah Shinn, Federico Cassano, Beck Labash, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. [Reflexion: Language agents with verbal reinforcement learning](https://md.research.elamur.ai/free/en/papers/shinn-2023-reflexion-language-agents-verbal-reinforcement/). 2023.
34. Yue Wang, Weishi Wang, Shafiq Joty, and Steven C.H. Hoi. Codet5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. In EMNLP, 2021. [find](https://scholar.google.com/scholar?q=Yue+Wang%2C+Weishi+Wang%2C+Shafiq+Joty%2C+and+Steven+C%2EH%2E+Hoi%2E+Codet5%3A+Identifier%2Daware+unified+pre%2Dtrained+encoder%2Ddecoder+models+for+code+understanding+and+generation%2E+In+EMNLP%2C+2021%2E)
35. Hanbin Wang, Zhenghao Liu, Shuo Wang, Ganqu Cui, Ning Ding, Zhiyuan Liu, and Ge Yu. Intervenor: Prompt the coding ability of large language models with the interactive chain of repairing. ArXiv, abs/2311.09868, 2023. — [arXiv:2311.09868](https://arxiv.org/abs/2311.09868) [find](https://scholar.google.com/scholar?q=Hanbin+Wang%2C+Zhenghao+Liu%2C+Shuo+Wang%2C+Ganqu+Cui%2C+Ning+Ding%2C+Zhiyuan+Liu%2C+and+Ge+Yu%2E+Intervenor%3A+Prompt+the+coding+ability+of+large+language+models+with+the+interactive+chain+of+repairing%2E+ArXiv%2C+abs%2F2)
36. Yue Wang, Hung Le, Akhilesh Deepak Gotmare, Nghi DQ Bui, Junnan Li, and Steven CH Hoi. Codet5+: Open code large language models for code understanding and generation. arXiv preprint arXiv:2305.07922, 2023. [find](https://scholar.google.com/scholar?q=Yue+Wang%2C+Hung+Le%2C+Akhilesh+Deepak+Gotmare%2C+Nghi+DQ+Bui%2C+Junnan+Li%2C+and+Steven+CH+Hoi%2E+Codet5%2B%3A+Open+code+large+language+models+for+code+understanding+and+generation%2E+arXiv+preprint+arXiv%3A2305%2E07922%2C+)
37. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Huai hsin Chi, F. Xia, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. ArXiv, abs/2201.[11903, 2022](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/).
38. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. [React: Synergizing reasoning and acting in language models](https://md.research.elamur.ai/free/en/papers/yao-2022-react-synergizing-reasoning-acting-language/). ArXiv, abs/2210.03629, 2022.
39. Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solving with large language models. ArXiv, abs/2305.10601, 2023. [find](https://scholar.google.com/scholar?q=Shunyu+Yao%2C+Dian+Yu%2C+Jeffrey+Zhao%2C+Izhak+Shafran%2C+Thomas+L%2E+Griffiths%2C+Yuan+Cao%2C+and+Karthik+Narasimhan%2E+Tree+of+thoughts%3A+Deliberate+problem+solving+with+large+language+models%2E+ArXiv%2C+abs%2F2305%2E10601%2C)
40. Daoguang Zan, Bei Chen, Dejian Yang, Zeqi Lin, Minsu Kim, Bei Guan, Yongji Wang, Weizhu Chen, and Jian-Guang Lou. CERT: Continual pre-training on sketches for library-oriented code generation. In The 2022 International Joint Conference on Artificial Intelligence, 2022. [find](https://scholar.google.com/scholar?q=Daoguang+Zan%2C+Bei+Chen%2C+Dejian+Yang%2C+Zeqi+Lin%2C+Minsu+Kim%2C+Bei+Guan%2C+Yongji+Wang%2C+Weizhu+Chen%2C+and+Jian%2DGuang+Lou%2E+CERT%3A+Continual+pre%2Dtraining+on+sketches+for+library%2Doriented+code+generation%2E+In+The+)
41. Ceyao Zhang, Kaijie Yang, Siyi Hu, Zihao Wang, Guanghe Li, Yi Eve Sun, Chen Zhang, Zhaowei Zhang, Anji Liu, Song-Chun Zhu, Xiaojun Chang, Junge Zhang, F. Yin, Yitao Liang, and Yaodong Yang. Proagent: Building proactive cooperative ai with large language models. ArXiv, abs/2308.11339, 2023. — [arXiv:2308.11339](https://arxiv.org/abs/2308.11339) [find](https://scholar.google.com/scholar?q=Ceyao+Zhang%2C+Kaijie+Yang%2C+Siyi+Hu%2C+Zihao+Wang%2C+Guanghe+Li%2C+Yi+Eve+Sun%2C+Chen+Zhang%2C+Zhaowei+Zhang%2C+Anji+Liu%2C+Song%2DChun+Zhu%2C+Xiaojun+Chang%2C+Junge+Zhang%2C+F%2E+Yin%2C+Yitao+Liang%2C+and+Yaodong+Yang%2E+Proagent%3A+)
42. Kechi Zhang, Zhuo Li, Jia Li, Ge Li, and Zhi Jin. [Self-edit: Fault-aware code editor for code generation](https://md.research.elamur.ai/free/en/papers/zhang-2023-self-edit-fault-aware-code/). ArXiv, abs/2305.04087, 2023.
43. Qinkai Zheng, Xiao Xia, Xu Zou, Yuxiao Dong, Shanshan Wang, Yufei Xue, Zi-Yuan Wang, Lei Shen, Andi Wang, Yang Li, Teng Su, Zhilin Yang, and Jie Tang. Codegeex: A pre-trained model for code generation with multilingual evaluations on humaneval-x. ArXiv, abs/2303.[17568, 2023](https://md.research.elamur.ai/free/en/papers/zheng-2023-codegeex-pre-trained-model-code/).
44. Mingchen Zhuge, Haozhe Liu, Francesco Faccio, Dylan R Ashley, Róbert Csordás, Anand Gopalakrishnan, Abdullah Hamdi, Hasan Abed Al Kader Hammoud, Vincent Herrmann, Kazuki Irie, et al. Mindstorms in natural language-based societies of mind. arXiv preprint arXiv:2305.17066, 2023. — [arXiv:2305.17066](https://arxiv.org/abs/2305.17066) [find](https://scholar.google.com/scholar?q=Mingchen+Zhuge%2C+Haozhe+Liu%2C+Francesco+Faccio%2C+Dylan+R+Ashley%2C+Ro%CC%81bert+Csorda%CC%81s%2C+Anand+Gopalakrishnan%2C+Abdullah+Hamdi%2C+Hasan+Abed+Al+Kader+Hammoud%2C+Vincent+Herrmann%2C+Kazuki+Irie%2C+et+al%2E+Mindstorms+in+n)

*Updated 2 November 2026*
