A developer released TokenTrimmer, a local proxy that rewrites agent tool results into shorter forms losslessly and verifies each change before sending. Measured across real Claude Code sessions, it cut request size 7.2% and cost 5.3% with prompt caching, at about 9 ms overhead. The key finding: rewriting earlier turns saves tokens per request but loses money by breaking prompt caches.
Distill is a tool for AI coding agents that reduces token usage by compressing agent output and context. It includes a skill/plugin for adaptive output compression and an MCP middleware for compressing tool descriptions and results. It targets developers using coding agents like Claude Code to save on token costs.
Distill is a tool for AI coding agents that reduces token usage by compressing agent output and context. It includes a skill/plugin for adaptive output compression and an MCP middleware for compressing tool descriptions and results. It targets developers using coding agents like Claude Code to save on token costs.
Hystax released Kompressor, an open-source (MIT) Rust compressor that deterministically shrinks coding-agent tool output to cut context token usage by roughly 25% on Terminal-Bench 2.1. It is rule-based rather than model-based so its output stays byte-stable across turns, preserving prefix-cache reuse. The authors benchmarked it against Headroom's ModernBERT approach and invite scrutiny of their methodology.
Hystax released Kompressor, an open-source (MIT) Rust compressor that deterministically shrinks coding-agent tool output to cut context token usage by roughly 25% on Terminal-Bench 2.1. It is rule-based rather than model-based so its output stays byte-stable across turns, preserving prefix-cache reuse. The authors benchmarked it against Headroom's ModernBERT approach and invite scrutiny of their methodology.
A developer released sqz, a local content-addressed cache for Claude Code sessions that replaces exact repeated file content with tiny references. The author observed agents rereading unchanged ~2,000-token files multiple times, paying full token cost each time. Across 3,003 compressions it saved 178,442 tokens with a 24.7% average reduction and no extra LLM call.
A developer released sqz, a local content-addressed cache for Claude Code sessions that replaces exact repeated file content with tiny references. The author observed agents rereading unchanged ~2,000-token files multiple times, paying full token cost each time. Across 3,003 compressions it saved 178,442 tokens with a 24.7% average reduction and no extra LLM call.
MIT researchers released densely, a lossless context compression method for LLM agents that reduces token usage by 2–8x while enabling byte-exact recovery. It re-encodes compressed bytes as 65,536 English words, each costing exactly one token, achieving 16 bits per token versus ~8.8 for lzma+base64.
MIT researchers released densely, a lossless context compression method for LLM agents that reduces token usage by 2–8x while enabling byte-exact recovery. It re-encodes compressed bytes as 65,536 English words, each costing exactly one token, achieving 16 bits per token versus ~8.8 for lzma+base64.
A developer released TokenPrune, an open-source Python package that deterministically prunes and compresses agent tool outputs in-memory, reducing token usage on enterprise API payloads by 70-90%. It targets the common workaround of using an auxiliary model like GPT-4o-mini to summarize tool outputs, which adds 500ms-2s of latency and recurring API charges. The tool is available on PyPI and GitHub.
A developer released TokenPrune, an open-source Python package that deterministically prunes and compresses agent tool outputs in-memory, reducing token usage on enterprise API payloads by 70-90%. It targets the common workaround of using an auxiliary model like GPT-4o-mini to summarize tool outputs, which adds 500ms-2s of latency and recurring API charges. The tool is available on PyPI and GitHub.