a graph-native substrate for
understanding complex systems.
Lattice logolattice
codebase intelligence / graph-native

a graph-native substratefor understandingcomplex systems.

Lattice parses, resolves, and models your entire codebase as a living knowledge graph — built for engineers and the agents that work beside them.

© 2026 / latticesonar view

your code,
mapped as a graph.

Every function, module and dependency in your repository becomes a node. Every call, import, and reference becomes an edge. Lattice keeps this substrate live as your codebase changes — so nothing you build on it ever goes stale.

UserService
AuthMiddleware
Postgres
Logger
EventPublisher

what lattice does.

view all capabilities →
/parse

universal parsing

Tree-sitter grammars extract precise syntax trees across dozens of languages and frameworks.

/resolve

symbol resolution

Cross-file references connect definitions to usages, forming a coherent map of your system.

/model

knowledge graph

Resolved symbols become a directed graph of types, functions and modules — your architecture, made explicit.

/retrieve

hybrid retrieval

Vector embeddings and exact graph traversal work together to surface the most relevant context.

/reason

agent-ready context

LLM agents traverse the graph to answer questions, trace impact, and explain complex flows.

/run

local-first runtime

Everything indexes on your machine. Your source code never leaves your environment.

query the graph from your terminal.

A CLI that speaks your language. Trace dependencies, surface dead code, and ask questions about your architecture — without leaving your workflow.

read the docs →
terminal — lattice
$ lattice trace UserService --depth 2

UserService
├── AuthMiddleware
├── UserRepository
│  └── Postgres :Client
└── Logger

✓ resolved 4 nodes · 6 edges in 42ms
“Your codebase already contains the answers.
Lattice makes the relationships visible.”
04 — beta

now onboarding
early teams.

request access