The first command you run after git clone.
Analyze once. Reuse context everywhere. Structured project intelligence for developers and AI agents.
Built by Muhammad Fadil (@itsflaid)
Before doing real work, developers and AI agents need context.
They open files, trace dependencies, follow feature flows, and rebuild understanding of the project.
The process repeats every time you:
- start a new session
- switch AI tools
- bring in a new agent
- revisit a project weeks later
The code stays the same.
The context gets rebuilt again and again.
DevMap turns project knowledge into reusable context.
It analyzes your codebase and generates structured project intelligence that can be reused across developers, sessions, and AI agents.
Instead of rediscovering the codebase every time, agents and developers start with:
- Project overview
- Entry points
- Feature maps
- Critical files
- Architecture summaries
- Navigation paths
- Onboarding guidance
Analyze once.
Reuse everywhere.
Without DevMap:
Repository
↓
Claude explores files
↓
Context rebuilt
Repository
↓
Codex explores files
↓
Context rebuilt
Repository
↓
New session
↓
Context rebuiltWith DevMap:
Repository
↓
devmap analyze
↓
Shared Project Context
├─ Claude Code
├─ OpenAI Codex
├─ Gemini CLI
├─ Cursor
├─ Windsurf
└─ Future Agentsdevmap init
→ configures provider
→ generates DEVMAP.md
→ prepares project
devmap analyze
→ runs static analysis
→ builds project intelligence
→ generates navigation files
→ generates reusable context
Generated Context
→ reusable across sessions
→ reusable across agents
→ reusable across developers| File | Role |
|---|---|
DEVMAP.md |
DevMap project documentation |
AGENTS.md |
Agent instructions |
.devmap/index.json |
Agent entry point |
.devmap/features/*.json |
Feature-level navigation |
.devmap/snapshot.json |
Complete project intelligence |
Recommended navigation order for agents:
index.json
↓
feature map
↓
relevant source files
↓
snapshot.json (last resort)The snapshot remains the complete project context and can also be copied into web-based AI tools when needed.
DevMap provides reusable project context that works across tools.
Instead of exploring a repository from scratch, agents start with generated project intelligence.
Supported workflows include:
- Claude Code
- OpenAI Codex
- Gemini CLI
- Cursor
- GitHub Copilot
- etc.
Without DevMap:
Agent
↓
Explore repository
↓
Trace dependencies
↓
Guess architecture
↓
Start taskWith DevMap:
Agent
↓
index.json
↓
feature map
↓
relevant files
↓
Start taskOne analysis.
Reusable across sessions, tools, and agents.
DevMap is not an AI coding assistant.
AI coding assistants help write code.
DevMap helps developers and AI agents understand how codebases are organized, how features connect, and where work should begin.
Use DevMap to understand the project.
Use your preferred AI tool to change it.
DevMap is a shared project context layer for developers and AI agents.
- React.js
- Next.js
- Node.js
- Express
- Vue.js
- Nest.js
- Nuxt.js
- Php - Laravel
- All JS/TS ecosystem
Workspace classification can identify Astro packages, but deep Astro analysis is not part of the current MVP support promise.
DevMap is free and open source.
AI features require a provider API key. DevMap uses Groq by default — analysis runs on free-tier infrastructure.
| Provider | Status |
|---|---|
| Groq | MVP |
| OpenRouter | MVP |
| OpenAI | Planned |
| Gemini | Planned |
devmap init lets you choose Groq or OpenRouter with the arrow keys. Groq
shows the available model list and stores the selected model. For OpenRouter,
pressing Enter at OpenRouter model [openrouter/free]: keeps the free router;
typing another model ID uses that free or paid model instead. Change it later
with devmap config model <model-id>.
API keys are stored locally:
~/.devmap/config.jsonDevMap does not require a backend server.
Requests go directly from your machine to the selected provider.
# npm
npm install -g @flaid/devmap
# pnpm
pnpm add -g @flaid/devmap
# run without installing
npx @flaid/devmap analyzeRequirements:
Node.js 22.12+-
devmap init -
devmap analyze -
devmap doctor - [ ]
devmap onboarding
-
devmap map -
devmap explain -
devmap flow
- OpenAI provider
- Gemini provider
- Local AI mode
See docs/roadmap.md for details.
- docs/commands.md
- docs/architecture.md
- docs/generated-files.md
- docs/design.md
- docs/benchmarking.md
- docs/roadmap.md
- docs/releasing.md
- CHANGELOG.md
- CONTRIBUTING.md
DevMap is open source and welcomes contributions.
git clone https://github.com/itsflaid/devmap
cd devmap
pnpm install
pnpm link --global
devmap analyzeBefore contributing:
- Read
docs/architecture.md - Read
CONTRIBUTING.md
MIT License — use it, fork it, improve it, build on top of it.
