DevLens OSS
See how a codebase fits together. Give your AI agent the same map.
DevLens turns a local repository into a searchable code graph. Trace a request from its route to the code that handles it, see what depends on a function before changing it, or ask your coding agent to find the relevant files and explain the flow.

Quick start · Web UI & Code View · AI agents & MCP · CLI · Benchmarks
| Use | What it helps you do |
|---|
| Web UI & Code View | Get your bearings in an unfamiliar repo, then follow a call into the source without losing your place. |
| MCP for AI agents | Give Claude Code, Cursor, Codex, or Hermes a way to look up symbols, trace a feature, and check the impact of a change before editing. |
| CLI | Get an architecture brief in your terminal, compare analyzed commits during a review, or pipe JSON into a script. |

See it: the Web UI
Start with the architecture. Search for a route, component, or function and zoom in on the code that matters to your task.
Trace a feature before you change it
- Find the entry point. Search for a route or handler. Filter by node or relationship type if the graph is busy.
- Follow the calls. The Flow tab shows resolved calls and, where supported, hooks and rendered children in source order. This is static analysis, not a runtime trace.
- Read the code side by side. In Code View, click a call badge to open the callee beside its caller. Each card shows syntax-highlighted source with its file path and line numbers. To read just one node, use the panel's Code tab.
- Check the blast radius. Find upstream dependents before refactoring, or use K-hop to see what the symbol depends on. When reviewing a PR, compare two analyzed commits to see what changed in the graph.
More screenshots: Flow, Code View, filters, and blast radius
 |  |
| The node panel and Flow tab show what a symbol does and which calls appear in its source. | Hover without committing: score, hooks, local state, a collapsed summary, and the two ways in. The graph, toolbar and filters stay where they are. |
 |  |
Inside a code card: technical, business and security are independent sections, technical open by default. Security carries its severity (HIGH here). | Filter by node type, edge type, score, rendering boundary and entry-point reach, with live counts from your graph. |
 |  |
| Two callees open beside their caller — the common case while reading. Click a badge to add a card, Auto-arrange to lay them out. | The same view at six cards: a call tree on one canvas, arrows showing direction, Back closing them one at a time. |
 | |
| Blast radius at two hops shows upstream dependents. K-hop follows downstream dependencies. | |