lean-ctx 3.9.19

Context Runtime for AI Agents with CCP. 79 MCP tools, 10 read modes, 95+ compression patterns, cross-session memory (CCP), persistent AI knowledge with temporal facts + contradiction detection, multi-agent context sharing, LITM-aware positioning, AAAK compact format, adaptive compression with Thompson Sampling bandits. Supports 24+ AI tools. Reduces LLM token consumption by up to 99%.
1
2
3
4
5
6
# Hybrid retrieval

Retrieval fuses a BM25 lexical arm with a dense vector arm using reciprocal rank
fusion, then reranks the merged candidate set before it enters the context window.
Spreading activation over the project graph pulls in files related to the top hits
even when they share no literal tokens with the query.