{"repo":"firstops-dev/whittle","free":true,"listed":false,"github":"https://github.com/firstops-dev/whittle","clone":"git clone https://github.com/firstops-dev/whittle.git","description":"Carves your agent's tool outputs down to what matters. Never cuts what doesn't come back.","language":"Go","stars":60,"topics":["ai-agents","claude-code","compression","golang","llm","mcp","token-optimization"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"🪓 whittle Cut your AI agent's token bill. Lose nothing that matters. Install · How it works · Compression · Model routing · Benchmarks · Why whittle? Long agent sessions drown in tokens, and most compressors buy their ratio by silently destroying what agents need: array rows vanish, file reads get gutted, identifiers come back mangled. Whittle holds one line: lossless or clearly marked, code never touched, every anomaly fails open to the original bytes. Built for engineers running long Claude Code sessions who refuse to trade fidelity for token savings. Highlights - 🪓 Write-time compression : a Claude Code PostToolUse hook whittles each tool output before it enters context, so the savings repeat on every later turn. History is never mutated, so prompt caches stay intact. - 🔒 Lossless or marked : JSON reshapes byte-exact (rows are never dropped), logs keep every error plus an honest [N lines omitted] , source code passes through untouched. - 🎯 Token-honest numbers : savings measured against calibrated tokenizer counts, not byte counts that overstate by up to 4×. - 🧭 Opt-in model router : hard reasoning stays on your strongest model, trivia drops to the cheapest, per one auditable policy file driven by trained-classifier signals (how it works). - 🛟 Fail-open, local, yours : if whittle is down your agent runs on originals, a rejected rewrite retries your original request, zero credentials leave your box, and the Go binary has zero external dependencies. Install Tool output","default_branch":null,"files":null,"tree":[],"storefront":"/r/firstops-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/firstops-dev/whittle/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."}