optave

optave / codegraph

Public

Always-fresh code dependency graph — sub-second incremental rebuilds, function-level tracing across 11 languages, 20-tool MCP server for AI agents, git diff impact with co-change analysis, A→B pathfinding, node role classification, local semantic search. Zero API keys required.

20
1
100% credibility
Found Feb 23, 2026 at 10 stars 2x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

Codegraph builds always-fresh, function-level dependency graphs for codebases across 11 languages, enabling fast local queries, impact analysis, and AI agent integration with sub-second incremental updates.

How It Works

1
🔍 Discover codegraph

You hear about a friendly tool that maps out how functions and files in your code connect, keeping everything fresh as you work.

2
📥 Get it ready

Download and set it up on your computer with a simple command—it takes just moments.

3
🚀 Map your project

Point it to your code folder, and it quickly scans everything to create a live map of connections.

4
🔎 Explore connections

Ask about any function or file to instantly see what calls it, what it uses, and how changes spread.

5
👀 Watch for changes

It automatically updates the map as you edit files, always staying current without effort.

6
Use solo or with helpers
🧑‍💻
Solo exploring

Dive into queries yourself to understand your code better.

🧠
With AI helpers

Let AI tools use the map to explain or suggest changes safely.

Code mastery unlocked

You now effortlessly track dependencies, spot issues early, and make confident changes—your codebase feels alive and under control.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 20 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is codegraph?

Codegraph creates an always-fresh code dependency graph, tracing function calls and imports across 11 languages including JS/TS, Python, Go, Rust, Java, C#, PHP, Ruby, and HCL. It parses your repo into a local SQLite database with sub-second incremental rebuilds triggered by git diffs or file watchers, delivering CLI queries for callers/callees, impact analysis, cycle detection, and semantic search. No API keys needed—zero-cost core, with optional LLM boosts for richer results.

Why is it gaining traction?

Its three-tier change detection (journal, mtime/size, hash) keeps graphs current without full re-parses, crushing alternatives like joern or narsil-mcp on speed for commit hooks. A 13-tool MCP server feeds precise context to AI agents, plus git diff impact and multi-query semantic search via RRF ranking. Installs via npm, runs locally, exports to DOT/Mermaid/JSON.

Who should use this?

Polyglot repo maintainers analyzing blast radius before PRs. AI agent operators (Claude, Cursor) needing function-level code intel without staleness. DevOps teams gating merges on cycles or hotspots in CI.

Verdict

Strong contender for codegraph dependency analysis in agent workflows—excellent docs, benchmarks, and Apache-2.0 license—but 10 stars and 1.0% credibility signal early maturity; prototype it on a real repo before commit.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.