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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

CodeRepoReader AI: a conversational codebase analysis agent

Ajay Bandi, Charan Reddy Chilipi Reddy, Viswas Setty, Sai Srinivas Kanneganti et al.
Academia AI and Applications
Software Engineering Research
article

CodeRepoReader AI: a conversational codebase analysis agent

Ajay Bandi, Charan Reddy Chilipi Reddy, Viswas Setty, Sai Srinivas Kanneganti, Vamshi Krishna Balupari
article en

Abstract

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.

Academia AI and ApplicationsVol. 2(4)
Northwest Missouri State University (US)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon