DL—01 / CODEBASE INTELLIGENCE
SCROLL TO EXPLORE ↓
Open source · Local first 2026

Know your system.
Change confidently.

DevLens maps the files, functions, routes, and dependencies in your repository. Explore how the system fits together and see what a change could affect before you merge it.

View source
No configurationSource stays privateAGPL-3.0
storefrontmain graph ready
auth.tsmiddleware.tssession.tsdashboard.tsxapi/orders.tsCheckout.tsx
5 direct connectionsselected node · auth.tsclick a node
TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs TypeScriptReactNext.jsJavaScriptAST analysisDependency graphs
01THE CONTEXT GAP

See the system behind the files.

DevLens connects files, functions, routes, and state into one explorable model—so you can understand the architecture and its dependencies before changing code.

DEPENDENCY TRACE

What depends on this?

Reveal every component, route, hook, and module connected to a selected file.

PROJECT STRUCTURE

How is this project structured?

Explore an unfamiliar architecture without tracing imports across dozens of files.

NODE SUMMARY

What does this code do?

Read a concise product and technical explanation on every graph node.

PRODUCT DEMO02:18 / GUIDED WALKTHROUGH

Watch a repository become a navigable system.

Follow DevLens as it scans a production-style Next.js project, extracts its relationships, and turns disconnected source files into an explorable dependency graph.

devlens / product-walkthroughREAL REPOSITORY
OUTPUT / NEXT.JS 14

One analysis produces a reusable structural model.

499nodes1,403edges9.8sanalysis
02 / ONE ANALYSIS, FOUR INTERFACESREPOSITORY → GRAPH → ANSWERS

Build the graph once. Use it everywhere.

Web, CLI, Agent Skill, and MCP are four simple ways to access the same understanding of your codebase.

SOURCEYour repository
ANALYZE ONCEOne shared graph

Scan once.
Query anywhere.

VISUAL EXPLORATION

See how the system fits together

Explore routes, components, functions, and state as one connected architecture map.

Best for: Onboarding and architecture discovery
ASK THE SAME GRAPH

Find the path from login to checkout

$bun run dev

All four interfaces read the same analyzed graph—no duplicate scans and no separate source of truth.

02CAPABILITIES

One graph. Four clear decisions.

Understand impact, review changes, guide AI, and align your team.

01Blast radius

Trace change impact

See every direct and transitive dependency before editing.

WHAT YOU GET8 affected modules · 4 direct · 4 transitive
02PR impact

Review beyond the diff

Connect changed files to the screens and modules they affect.

WHAT YOU GET3 changed files → 40 affected
03AI context

Ground AI in the graph

Give agents compact structural context instead of entire files.

WHAT YOU GET~50 tokens per node summary
03QUICK START

From install to your first graph.

Use Codespaces or your operating system, run three commands, and inspect the result.

RECOMMENDEDGitHub Codespaces

Prefer local setup? npm, macOS, Linux, and Windows installers are included below.

01
CHOOSE YOUR ENVIRONMENT

Codespace or local terminal

In GitHub choose Code → Codespaces → Create codespace, or use the installer for your operating system.

devlens / quick-startREADY
02 · INSTALL AND ANALYZE
$npm install -g @devlensio/cli
$devlens analyze .
$devlens overview
03
GRAPH READY

Read the system overview

devlens overview confirms the framework, graph size, routes, and central nodes.

Structural graph created

AI summaries are optional. Run devlens init, then analyze with --summarize. Structural analysis works without an AI provider.

04MOAT · PULL REQUEST ANALYSIS

See what the diff cannot show.

Select a changed file to reveal its downstream impact before the pull request is merged.

  • Affected files
  • Risk level
  • Routes to test
devlensio / storefrontPR #247

IMPACT ANALYSIS READY

SELECTED CHANGE

middleware.ts

High risk
middleware.tschanged
login.tsxdirect
api/orders.tstransitive
useSession.tstransitive
BLAST RADIUS12 filesROUTES TO CHECK4 routesREVIEW PRIORITYHigh
Built from typed repository relationships
DEVLENS CLOUD / IN DEVELOPMENT

One graph. Shared everywhere.

Managed sync, PR impact, and shared graph views—coming to DevLens Cloud.

Join the first release
SYSTEM ONLINEcloud.pipeline.ymlincremental
GitHubrepository event
DevLens graphparse · connect · summarize499 nodes
INPUT

Always current

GitHub events update only the relationships that changed.

01 / 04
Incremental processingTyped relationshipsControlled accessShareable output
05QUESTIONS

The details, without the pitch.

What it does, how it runs, and where your code goes.

LOCAL FIRST7 ANSWERSOPEN SOURCE
docs / questions.mdanswers indexed
ANSWER / 01overview.md
SHORT ANSWER

What is DevLens?

An open-source map of your JavaScript or TypeScript codebase—files, functions, routes, and their relationships.

Graph documentation1 of 7
BUILD WITH SHARED CONTEXTEARLY ACCESS / OPEN
YOUR NEXT ADVANTAGE

Architecture, shared by default.

Give every plan, change, and review the same system context.

Use DevLens locally
DEVLENS CLOUDIN DEVELOPMENT

Join early access.

Be first to try managed sync, shared graphs, and PR impact.

Early product accessNo spam