lean-ctx-engine 3.12.1

LeanCTX | OSS library: the open-source runtime for the Context Gateway for AI agents behind the lean-ctx CLI, MCP server and proxy integrations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Task-aware Information Bottleneck compression (F1).
//!
//! Extends the existing `information_bottleneck` module with intent classification:
//! instead of requiring explicit query terms, infers them from the agent's session state.

pub mod intent;
pub mod relevance;

pub use intent::TaskIntent;
pub use intent::classify_intent;
pub use relevance::{RelevanceScore, compute_relevance, intent_query_terms};