Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
Keep long, image-heavy AI agent chats fast (Codex, Claude Code, WorkBuddy, Gemini CLI, DeepSeek Harness, Hermes Agent & more): earlier images become ID placeholders the model fetches back on demand, even after compaction. Local, cache-friendly, MIT.