AI explanations, live architecture diagrams, dependency graphs, cycle detection, and smart documentation — all powered by your choice of AI, directly inside VS Code.
buildIndex is the core indexer in src/indexer.ts. It walks the workspace using walkDirFromRoot, extracts symbols (functions, classes, exports) from TypeScript, Python, Java and Go files, builds a module dependency graph, then persists everything to context.workspaceState for instant recall. It's called on startup with a 2-second delay and incrementally on every file save.
Open a folder, index in 2 seconds, then ask — the AI has full cross-file context including your module graph.
Multi-turn conversation with full codebase context. Type @filename to inject any file. History persists across sessions.
Overview · File Tree · Dependency Graph · Call Graph · Git Hotspots · Git History · Module Coupling · Symbol Search · AI Insights.
Tarjan's SCC algorithm highlights circular imports in red directly on your dependency graph.
AI generates Mermaid architecture diagrams with automatic syntax fixing and a retry loop. Diagrams that actually render.
Generate README.md, inline JSDoc/TSDoc, and ARCHITECTURE.md. All show a diff preview before writing.
Paste any public GitHub URL. Analyzes the repo via REST API — no git clone. 24-hour cache.
Searchable table of every symbol across your codebase — name, kind, file, line, exported flag, doc coverage.
Claude (Anthropic), DeepSeek, or Gemini — switch anytime. API keys stored in VS Code's secure secrets vault.
No SaaS subscription. Your code never leaves your machine except for the AI API call.
No account required. Just install, paste an API key, and start asking questions.
Click the button below or search "Code Analyzer" in the VS Code Extensions panel (⌘⇧X). Or install from the command line:
The extension is free — you only pay for the AI calls (usually pennies). Pick any provider:
Open the Command Palette and run:
Pick your provider, paste your key. Then open any project and press ⌘⇧C to start chatting with your codebase.
All commands also available via ⌘⇧P → "Code Analyzer".
Free to install. Works with any AI provider. No account required.