Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>codebase-architecture-assistantNew to Visual Studio Code? Get it now.
codebase-architecture-assistant

codebase-architecture-assistant

Muhammad Mutahar

|
5 installs
| (0) | Free
An AI-powered developer assistant that understands an entire project automatically and answers architecture questions without the developer having to explain the codebase.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codebase Architecture Assistant

A VS Code extension that scans your open project, figures out its stack and folder structure automatically, and lets you ask an AI chat questions about the architecture — without having to explain the codebase yourself first.

Features

  • Automatic project scanning — walks your workspace on open (skipping node_modules, .git, build output, etc.) and builds a map of:
    • Detected languages, frameworks, and package managers (from manifest files like package.json, requirements.txt, or, for plain static sites with no build tooling, from file extensions directly)
    • Folder roles (e.g. "UI / Presentation layer", "Routing / API layer", "Business logic / services") based on common naming conventions
    • Monorepo support — also inspects common subfolders like backend/, frontend/, api/, etc.
  • Chat sidebar powered by Groq, with the project map fed in as context so answers are specific to your actual codebase.
  • Markdown-formatted responses — tables, headings, code blocks, and lists render properly instead of raw text.
  • Chat history persists across window reloads and VS Code restarts (per workspace), with a "Clear chat" button when you want a fresh start.

Getting started

You need a way to talk to Groq's API. Two options:

Option A — Free tier (fastest way to try it out)

Just open the chat and start asking questions — no setup required. You get 20 free questions per install, routed through a small proxy server that keeps the real API key private. Once you use them up, you'll see a prompt to set your own key (see Option B).

Option B — Bring your own Groq API key

Recommended if you plan to use this regularly, since it's not rate-limited.

  1. Get a free key at console.groq.com/keys.
  2. In VS Code: Ctrl+Shift+P → "Codebase Assistant: Set Groq API Key" → paste your key.
  3. That's it — from now on, questions go directly to Groq using your key instead of the shared free tier.

To switch back to the free tier later (or if you want to rotate your key), run "Codebase Assistant: Clear Groq API Key" from the Command Palette.

Commands

Command What it does
Codebase Assistant: Set Groq API Key Save your own Groq API key (leave the prompt empty to keep whatever key is already saved)
Codebase Assistant: Clear Groq API Key Remove your saved key and switch back to the free-tier proxy
Show Project Map Quick popup summary of detected stack + file count

How the free tier works (for the curious / cautious)

Your questions are not sent straight to Groq when using the free tier — they go through a small proxy (see proxy/) that:

  • Holds the real Groq key server-side only; it's never shipped in this extension's code.
  • Enforces the 20-question limit per install, tracked server-side (not just locally), so it can't be bypassed by reinstalling the extension.

If you want to run your own instance of this proxy (e.g. if you fork this project), see proxy/README.md for full deploy steps.

Development

npm install
npm run compile      # build once
npm run watch        # rebuild on change

Then press F5 in VS Code to launch an Extension Development Host with the extension loaded.

Testing

npm run test:unit    # fast unit tests for scanning/detection logic (no editor needed)
npm test             # full VS Code integration test (launches a real editor instance)

Known limitations

  • Stack detection covers common ecosystems (Node/npm, Python/pip, plain HTML/CSS/JS) but isn't exhaustive — some manifest types (Ruby, Swift, .NET, etc.) aren't recognized yet.
  • Each chat question is currently stateless to the model — the AI doesn't see earlier questions in the same conversation as context, only the project map.
  • The free-tier quota is tied to VS Code's machine ID, which can reset if the whole VS Code installation is wiped (not just the extension).

License

Not yet specified.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft