Sandbox Atlas maps your codebase locally (files, components, functions and the real import graph) and answers the questions you'd otherwise ask a senior teammate:
It works fully offline with Ollama or LM Studio, or with your own Gemini, OpenAI or OpenRouter key. Your code stays on your machine unless you choose an online provider.
Why Sandbox Atlas
💬 Chat with your codebaseOpen Chat at the top of the Sandbox Atlas sidebar (Ctrl+Alt+A) and ask anything in plain English: "Where is authentication handled?", "What breaks if I change this file?", "How do I add a new API route?"
The conversation is kept per workspace. Prefer the terminal?
🎨 Make it yours: 15 modesRun Sandbox Atlas: Customize Appearance and arrow through the list. Open Atlas panels preview each choice live. A mode is a whole personality, not just a palette. Each one sets:
Mix and match: override the interface font, code font (14 bundled fonts, or your VS Code fonts) and icon set (Classic, Terminal, Minimal, Playful, Technical, Geometric, Pixel) on top of any mode. Matching editor themes (opt-in): every mode except Classic ships a matching VS Code colour theme, 14 in all. Sandbox Atlas asks before switching, and choosing Classic restores your previous theme. Built to be comfortable, not just pretty:
Features🗺️ Atlas Map and OverviewA sidebar tree of every indexed file using your icon theme. Each file shows 🕸️ Interactive dependency graphSandbox Atlas: Show Dependency Graph opens a themed, zoomable graph with force, hierarchy and ring layouts, a live filter and a details card.
🎯 Analyze ImpactRight-click any file, then Sandbox Atlas → Analyze Impact. You get a risk-rated breakdown of the files that import it, the cascade beyond them, the exports that are dangerous to change, and a verification checklist. 📝 Generate Edit PlanDescribe a change ("add input validation to the login form") and get an ordered, file-by-file plan: what to read first, what to change, what to re-check, and the risks. It's a plan, not code, so you stay in control. You can also paste it into your AI editor. 🔎 Trace Feature and 📚 Summarize DocsAsk where "authentication" or "cart state" lives, or get a structured summary of your docs: overview, setup, architecture and entry points. Answers open in the themed Atlas Results panel, with Copy, Open as Markdown and Save. They
can also go to VS Code's markdown preview (
🧭 Project map and
|
| Command | What it does |
|---|---|
| Show Dependency Graph | Interactive graph of the workspace (or of the active file with …for File) |
| Analyze Impact | What breaks if the active or selected file changes |
| Generate Edit Plan | Step-by-step plan for a described change |
| Trace Feature | Where a feature lives and where to start reading |
| Summarize Docs | Structured summary of README and docs |
| Generate Project Map / Export Atlas Notes | Markdown map of the repo, previewed or saved as ATLAS.md |
| Scan Workspace / Refresh Atlas | Index now (indexing is incremental) |
| Select AI Provider / Set AI API Key / Test AI Connection | Configure AI |
| Toggle Ignored Files (This Session) | Temporarily include .gitignored files |
| Open Chat / Ask Atlas About This File | Chat with your codebase (Ctrl+Alt+A) |
| Customize Appearance / Select Mode / Toggle Visual Effects | Mode, fonts, icon set and effects, previewed live |
| Set Up AI | Check the AI provider and fix what's missing (no model, no key, model not downloaded) |
All commands are in the Command Palette under Sandbox Atlas. File commands are also in the Explorer and editor context menus.
No local model? It still works
- Without any AI: indexing, the Atlas Map, the dependency graph, impact counts, the project
map and
ATLAS.md, and all 15 modes need no model. - For AI answers: Trace Feature, Summarize Docs, Analyze Impact and Edit Plans need a model. The first time you run one without a model, Sandbox Atlas walks you through it:
| Situation | What Sandbox Atlas offers |
|---|---|
| Nothing installed | Set Up Ollama (opens the download, then pulls the model in a terminal) or Use Gemini (free key) |
| Ollama running, model missing | Download the model, or use a model you already have |
| Online provider, no key | Enter API key, or switch to a local model |
| Key rejected | Enter a new key, or choose another provider |
After the fix, your command continues. Run Sandbox Atlas: Set Up AI at any time to check. Sandbox Atlas never ships an API key: each user brings their own, so nobody pays for anyone else.
AI providers
| Mode | Default model | Key | Data leaves your machine |
|---|---|---|---|
offline-ollama (default) |
qwen2.5-coder:3b |
— | No |
offline-lmstudio |
qwen2.5-coder:3b |
— | No |
online-gemini |
gemini-2.5-flash |
Required | Yes, to Google |
online-openai |
gpt-4o-mini |
Required | Yes, to OpenAI |
online-openrouter |
mistralai/mistral-7b-instruct |
Required | Yes, to OpenRouter |
Prompts are sized to fit each provider: about 2,400 tokens of context for local models (inside Ollama's default 4K window) and 8,000 for hosted models.
Settings
| Setting | Default | |
|---|---|---|
sandboxAtlas.ai.mode |
offline-ollama |
AI provider |
sandboxAtlas.ai.offlineModel / onlineModel |
(provider default) | Model override |
sandboxAtlas.ai.baseUrl |
(provider default) | Custom OpenAI-compatible endpoint |
sandboxAtlas.ai.requestTimeoutSeconds |
0 (auto: 300 s local, 120 s online) |
Request timeout |
sandboxAtlas.ai.dailyRequestLimit |
100 |
Daily cap for online providers (0 = unlimited) |
sandboxAtlas.index.autoRefresh |
true |
Re-index on file changes |
sandboxAtlas.appearance.mode |
classic |
One of the 15 modes |
sandboxAtlas.appearance.uiFont / codeFont |
mode |
Font overrides (bundled fonts, or editor for your VS Code fonts) |
sandboxAtlas.appearance.iconSet |
mode |
Icon set override |
sandboxAtlas.appearance.effects |
true |
Glow and scanlines (always off for reduced motion) |
sandboxAtlas.appearance.applyColorTheme |
ask |
Also switch VS Code to the matching colour theme: ask, always or never |
sandboxAtlas.results.view |
panel |
Open results in the themed panel or the plain markdown preview |
Privacy and security
- No telemetry. Sandbox Atlas collects nothing.
- The index is stored locally in VS Code's extension storage.
- Offline modes never use the network. Online modes send only the context shown in each request to the provider you chose.
- API keys are stored in VS Code Secret Storage (OS-encrypted), never in settings files.
- Untrusted workspaces: a cloned repo cannot redirect requests or influence commands through
its own
.vscode/settings.json, because workspace-level AI endpoint, provider and model settings are ignored. Model names are also validated before they ever reach a terminal. - Webviews run under a strict Content Security Policy. AI output is rendered with raw HTML escaped and only http(s) links allowed, and link clicks are re-validated by the extension.
- Mode effects stay inside Sandbox Atlas's own panels. It never patches VS Code's files, unlike "glow" themes that make VS Code report a corrupt installation.
Command line
The same engine runs without VS Code:
npm run build
node dist/cli.js chat # interactive chat, streaming
node dist/cli.js map --out ATLAS.md # project map
node dist/cli.js impact src/api/client.ts # AI impact analysis
ATLAS_API_KEY=… node dist/cli.js trace "auth" --mode online-gemini
node dist/cli.js --help
Requirements
- VS Code 1.101+, or Cursor, Windsurf or VSCodium on a matching base. The extension uses the
built-in
node:sqlite(Node 22.5+). - For offline AI: Ollama or LM Studio. On CPU-only machines expect replies in 1–3 minutes;
qwen2.5-coder:1.5bis faster. - Languages: TypeScript, JavaScript (including JSX/TSX) and Markdown.
Roadmap
- More languages (Python, Go), starting with import graphs.
- Folder-level graph clustering for very large monorepos.
- tsconfig
pathsalias resolution beyond@/and~/. - A standalone desktop app on the same engine (see Architecture).
Contributing
See CONTRIBUTING.md and docs/ARCHITECTURE.md.
License
MIT © Nexkeys