Enterprise DNA Enterprise DNA
M MCP Servers Developer low

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

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

Tested with

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

Notes

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.

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

Use cases

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

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

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

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.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks