munhq/distil

Measure what context compression actually costs an LLM agent: where a session's tokens go, and whether a rewrite pays for the prompt cache it invalidates. Rust crate, MCP server and benchmark harness.

1Stars on the repository
5Mods indexed here, across every type
3d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

distil

01

munhq/distil

MCP server Claude CodeCodexCursor

Context optimization middleware for LLM agents — a dynamic tool registry, result masking, token budgeting and smart compaction, so a long session stays inside its window instead of failing for length. Runs locally from the @munhq/distil npm package.

1 3d ago A tokens not measured