v2.0 Flow tracing is coming - follow data file to file. Preview ↓
Free · Open source · VS Code extension

Know every file.
Cite every line.

RepoGraph AI turns any repo into a live dependency graph — every import traced, every answer backed by file:line evidence. Install once, use it in every project. New to a codebase? Understand it in minutes.

Free plan, no card · runs on-device · zero telemetry
MIT open source 20+ languages 5 providers 0 telemetry
drag to rotate · hover a node
repograph - workspace analysis
$ repograph.analyzeLocal()
Scanning workspace: my-next-app
Found 142 source files across 18 directories
Skipped: node_modules, dist, .next, lockfiles
→ Building dependency graph...
312 import edges resolved across all files
Most connected: lib/auth.ts (in:18 out:6)
→ Generating AI summary via Groq...
Tech stack: Next.js · TypeScript · Prisma · Tailwind
Analysis complete. Q&A is ready - ask anything.
Live demo

See it in action

A 57-second walkthrough from inside VS Code - one-click analysis, the dependency graph, the data-flow map and the context file your AI agent gets.

RepoGraph AI - full walkthrough
0:00/0:57
0:57 · five chapters · analyze → graph → flow → agent context file
Jump to a chapter
0+
Languages mapped
TS · Python · Go · Rust…
0
AI providers
Groq · Ollama · Gemini…
0
Servers that see code
On-device. No backend.
MIT
Open source
Auditable on GitHub
For every builder

Made for engineers everywhere

From your first side-project to a production monorepo — if you read code, this is for you.

Pairs with your agent
Who it's for
01Indie hackers
02Freelancers
03OSS maintainers
04Students
05Startup teams
06Agencies
07Enterprises
08Researchers
Zero setup tax

Install once.
Use in every repo.

No per-project config. No server to keep running. Open any folder, hit Analyze Workspace, and the graph is ready in seconds — switch projects and repeat, same flow every time.

Get set up in 3 steps →
01

Install once

One click from the Marketplace. Keys stay in your OS keychain.

02

Open any project

Any language, any size — the scanner adapts on its own.

03

Graph in seconds

Map, summaries and Q&A — in seconds, every single time.

How it works

One map of the code.
Answers with proof, not guesses

Six essentials. Every answer traces a real path with file:line citations — no re-reading the repo four times.

Graph

Dependency Graph

Interactive canvas of every file and import. Click for details, double-click to open. God-nodes surface the files everything depends on. No setup per project — open any folder and go.

Summaries

AI File Summaries

Plain-English explanations of what each file does, exports, and depends on — generated on your key.

Q&A

Codebase Q&A

Ask in plain English with full graph context and file references. Multi-turn, with history. Paste any answer into your agent — cited context, zero wasted tokens.

Providers

5 AI Providers

Groq, Ollama, Gemini, Claude, OpenAI. Custom models. Switch anytime without re-analyzing.

History

Analysis History

Every analysis saved locally per workspace. Diff understanding across refactors.

Local-first

Smart Filtering

Skips node_modules, dist, lockfiles and generated code automatically. Parsing stays on your machine.

01 · UNDERSTAND
Ask anything, get sources

New to the repo? Get grounded answers with file:line citations — for you and your agent.

› Where is session refresh?
→ lib/auth.ts:42 · session.ts:17
✓ high confidence · 2 sources
02 · CHANGE SAFELY
See what breaks first

Follow every edge from a diff before it merges. Run the right tests.

risk 6.1 · reaches 6 files
→ run the 2 untested callers first
03 · STAY CURRENT
Docs that rebuild

Repo overview + per-file docs refresh with each analysis. Nothing goes stale.

● 3 pages rebuilt · fresh
overview · middleware · session
ApproachCitationsStays currentPrivate by default
RepoGraph AI · graph + summaries✓ file:line paths✓ re-analyze anytime✓ on-device
Plain grep / go-to-definition— one hop only✓ always live✓ local
Vector RAG chunks~ fuzzy snippets— needs re-embed— usually cloud
Cloud-hosted indexers~ varies by tool— re-run per repo— repo leaves machine
Inside VS Code

Inside VS Code

Interactive dependency graph inside VS Code
AI summary panel with tech stack and architecture
Q&A panel answering where authentication is handled
Pipeline

Zero → understanding
in four steps

The entire pipeline runs locally. The only external call is to the AI provider you choose.

01

Scan the workspace

Reads all source files. Skips node_modules, dist, lockfiles, minified & generated code.

02

Build the dependency graph

Extracts every import, resolves relative & alias paths into a node-edge map.

03

Generate AI summaries

Batched calls to your provider. Repo overview, architecture, tech stack, per-file docs.

04

Ask anything

Q&A agent with full graph + summary context. Multi-turn with history.

Pipeline● local
WorkspaceScanner - reads source files
↓
GraphBuilder - extracts imports, builds edges
↓
AI Provider - your key, your choice
↓
RepoSummaryAgent - overview + architecture
↓
FileSummaryAgent - per-file explanations
↓
QAAgent - multi-turn codebase Q&A
Compare

Graphs, grep or review bots?

The usual shortlist for reading a repo — and what each tool actually does inside yours.

See all features →
RepoGraph AI compared with Sourcegraph, Greptile and CodeRabbit
Compared on RepoGraph AI Sourcegraph Greptile CodeRabbit
Runs on your machine parsing stays in the editor cloud index cloud SaaS cloud SaaS
Every import, mapped interactive graph + god-nodes search-first code intel graph, but review-only diffs, not a graph
Works fully offline with Ollama, zero cloud needs the cloud needs the cloud needs the cloud
Any AI provider, BYO key Groq · Ollama · Gemini · Claude · OpenAI built-in models only built-in only built-in only
Ready in one install open any repo → it analyzes index a repo first connect repo, wait on index install the GitHub app
Install once, use in any project no setup — just install the extension and use index each repo first connect repo by repo set up per repo
Open source (MIT) auditable, forkable open clients, closed core proprietary proprietary
Free to start free — bring your key free tier → paid teams paid per dev free for OSS → paid
Try it on your own repo
$ext install kaushalendra.repograph-ai
Coming soon · v2.0

v2.0 traces data
file to file

Not just what a file imports - where each value travels. Every hop declares its input and output, so you can audit the whole path. COMING SOON

FlowTracer hops

Walks call edges across files, hop by hop.

{ in: edge, out: trace }

trace.json artifact

The full path, saved per workspace. Diff it across refactors.

{ type: "trace", hops: n }

Flow view in-panel

Click any hop to jump straight to the line.

{ hop → file, line }
trace.record - schema + sample
type Hop = {
  type: "import" | "call" | "return";
  from: { file: string; line: number; symbol: string };
  to: { file: string; line: number; symbol: string };
  via: "await" | "return" | "re-export";
}
 
{ // recorded hop
  type: "call",
  from: { file: "auth.ts", line: 42, symbol: "signIn" },
  to: { file: "session.ts", line: 17, symbol: "create" },
  via: "await ✓"
}
{ type: "call" } { type: "query" } { type: "fetch" } { type: "event" } { type: "sync" } { type: "write" } { type: "flush" } { type: "retry" } auth.ts out: call+query session.ts call → fetch db.ts query → sync api.ts fetch → write logger.ts event → flush cache.ts write → trace
data edgesync / retry6 files · 8 edges
Languages

Speaks your stack

TypeScriptJavaScriptPythonGoRustJavaKotlinCC++C#
RubyPHPSwiftVueSvelteAstroGraphQLPrismaSQLShell
Privacy

Your code never
leaves your machine

No backend. No account. No tracking. The only network request is to the AI provider you configure.

Encrypted key storage

Keys in VS Code SecretStorage via OS keychain. Never plaintext on disk.

Zero telemetry

No analytics, no crash reports. Fully offline except AI calls.

Open source & auditable

Every line public on GitHub. Read it, verify it, fork it.

Data flow
Your workspace
→
VS Code only
Graph + summaries
→
Local storage
File snippets
→
AI provider only

Our servers
✕ do not exist
Analytics
✕ none
Account required
✕ never
Installation

Up and running in 3 steps

STEP 01

Install the extension

Search “RepoGraph AI” in Extensions and click Install - or paste this in VS Code:

ext install kaushalendra.repograph-ai
STEP 02

Add your API key

Open the RepoGraph panel → Settings → pick a provider → paste key. Start free with Groq.

Get a free Groq key →
STEP 03

Analyze your workspace

Open a project → Analyze tab → Analyze Workspace. Graph ready in seconds.

Ctrl+Shift+P → RepoGraph: Open Panel
Creator

Built by a dev,
for devs

Kaushalendra Yadav
Kaushalendra Yadav
AI Engineer - building tools that make codebases legible
FAQ

Common questions

Yes - 100% free and MIT-licensed. Bring your own key from Groq (free tier) or Ollama (fully local). No subscription, no account, no paywall.

No. There is no backend. The only external call is to the AI provider you configure. Everything else stays on your machine.

Groq, Ollama, Gemini, Claude and OpenAI - with custom model names. Switch providers anytime without re-analyzing.

Files are processed in batches with generated code skipped. Most repos of 50–500 files finish in under a minute.

An AI coding agent graph is a machine-readable map of a repository: files as nodes, imports and calls as typed edges. RepoGraph AI builds exactly this graph for any repo, so both you and an AI coding agent can navigate, summarize, and question the codebase with full structural context.

Yes. The v2 flow tracer exports the repo graph as typed trace records that coding agents can consume: which file calls which, with file and line references. Until then, paste any AI summary or Q&A answer straight into your agent's context — cited structure in, no wasted tokens re-reading files.

Analyze the workspace once: the dependency graph shows you what connects to what, the repo overview explains the architecture, and Q&A answers "where is X handled?" with file references. Most developers go from zero to productive in a single sitting.

Most repo graph tools only draw static pictures. RepoGraph AI combines a live dependency graph, per-file AI summaries, multi-turn codebase Q&A, five AI providers, and zero telemetry - free and open source, entirely inside VS Code.

20+: TypeScript, JavaScript, Python, Go, Rust, Java, Kotlin, C/C++, C#, Ruby, PHP, Swift, Vue, Svelte, Astro, GraphQL, Prisma, SQL, Shell.

Stop reading files.
Start understanding code.

Free · Open source · No account required

★★★★★ Loved by devs onboarding to new codebases · MIT licensed
ext install kaushalendra.repograph-ai · 1–2 min setup · works offline with Ollama