hierarchical codebase visualization with llm-driven architecture mapping
Generates interactive visual maps of codebases by leveraging Anthropic LLMs to analyze code structure and produce Mermaid/Draw.io diagrams spanning from high-level architecture down to individual function calls. The extension processes code locally to generate embeddings, sends minimal context to Anthropic's API (with zero-day retention), and renders interactive webview diagrams where nodes link directly to source locations. Users can click any diagram element to jump to the corresponding code in the editor.
Unique: Combines LLM-driven code analysis with local embedding generation and interactive webview rendering, enabling click-to-code navigation from generated diagrams without storing code on external servers. Uses Anthropic's API with explicit zero-day retention guarantee, differentiating from competitors that may retain code for model improvement.
vs alternatives: Faster codebase comprehension than manual code reading and more privacy-preserving than tools that store code for analysis, though dependent on internet connectivity and Anthropic API availability unlike local-only alternatives.
natural language codebase querying with context-aware diagram generation
Accepts plain English questions about code structure and generates focused, contextual diagrams in response by routing queries through Anthropic's LLM. The extension maintains awareness of the user's current file context and produces diagram suggestions tailored to the query scope. Generated diagrams are rendered interactively in the webview with direct links to relevant source code sections.
Unique: Implements context-aware querying where the LLM understands the user's current file position and generates diagrams scoped to the query intent, rather than always returning full codebase maps. Combines query processing with automatic suggestion generation to guide users toward relevant visualizations.
vs alternatives: More intuitive than command-line code search tools because it accepts natural language and returns visual diagrams, though slower than local grep-based tools due to LLM latency and internet dependency.
one-click llm context generation for downstream ai tools
Generates comprehensive, codebase-wide context summaries in a single click, formatted for consumption by downstream LLM-based tools (e.g., Copilot, Claude, custom agents). The extension analyzes the full codebase locally to extract relevant code snippets, architecture patterns, and dependency information, then produces a structured prompt or context block that can be copied and pasted into other AI tools without requiring those tools to re-analyze the codebase.
Unique: Bridges CodeViz's local codebase analysis with external LLM tools by generating pre-formatted context blocks that can be directly injected into other AI systems' prompts, eliminating the need for those tools to independently analyze the codebase. Leverages local embeddings to identify the most relevant code sections for inclusion.
vs alternatives: More efficient than manually copying code snippets or re-explaining codebase structure to each new LLM tool, though less integrated than tools with native codebase indexing (e.g., Copilot's workspace awareness) due to the copy-paste workflow.
interactive click-to-code navigation from diagram nodes
Enables direct navigation from generated diagram elements to source code by maintaining bidirectional links between diagram nodes and file locations. When a user clicks any node or connection in a Mermaid/Draw.io diagram rendered in the CodeViz webview, the extension automatically opens the corresponding source file and scrolls to the relevant function, class, or module definition. This is achieved through the extension's access to VS Code's editor API and file system context.
Unique: Maintains semantic links between LLM-generated diagram elements and actual source code locations, enabling seamless navigation without requiring users to manually search or remember file paths. Leverages VS Code's editor API to provide native editor integration rather than opening external tools.
vs alternatives: More intuitive than traditional code search because navigation is visual and contextual, though less reliable than language server-based navigation (e.g., Go to Definition) due to LLM-based location identification rather than AST analysis.
multi-format diagram export with shareable artifacts
Exports generated codebase diagrams in multiple formats (Mermaid, Draw.io) to enable sharing and reuse across teams and tools. Mermaid diagrams are Markdown-compatible and can be embedded in documentation, GitHub READMEs, and wikis. Draw.io exports create editable diagram files that can be opened in Draw.io, Lucidchart, or other compatible tools. The extension handles format conversion and file generation locally without requiring external services.
Unique: Supports dual export formats (Mermaid for documentation, Draw.io for editing) from a single diagram, enabling both version-controlled documentation and collaborative refinement workflows. Mermaid export is Markdown-native, allowing diagrams to be embedded directly in Git repositories.
vs alternatives: More flexible than tools that export to a single format, though less feature-rich than native Draw.io or Lucidchart for diagram refinement since exports are generated artifacts rather than live-editable sources.
local embedding generation with privacy-preserving analysis
Generates code embeddings locally within the VS Code extension process without transmitting raw code to external servers. The extension uses these embeddings to identify relevant code sections for diagram generation and context extraction. Embeddings are computed on-device using an unspecified embedding model, enabling semantic code analysis while maintaining code privacy. Only minimal processed context (not raw code) is sent to Anthropic's API for LLM analysis.
Unique: Performs semantic code analysis locally without transmitting raw code to external servers, differentiating from cloud-only code analysis tools. Combines local embeddings with minimal-context LLM queries to Anthropic (with zero-day retention guarantee) to achieve both privacy and intelligence.
vs alternatives: More privacy-preserving than tools that upload entire codebases to cloud APIs, though less transparent than fully open-source local-only tools since the embedding model and computation method are not documented.
automatic architecture regeneration with command-driven refresh
Provides explicit commands to regenerate architecture visualizations and diagrams on demand via the command palette (`CodeViz: Regenerate Architecture`). When triggered, the extension re-analyzes the codebase, recomputes embeddings, and regenerates all diagrams to reflect recent code changes. This enables users to keep visualizations in sync with evolving codebases without manual diagram updates.
Unique: Provides explicit user control over diagram regeneration timing via command palette, avoiding automatic updates that might consume API quota unexpectedly. Enables on-demand synchronization of visualizations with code changes without background processing.
vs alternatives: More cost-conscious than tools with automatic continuous regeneration, though less convenient than tools that automatically update diagrams on file save or CI/CD triggers.
optional telemetry collection with granular privacy control
Collects usage telemetry (error logs, webview open events, session replays, user queries) to improve the extension, with a binary toggle in extension settings to disable all telemetry. When enabled, telemetry is transmitted to CodeViz servers; when disabled, no usage data is collected. Notably, raw code and LLM prompts are explicitly NOT collected, and all data sent to Anthropic, GCP, and AWS has zero-day retention (deleted immediately after processing).
Unique: Explicitly guarantees zero-day retention for all data sent to Anthropic, GCP, and AWS, and commits to not storing raw code or prompts, providing stronger privacy guarantees than many AI tools. However, session replay and query collection practices are less transparent than competitors.
vs alternatives: More privacy-conscious than tools that retain code for model improvement, though less transparent than tools with detailed data retention policies and audit logs.
+1 more capabilities