devmap init How do I get started?
DevMap analyzes your codebase once and builds a reusable context layer. Routes, dependencies, entry points, critical files — all structured so you stop re-explaining your project to every AI agent, every session.
One snapshot. Reused by every question after this.
You point your AI agent at an unfamiliar codebase.
It reads dozens of files trying to piece the architecture together, burning tokens and time.
It still gets it wrong, and starts over from zero next session.
devmap fixes this: analyze once, reuse the map every session after.
How it works
Static analysis
One analyze pass builds the whole picture.
Structure, routes, dependencies, critical files — computed once
from your source code, deterministically.
Optional AI
Where a model is involved — enrichment, narration, answers — it reads the structured snapshot instead of your raw code. AI is an enhancement layer, not the foundation.
Without DevMap, your AI agent explores your codebase blindly, opening files one by one, guessing what matters, rebuilding context from scratch every session.
With DevMap, your agent gets a ready-made project map. Framework, entry points, critical files, data flow, all structured, all accurate, all generated from static analysis.
devmap init DEVMAP.md devmap analyze .devmap/snapshot.json Your AI agent reads the map. Not the entire codebase. Faster execution. Lower token usage. Better results.
Compatible with: Claude Code, Codex, Gemini CLI, Cursor, Copilot
devmap init devmap analyze devmap onboarding devmap map authentication devmap flow authentication devmap explain "authentication feature" devmap doctor devmap init How do I get started?
devmap analyze What is this codebase, structurally?
devmap onboarding Where should I start reading this project?
devmap map authentication This file/feature — what does it connect to, and how?
devmap flow authentication How does this feature work from start to finish?
devmap explain "authentication feature" What does this file/feature/function do, in detail?
devmap doctor Why isn't this working?
devmap onboarding answers the one question every developer asks when joining an unfamiliar project:
"Where do I even begin?"
Recommended reading path with entry points and critical files
Feature map — which files own which features
Key flows and how features connect end to end
Available commands to go deeper after onboarding
| Without DevMap | With DevMap | |
|---|---|---|
| How structure is found | Agent infers by reading code, live | Static analysis (AST), computed once |
| What gets sent to AI | Whatever the agent decides to read | Curated index + feature map, not full source |
| Context per session | Rebuilt from scratch | Cached snapshot, reused |
| Starting a new session | No starting point | Ordered reading path, with reasons |
| Works across AI tools | Re-explained per tool | One snapshot, every agent |
DevMap is MIT licensed and free to use. No subscription. No account required. No DevMap servers involved.
If DevMap saves you time, consider supporting development.