Skip to main content

What is DevGraph?

DevGraph is a universal context layer for codebases. It scans Markdown files for service definitions, builds a project graph, and generates outputs like graph.json, summary.md, and agent-specific context files. One command to map your entire architecture—for humans and AI alike.

Key Features

Markdown-First

Define services, APIs, and environment variables in fenced code blocks within your existing docs.

Visual Graph

Launch DevGraph Studio to explore your architecture interactively.

AI-Ready Outputs

Generate per-service context files optimized for LLMs and AI agents.

Mermaid Diagrams

Auto-generate dependency and codebase structure diagrams.

Generated Outputs

When you run devgraph build, the following files are created in .devgraph/:
FileDescription
graph.jsonMachine-readable project graph
summary.mdHuman-readable overview with tables
agents/*.mdPer-service context files for LLMs
system.mmdMermaid diagram of service dependencies
codemap.mmdMermaid diagram of repo structure

Next Steps