CodeGuard

•

Analyze and navigate codebases across multiple programming languages by constructing a knowledge graph and enabling natural language queries.

CodeGuard is an advanced code analysis tool that transforms source code into a comprehensive knowledge graph using Tree-sitter AST parsing. It supports 8 programming languages, constructing detailed function call graphs, class inheritance diagrams, and module dependency maps. Leveraging this structured data alongside LLM inference, CodeGuard allows users to query codebases through natural language, perform semantic searches, conduct change impact analysis, and facilitate multi-agent Q&A, offering a deeper and more accurate understanding than traditional LLM-only approaches. It also integrates features like incremental synchronization, version comparison, and an MCP Server for seamless integration with AI development environments.

Características Principales

01Natural Language Q&A with Multi-Agent Orchestration and Self-Correction
02Git-aware Version Comparison and Incremental Synchronization
030 GitHub stars
04Comprehensive Code Graph Querying for call chains, dependencies, and impact analysis
05Multi-language AST Parsing and Code Graph Generation (8 languages)
06MCP Server Integration for AI-powered development environments (e.g., Claude Code, Cursor)

Casos de Uso

01Understanding complex software architectures and cross-language dependencies.
02Performing in-depth code reviews, change impact analysis, and AI-assisted defect detection.
03Querying codebases through natural language to answer specific questions about functions, classes, and project structure.