Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation
MemDocAgent is a long-horizon agentic framework that generates documentation within a single, integrated context spanning the entire repository, achieving the best performance over both open- and closed-source baselines and demonstrates practical applicability in real software development workflows.