Show HN: Fewer AI tokens. Better context. No silent information loss github.com · 3 points · 0 comments · HN thread
TL;DR Pithio is an open-source, local tool that compresses terminal output, logs, JSON, CSV, web pages and MCP tool results before an AI coding agent reads them. Each shortened output notes what was omitted and keeps the original on the user's machine so the agent can retrieve exact details. The author reports Claude Haiku benchmarks showing fewer input tokens and, in some workloads, higher accuracy. The post has 3 points and no comments yet.
- Shortened outputs carry a note naming their level (lossless, repeats only, or focused) and a handle to recover the original via pithio more, grep or q (SQL queries).
- Reported benchmark on 171 developer tool output questions with Claude Haiku: input tokens down 29% (39,775 to 28,330) and accuracy up from 86.5% to 91.8%.
- Reported benchmark on 54 questions over Loghub system logs: 60% fewer input tokens and accuracy rising from 57.4% to 74.1%.
- On 10 GitHub API pages, tool-result tokens fell to 7.8% of original with answers still findable, checked by direct text matching without a model.
- Installs via curl, PowerShell, pip, npm or cargo;
pithio setupconnects Claude Code, Codex, Cursor, Copilot, Gemini and others; originals are kept locally for one day and secret-like outputs are not stored. - Licensed Apache 2.0; the author says the methodology is published and asks for feedback on trust and on cases where existing tools dropped important information.
Links in the post
- Pithio website: Project site with install instructions, the benchmark results, dashboard and recovery guides, and links to the public repository.
Discussion The thread has no comments yet, so there is no community discussion to summarize. The story is a Show HN post with 3 points at the time of capture.
#AITools #ContextCompression #LLM #DeveloperTools #OpenSource #ClaudeCode