{"repo":"ojuschugh1/sqz","free":true,"listed":false,"github":"https://github.com/ojuschugh1/sqz","clone":"git clone https://github.com/ojuschugh1/sqz.git","description":"Compress LLM context to save tokens and reduce costs","language":"Rust","stars":598,"topics":["ai","cli","context","extensions","llms","rust","token","tokens","agentic-ai","api"],"license":null,"category":"ai-agents","readme_excerpt":"███████╗ ██████╗ ███████╗ ██╔════╝██╔═══██╗╚══███╔╝ ███████╗██║ ██║ ███╔╝ ╚════██║██║▄▄ ██║ ███╔╝ ███████║╚██████╔╝███████╗ ╚══════╝ ╚══▀▀═╝ ╚══════╝ Compress LLM context to save tokens and reduce costs Real session stats: 3,003 compressions · 178,442 tokens saved · 24.7% avg reduction · up to 92% with dedup Install · How It Works · Supported Tools · Changelog · Discord --- sqz compresses command output before it reaches your LLM. Single Rust binary, zero config. The real win is dedup: when the same file gets read 5 times in a session, sqz sends it once and returns a 13-token reference for every repeat. [!NOTE] Name disambiguation: this repo, ojuschugh1/sqz, is an independent project and is not affiliated with any other similarly named or working tool or other compression projects that shorten \"squeeze\". If you installed sqz / sqz-cli / sqz-mcp from crates.io, npm, PyPI, or Homebrew, it comes from this repository. Token Savings 24.7% average reduction across 3,003 real compressions · 92% saved on repeated file reads · 86% on shell/git output · 13-token refs for cached content One developer's week, measured from actual sqz gain output: Per-command compression Single-command compression (measured via cargo test -p sqz-engine benchmarks ): Content Before After Saved --- ---: ---: ---: Repeated log lines 148 62 58% Large JSON array 259 142 45% JSON API response 64 53 17% Git diff 61 54 12% Prose/docs 124 121 2% Stack trace (safe mode) 82 82 0% Session-level with dedup Where the r","default_branch":null,"files":null,"tree":[],"storefront":"/r/ojuschugh1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ojuschugh1/sqz/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}