Index code once. Let Codex, Claude, OpenCode, Windsurf, and Devin retrieve ranked code, graph context, and project memory from local SQLite.
npx @openez-graph/cli setup codexThe Problem
Every time an AI coding agent starts a conversation, it reads your source files from scratch — burning tokens, context, and time on the same code it already saw yesterday.
50–200K tokens per session spent re-parsing files your agent has already analyzed. That's your context window — and your budget — gone before real work begins.
Your agent's 'memory' resets every conversation. Without a durable code index, it can't build on past queries, track relationships, or produce consistently accurate results.
Most code intelligence tools send your source code to cloud APIs. That's a non-starter for proprietary codebases, regulated environments, or anyone who values data privacy.
Simple text search isn't enough. Understanding code requires AST-level parsing, symbol graphs, and cross-file relationship tracking — capabilities most tools don't localize.
Index Anything
Rich AST-level indexing for TypeScript and JavaScript. Tree-sitter AST parsing for Python, Go, Rust, and Ruby. Fallback chunking for CoffeeScript, Slim, CSS, SCSS, SASS, LESS, and Haml. Structure-aware chunking for config files and documentation.
See it in action
Inspect workspace state, measured MCP query telemetry, memories, documents, and symbol relationships from one local management UI.
Architecture
Run `openez init` to register a workspace. The indexer parses your codebase into documents, chunks, graph nodes, and edges — stored locally in SQLite (WAL mode).
Full-text search across indexed chunks, expanded through graph neighbor traversal. Inspect relationships in the graph explorer or retrieve focused context through MCP.
Expose your indexed runtime through MCP for AI agents, the CLI for scripts, or the web dashboard. All three point at the same SQLite store.
Quick Start
Setup writes the agent config, registers the current project, indexes it, and keeps the workspace synced while MCP is running.
Capabilities
TS/JS gets full AST-level indexing via oxc-parser. Python, Go, Rust, and Ruby get tree-sitter AST parsing with regex fallback. CoffeeScript, Slim, CSS, SCSS, SASS, LESS, and Haml are scanned and chunked. Docs and config files get structure-aware chunking — all stored in local SQLite.
Full-text search fused with optional vector embeddings (bge-m3 / OpenAI) via Reciprocal Rank Fusion. 95.65% recall@5. Graph expansion follows call/import edges — no external vector DB required.
Indexed symbols become nodes connected by imports, references, and other code relationships. Inspect the workspace graph from the local dashboard.
The MCP runtime auto-registers and indexes a project, then keeps it current as files change. Manual incremental, watch, and full reindex commands remain available.
Give agents ranked retrieval, graph context, workspace inventory, durable memory, and indexing controls through a focused MCP tool surface.
One setup command connects Codex, Claude Code, OpenCode, Windsurf, or Devin. OpenEZ writes the right config, so you do not have to.
AI Integration
OpenEZ exposes seven workspace-aware tools over MCP. Read tools can search one or many workspaces; memory writes and indexing stay scoped to a single workspace.
Choose one
openez setup codex .openez setup claude .openez setup opencode .openez setup windsurf .openez setup devin .Everywhere you need it