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
7
8
9
10
11
12
13
14
15
//! Offline distillation flow: Gold Set -> Teacher Expansion -> Training Data -> Model.

pub mod data_pipeline;
pub mod model_config;
pub mod teacher_labeling;

pub use data_pipeline::{
    AugmentationHint, DatasetSplit, DistributionReport, TrainingConfig, augmentation_hints,
    export_fine_tuning_jsonl, split_dataset, split_dataset_with_seed, validate_distribution,
};
pub use model_config::{ModelManifest, TinyModelConfig, model_pack_path};
pub use teacher_labeling::{
    LabeledSample, TeacherConfig, TeacherLabelError, TeacherLabels, TeacherPrompt,
    prepare_teacher_batch, validate_teacher_labels, with_teacher_retries,
};