lean-ctx 3.9.2

Context Runtime for AI Agents with CCP. 71 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%.
Documentation
1
2
3
4
5
6
7
8
9
10
# Output determinism

A lean-ctx tool output is a deterministic function of file content, read mode, CRP
mode and the active task. Two runs on the same inputs produce byte-identical text,
which is what makes the result safe to cache and cheap to re-bill.

To hold that contract the runtime keeps no timestamps or counters in output
bodies; artifact filenames are content-addressed via a BLAKE3 hash of the command
that produced them. Dedicated regression tests fail the build if any tool starts
leaking a non-deterministic byte into its body.