CodeRepoReader AI: a conversational codebase analysis agent
Introduction: Developers joining an unfamiliar project spend much of their time reconstructing its structure from source code. Large language models (LLMs) can shorten this work, but little evidence exists on how the integration stack used to reach a model shapes the behavior of a repository-analysis tool. Materials and methods: We built CodeRepoReader AI, a conversational agent that ingests a repository from a ZIP archive or GitHub uniform resource locator, extracts structural facts through Python abstract syntax tree (AST) parsing and regular-expression analysis of JavaScript, TypeScript, Java, and C# code, and streams answers to natural-language questions. Two complete integration configurations, one built on the GitHub Copilot software development kit (SDK) and one on the OpenAI Chat Completions application programming interface, both serving GPT-4o, were compared on three open-source projects using five standardized queries and seven metrics: accuracy (class count error, method count error, and architecture rating), repository exploration depth, latency, token throughput, response contextual alignment, prompt anatomy impact, and expert evaluation. Results: The OpenAI configuration outperformed the Copilot configuration on class count error (3.6% versus 12.9%), method count error (3.2% versus 9.3%), latency (4.7 s versus 7.6 s), throughput (67.1 versus 40.7 tokens/s), and ratings of architecture (4.4 versus 4.1), repository exploration depth (4.2 versus 3.7), response contextual alignment (4.4 versus 4.1), and expert quality (4.4 versus 4.1; Fleiss’ κ = 0.71); its full prompt cut class count error by 1.63 percentage points. The Copilot configuration offered simpler authentication and more predictable cost. Conclusions: Because the configurations differ in prompt construction as well as in SDK, these descriptive results from three repositories characterize whole configurations, not an isolated SDK effect. They offer practical guidance for teams building repository-intelligence tools and motivate a controlled factorial study.
Authors
- Ajay Bandi (ORCID: https://orcid.org/0000-0003-2434-736X)
- Charan Reddy Chilipi Reddy
- Viswas Setty
- Sai Srinivas Kanneganti
- Vamshi Krishna Balupari
Institutions
- Northwest Missouri State University (US)
Publication Details
- Journal
- Academia AI and Applications
- Published
- 2026-11-27
- DOI
- https://doi.org/10.20935/acadai8653
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00