RepoAgent
Basic Information
RepoAgent is an open-source, LLM-powered framework designed to automate repository-level code documentation generation for software projects. It analyzes a target git repository, inspects Python source files via AST parsing, and generates structured documentation for individual objects and the overall project hierarchy. The tool detects repository changes such as file additions, deletions, and modifications, maintains a global project structure record, and writes Markdown documentation into a designated folder. It is distributed as a pip package and can be run from the command line, integrated into GitHub Actions, or installed as a pre-commit hook to generate or update docs automatically on commits. It also provides an experimental chat-with-repo extension for repository Q&A and supports local model backends in addition to hosted APIs.