Free · open source VS Code extension Status · local-first

Open any repo. Understand it in minutes.

Every repo you inherit or join. Every unfamiliar call path. Every "where is this handled?" — mapped as a live dependency graph and answered with file:line proof. And your AI agent gets a one-file brief that cuts its context tokens by up to 40%. Right inside VS Code — install once, use it in every project.

Free plan, no card · runs on-device · zero telemetry

New Flow diagrams are live — trace data file to file.
RepoGraph · command VS CODE
$ ext install kaushalendra.repograph-ai
Pairs with your agent
All 8 integrations
Capabilities

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.

Analysis History

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

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
Works with the provider you already pay for
Groq · free tier Ollama · 100% local Gemini · free quota Claude · best quality OpenAI · reliable Custom models
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.

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.

Who it's for
01Indie hackers
02Freelancers
03OSS maintainers
04Students
05Startup teams
06Agencies
07Enterprises
08Researchers
Providers

5 AI Providers.

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

Bring your own key Custom model names
Orbit view · 5 providers
Live demo

Your codebase already knows what's connected.

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.

See how it works
RepoGraph AI — full walkthrough
0:00/0:57
0:57 · five chapters · analyze → graph → flow → context file → provider
Jump to a chapter
Inside VS Code

Your repo, finally legible.

No browser tab, no new app. The graph, the flow, and your AI provider settings live exactly where you already work.

RepoGraph · 3D graph
3D dependency graph of a TypeScript frontend, with imports between pages, stores and components
Full dependency graph of a Python service, from entry points and routes to tests and models
RepoGraph AI provider settings with Groq, Ollama, Gemini, Claude and OpenAI
Complete data flow 53 nodes · routes → middleware → modules Open full flow Complete data flow of routes, middleware and modules across a FastAPI codebase
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.

Local by design. Parsing, graph building and history never leave your machine.
repograph — workspace analysis local
$ 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.
$
No backend · no telemetry 20+ languages
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
Shipped in 1.0.2

Flow diagrams trace data file to file.

Not just what a file imports — where every value travels. Four Mermaid dialects drawn straight from your graph, no API key needed. Live now

Four dialects

System flowcharts, sequence, class and function control-flow — one graph, four views.

{ flowchart · seq · class }

Zero-key mode

Deterministic diagrams from static analysis; AI extras arrive grounding-validated.

{ no API key }

Click to line

Every node carries file:line. Export the whole map as .mmd, .svg or .json.

{ → file:line }
diagram.flowchart — export + sample 1.0.2
// one click — static analysis, no API key
flowchart LR
  A["router.ts:12"] --> B["auth.ts:42"];
  B --> C["session.ts:17"];
  C --> D[("db.ts:88")];
 
// click any chip → jump straight to the line
// exports: .mmd · .svg · .json
{ 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
Only outbound: your AI provider
Installation

Up and running in 3 steps.

One install. One key. One click. Then every repo on your machine is readable.

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 AI: Open Panel
Recognition

Selected for the XERJ Corpus Hub.

RepoGraph AI was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
11files
585lines
★ 5GitHub stars

606d8d4991 update: llm model chat section fixed · TypeScript, JavaScript · contributor since 2026-10-22

The RepoGraph AI contributor page on the XERJ Corpus Hub
What an agent can do

Search RepoGraph AI with cited answers

  • Look up how RepoGraph AI implements graph, repograph and aicontext, with answers cited to file and line.
  • Reuse a worked example: the commit “llm model chat section fixed” (11 files · TypeScript, JavaScript).
  • Answer from the real TypeScript source instead of memory.
Try it with your own agent

Paste this into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.

Search the GitHub repository Kaushalendra-Marcus/RepoGraph-AI with XERJ (https://hub.xerj.org/corpus/kaushalendra-marcus--repograph-ai).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/Kaushalendra-Marcus/RepoGraph-AI RepoGraph-AI && git -C RepoGraph-AI checkout 606d8d4991d498acc7b3085f5d0c64ec708793a7
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./RepoGraph-AI --url http://127.0.0.1:9200 --prefix repograph-ai --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.
Contributor badge

Show the badge in your README

XERJ Corpus Hub contributor

[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/Kaushalendra-Marcus/badge.svg)](https://hub.xerj.org/contributors/Kaushalendra-Marcus)

Corpus licence: MIT. Corpus Hub contributor since 2026-10-22.

Creator

Built by a dev, for devs.

No team, no roadmap committee. RepoGraph AI is designed, built, and maintained in the open by one developer who reads code for a living.

Maintained in the open · MIT licensed
Kaushalendra Yadav
Kaushalendra Yadav
AI Engineer — building tools that make codebases legible

Maker of RepoGraph AI — designer, engineer, and the person behind every release.

FAQ

Common questions.

Still curious? The source is public and the author answers email.

Ask a question

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. One click exports REPOGRAPH-CONTEXT.md — a compact context file with an approximate token count, up to 40% context savings, and file-and-line references that coding agents read directly. Built for Copilot, Cursor, Claude Code, Codex, OpenCode, Windsurf and Cline. Or hand them the exported .mmd, .svg or .json instead of 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.

Get started

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