Skip to main content

What is DevGraph?

DevGraph is a file-first local memory system for code understanding. It incrementally indexes your repo into a graph inside .devgraph/ so coding assistants can query structure instead of rereading the entire codebase.

Key Features

Incremental Build

Sync changed files only. DevGraph hashes source files and reuses cached per-file artifacts.

On-device Memory

Everything lives in .devgraph/ as plain files you can inspect, diff, and keep local.

Code-first Graph

V1 indexes files, symbols, imports, references, and lightweight context files like README.md.

Focused Retrieval

Use devgraph query for bounded evidence instead of broad file search.

Self-updating Loop

Run devgraph watch to keep the graph fresh while you edit code.

Generated Outputs

When you run devgraph build, DevGraph writes:

Command Surface

DevGraph v1 ships four commands:
  • devgraph build [paths...]
  • devgraph watch [paths...]
  • devgraph query "<question>"
  • devgraph status

Next Steps

Quickstart

Build your first local memory graph and inspect the outputs.

CLI Commands

Learn the build, watch, query, and status workflows.

Query Command

Use graph retrieval instead of broad repo search.