RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation

Qinyu Luo, Yining Ye, Shihao Liang, Zhong Zhang, Yujia Qin +8 more
2/26/2024
cs.CLcs.AI

Official code: OpenBMB/RepoAgent (1,018 stars, Apache-2.0, last commit 2024-12-23).

Abstract

Generative models have demonstrated considerable potential in software engineering, particularly in tasks such as code generation and debugging. However, their utilization in the domain of code documentation generation remains underexplored. To this end, we introduce RepoAgent, a large language model powered open-source framework aimed at proactively generating, maintaining, and updating code documentation. Through both qualitative and quantitative evaluations, we have validated the effectiveness of our approach, showing that RepoAgent excels in generating high-quality repository-level documentation. The code and results are publicly accessible at https://github.com/OpenBMB/RepoAgent.

View on arXivView PDF

Code Implementations(1)

OpenBMB/RepoAgentOfficial100%
Apache-2.0

An LLM-powered repository agent designed to assist developers and teams in generating documentation and understanding repositories quickly.

1,018140Shell, PythonNov 28, 20231 years agoApache-2.0
agentchatglmchatgptchatgpt-apigpt+8 more

Similar Papers

Cite this paper

@article{luo2024repoagent,
  title  = {RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation},
  author = {Qinyu Luo and Yining Ye and Shihao Liang and Zhong Zhang and Yujia Qin and Yaxi Lu and Yesai Wu and Xin Cong and Yankai Lin and Yingli Zhang and Xiaoyin Che and Zhiyuan Liu and Maosong Sun},
  year   = {2024},
  eprint = {2402.16667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16667v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.16667.svg)](https://codeofpaper.com/paper/2402.16667)

Discussion