Discover and explore top open-source AI tools and projects—updated daily.
ozyyshrRepository-level code graphs for AI software engineering
Top 99.8% on SourcePulse
Summary RepoGraph is an effective plug-in module designed to enhance AI software engineering capabilities by providing Large Language Models (LLMs) with repository-level code graph context. It targets AI engineers and researchers seeking to improve LLM performance on complex software engineering tasks through richer, more structured code understanding derived from the entire repository.
How It Works
RepoGraph constructs a graph representation of a software repository, capturing detailed line-level information and inter-code relationships. This graph is built using Python and the networkx library, enabling efficient retrieval of relevant code context. By feeding this structured graph data, RepoGraph augments LLM understanding, boosting their effectiveness and accuracy in AI software engineering applications like code generation, analysis, and debugging.
Quick Start & Requirements
python ./repograph/construct_graph.py <dir_to_repo> generates the graph files (.jsonl and .pkl). Integration scripts run_repograph_agentless.sh and run_repograph_sweagent.sh facilitate use with specific frameworks.networkx library are required for graph construction.Highlighted Details
search_repo() function within agent frameworks for targeted code exploration based on function or class names.tags_*.jsonl) and a networkx graph object (*.pkl) for programmatic access.Maintenance & Community The README indicates ongoing development with upcoming preprints planned to detail RepoGraph's methodology and integrations. However, specific information regarding core maintainers, community support channels (e.g., Discord, Slack), or a public roadmap is not provided in the current documentation.
Licensing & Compatibility The license governing the RepoGraph project and its components is not specified in the provided README text. Consequently, compatibility for commercial use or integration within closed-source projects remains unclear.
Limitations & Caveats Repository graph construction can be a time-intensive process for large codebases. Further details regarding RepoGraph's capabilities and its integration with existing models are pending publication in preprints.
10 months ago
Inactive