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
# Gateway prose roles

The lean-ctx gateway can compress natural-language system and user turns, but only
inside the frozen region of a request, so the provider prompt cache is never
invalidated. Per-role aggressiveness lets an operator squeeze the system prompt
harder than user turns, because system preambles are usually more repetitive.