AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Vision / Multimodal/
codegraph
codegraph logo

codegraph

Active·★ 61·Apache-2.0·Updated 2026-05-29
★ Trending★ Code Assistant★ RAG / Knowledge Base

Always-fresh code dependency graph — sub-second incremental rebuilds, function-level tracing across 11 languages, 13-tool MCP server for AI agents, git diff impact analysis, local semantic search. Zero API keys required.

Codegraph provides AI coding assistants with an always-current, function-level dependency graph of an entire codebase, built locally and open source. This allows AI to understand code structure instantly, reducing token waste and improving accuracy for complex tasks like refactoring and debugging.

#AI Coding Assistant#Code Analysis#Dependency Graph#Semantic Search#Incremental Builds#Multi-language#AI Agent Tools
$ Install
$ npm install -g @optave/codegraph
↗ Visit site★ GitHub
01

Features

01Sub-second incremental rebuilds for an always-fresh dependency graph.
02Function-level code analysis, tracing calls and dependencies within and across files.
03Built for AI agents with a 19-tool Model Context Protocol (MCP) server for direct querying.
04Git diff impact analysis to show affected functions and callers from staged or unstaged changes.
05Embeddings-powered local semantic search for natural language queries.
02

Compatibility

Node.js
Runtime
Verified via docs
tree-sitter
Core Parser
Verified via docs
SQLite
Database
Verified via docs
JavaScript
Language
Verified via docs
TypeScript
Language
Verified via docs
Python
Language
Verified via docs
03

Quick start

1
$ npm install -g @optave/codegraph
04

Use cases

↳Improve AI agent's understanding of codebase structure, eliminating repeated re-orientation.
↳Perform impact analysis before code changes, preventing silent bugs and dependency breakage.
↳Identify dead code and classify architectural roles (e.g., entry, core, utility) of symbols.
↳Facilitate semantic search for functions by natural language intent rather than exact names.
↳Detect and visualize circular dependencies at file or function levels to improve code quality.
05

Alternatives

ragflow logo
ragflow★ 81.5k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
vs →
n8n logo
n8n★ 190.2k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
vs →
PocketFlow-Tutorial-Codebase-Knowledge logo
PocketFlow-Tutorial-Codebase-Knowledge★ 12.3k
Pocket Flow: Codebase to Tutorial
vs →
serena logo
serena★ 24.7k
A powerful coding agent toolkit providing semantic retrieval and editing capabilities (MCP server & other integrations)
vs →
mcp-for-beginners logo
mcp-for-beginners★ 16.2k
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
vs →
cursor-rules logo
cursor-rules★ 1.8k
整理和收集来自不同项目的Cursor规则文件,提供多种编程语言和框架的规则支持。
vs →
octocode-mcp logo
octocode-mcp★ 851
MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live docs from anywhere
vs →
enola logo
enola★ 31
enola - MCP Architectural Snapshot Server and Knowledge Graph
vs →
See all alternatives →

Related searches

codegraph AlternativesBest Vision / Multimodal Tools 2026Open Source Vision / Multimodalcodegraph Tutorialcodegraph Vs CompetitorsAI Coding AssistantCode AnalysisDependency Graph

Comments

Log in to leave a comment
  • Harley Rivera
    Harley RiveraMay 12, 2026

    Used continuously during development, the speed means it stays current without overhead

  • E
    Emerson DavisApr 3, 2026

    Sub-second incremental code graph rebuilds make this practical for active development

  • K
    Kendall WhiteMar 21, 2026

    Always-fresh dependency data prevents stale analysis that misleads refactoring decisions

  • C
    Casey NguyenFeb 28, 2026

    The incremental rebuild approach is the key differentiator over batch analysis tools

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 61
Last commit1d ago
StatusActive
LicenseApache-2.0
CategoryVision / Multimodal
Trend (30d)
+2.4↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.