ArchAgent: Scalable Legacy Software Architecture Recovery with LLMs
Not on the map. Why?
Abstract (arXiv)
Recovering accurate architecture from large-scale legacy software is hindered by architectural drift, missing relations, and the limited context of Large Language Models (LLMs). We present ArchAgent, a scalable agent-based framework that combines static analysis, adaptive code segmentation, and LLM-powered synthesis to reconstruct multiview, business-aligned architectures from cross-repository codebases. ArchAgent introduces scalable diagram generation with contextual pruning and integrates cross-repository data to identify business-critical modules. Evaluations of typical large-scale GitHub projects show significant improvements over existing benchmarks. An ablation study confirms that dependency context improves the accuracy of generated architectures of production-level repositories, and a real-world case study demonstrates effective recovery of critical business logics from legacy projects. The dataset is available at https://github.com/panrusheng/arch-eval-benchmark.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 19 Jan 2026.
Builds on
11 of 19 references.
References · 11
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 117
- 2024Source Code Summarization in the Era of Large Language Modelscited by 30
- 2025Generative AI for Software Architecture. Applications, Challenges, and Future Directionscited by 15
- 2024When Large Language Models Confront Repository-Level Automatic Program Repair: How Well They Done?cited by 12
- 2025Do Code LLMs Understand Design Patterns?cited by 9
- 2024An Empirical Study on Capability of Large Language Models in Understanding Code Semanticscited by 7
- 2025Using LLMs in Generating Design Rationale for Software Architecture Decisionscited by 4
- 2014An automatic architecture reconstruction and refactoring frameworkcited by 1
- 2024Comparison of Static Analysis Architecture Recovery Tools for Microservice Applicationscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.