RCE Code
A code indexing, search, and retrieval library — the base layer beneath a context engine. Five fused retrieval modalities over a tree-sitter index, across seven languages. No LLM, agent, or MCP concerns.
Architecture
Function-level map of RCE Code. Boxes are packages; each lists its key functions. Edge colour marks the pipeline — write, read, embed, and the opt-in Phase 2 (ISR) synthesis spine. Drag, scroll to zoom, or use the controls to explore.
Lexical
FTS5 BM25 with identifier sub-tokens
Grep
Live ripgrep, corpus-aligned
Semantic
Embedding cosine KNN over chunks
Hybrid
Reciprocal Rank Fusion of all signals
Structural
Symbols + resolved call graph
Repo Map
Aider-style PageRank codebase map
Explore the docs
Getting Started
Install RCE Code, index a repo, and run your first search in minutes.
Search & Retrieval
Lexical, grep, semantic, hybrid, symbols, and the repo map — and when to use each.
Indexing & Embeddings
How the pipeline builds the index, the Embedder protocol, and vector backends.
Languages
The seven supported languages and how to add an eighth from the docs alone.
Reference
The CodeEngine Python facade, the CLI, and every configuration field.