Antoine Simoulin, Grey Yang, Yuwei Cao, Xiaoyi Liu, Xin Qian, Dayu Yang, Zhaopu Teng
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
High-quality code documentation is crucial for software development especially in the era of AI. However, generating it automatically using Large Language Models (LLMs) remains challenging, as existing approaches often produce incomplete, unhelpful, or factually incorrect outputs. We introduce DocAgent, a novel multi-agent collaborative system using topological code processing for incremental context building. Specialized agents (Reader, Searcher, Writer, Verifier, Orchestrator) then collaboratively generate documentation. We also propose a multi-faceted evaluation framework assessing Completeness, Helpfulness, and Truthfulness. Comprehensive experiments show DocAgent significantly outperforms baselines consistently. Our ablation study confirms the vital role of the topological processing order. DocAgent offers a robust approach for reliable code documentation generation in complex and proprietary repositories. Our code 1 and video 2 are publicly available.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2504.08725")
get_code_for_paper("2504.08725")
have("2504.08725")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2504.08725.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2504.08725)
Connect an agent — have() is free.