Enterprise DNAEnterprise DNA
MMCP Serverslow

dshakes/distil

by Various

Compression with a quality contract — cache-aware, causally-pruned LLM context compression for agentic runtimes, certified non-inferior across 7 domains. Works with any SDK.

MCP

dshakes/distil

Added 3 Sept 2026

#agents#ai-infrastructure#anthropic#claude-code#conformal-prediction#context-compression#cost-optimization#llm
Catalogue record, not a reviewed recommendation. This record can include automatically collected descriptions and setup details. Confirm important claims with the original source. Explore source-reviewed tools.

Overview

A Python library for LLM context compression that prunes context causally and is cache-aware. It provides a quality contract, certified non-inferior across seven domains, and works with any SDK. Designed for agentic runtimes.

Best for

Best for
Developers building agentic systems needing safe context compression

Use cases

  • Compressing conversation history for agent loops
  • Reducing token usage in multi-step LLM calls
  • Maintaining output quality while shrinking context

How to use

Install

uvx --from distil-llm distil bench      # certify savings + quality across 9 domains, in seconds

Clients listed in this record (not verified here)

Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Continue, VS Code, ChatGPT

Notes

16 stars on GitHub. Last updated 2026-09-02.

Pros

  • Cache-aware compression reduces redundant processing
  • Certified non-inferior quality across seven domains
  • SDK-agnostic integration

Cons

  • Small community adoption with only 16 stars
  • Python only, no other language bindings
  • Quality certification limited to seven domains
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.