Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content
Welcome
Lexav0.6.1

Local code intelligence for humans and agents.

Lexa turns a repository into one portable graph for search, project context, dependency tracing, and hash-aware edits. Index once, query from the CLI, your editor, or an MCP client.

macOSLinuxWindowsMIT
lexa — ~/myproject
indexed
$ lexa index .

 1,284 files · 31 ms · 4,902 symbols

$ lexa symbol-search "createAgent"

createAgent          src/agents/runtime.ts:42
createProjectAgent   src/agents/project.ts:18
createTestAgent      src/agents/test.ts:8
Benchmark
33
Languages indexed.
~30 ms
Index 500 files.
~91 ns
Symbol lookup, 1k files.
~57 µs
Exact search, 1k files.
~1.1 ms
Incremental reindex.
~54 µs
Regex search, 1k files.
The workflow
01 · INDEX
Build one graph

lexa index . walks your project once and writes .lexa/graph.lexa. Keep it fresh with lexa watch.

02 · QUERY
Search, trace, brief

Symbols, outlines, callers, dependencies, scoped brief bundles — all from the CLI or the MCP server.

03 · EDIT
Patch with confidence

Read with --hash, patch with --if-hash. Atomic line-based edits reindex in place. No half-written files.

Language coverage
Broad language coverage for the codebases teams actually ship.
See all 33 supported languages →

MIT · Native Rust · v0.6.1 · macOS · Linux · Windows