code-graph-rag
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
Install Code-Graph-RAG smoothly. Discover essential system requirements including Python 3.12+, Docker, API keys, and more in this comprehensive guide.
How Code-Graph-RAG Handles Data Flow Analysis: Taint Tracking via Property GraphsDiscover how Code-Graph-RAG handles data flow analysis using property graphs and FLOWS_TO edges for precise taint tracking. Learn to query value propagation with the FlowVerdict API.
Code-Graph-RAG Schema Relationships: Complete Guide to the 30+ Edge Types in codec/schema.protoExplore the vital code graph schema relationships in Code-Graph-RAG. Understand 30+ edge types like CONTAINS PACKAGE, CALLS, INHERITS, HAS VULNERABILITY, and HAS SMELL for better code analysis.
What Are the Node Types in the Code-Graph-RAG Knowledge Graph Schema?Explore the nine node types in the Code-Graph-RAG knowledge graph schema including FUNCTION, METHOD, and CLASS. Standardize code representation for any programming language.
How to Set Up Claude Code with Code-Graph-RAG: Complete MCP Integration GuideIntegrate Claude Code with Code-Graph-RAG using the Model Context Protocol for natural language queries and AST-based code edits. Get the complete MCP integration guide.
How to Start the MCP Server for Claude Code Integration with Code-Graph-RAGStart the MCP server for Claude Code integration with vitali87/code-graph-rag. Run cgr mcp-server after cgr daemon up and add the server with claude mcp add for AI code queries.
How to Configure the Minimum Size for Detecting Duplicated Code in Code-Graph-RAGLearn how to configure the minimum size for detecting duplicated code in Code-Graph-RAG using the min_size parameter. Filter out trivial functions and find substantial code clones.
How to Tune the Similarity Threshold for Duplicate Code Detection in Code‑Graph‑RAGLearn how to tune the similarity threshold for duplicate code detection in Code-Graph-RAG. Adjust the threshold via CLI, API, or configuration for precise results.
How to Find Structurally Duplicated Code with Code-Graph-RAGLearn how to find structurally duplicated code using Code-Graph-RAG. This tool employs a two-stage pipeline for precise detection and offers both CLI and Python async interfaces for seamless integration.
How to Integrate Dead Code Analysis into CI Pipelines: A Complete GuideIntegrate dead code analysis into CI pipelines with cgr CLI from code-graph-rag. Block builds with unreachable symbols automatically. Learn how to implement today.
How to Exclude Specific Files or Patterns from Dead Code AnalysisLearn how to exclude specific files or patterns from dead code analysis using the cgr dead-code --exclude flag. Filter unwanted symbols from your reports effectively.
How to Specify Entry Points for Dead Code Analysis in Code-Graph-RAGLearn how to specify entry points for dead code analysis in code-graph-rag using the --entry-points CLI option. Support for JSON YAML and comma-separated lists.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →