{"repo":"borhen68/TokenTamer","free":true,"listed":false,"github":"https://github.com/borhen68/TokenTamer","clone":"git clone https://github.com/borhen68/TokenTamer.git","description":"A drop-in proxy that compresses bloated code context in real-time, cutting LLM API costs by 50–80% without losing what the model actually needs to know.","language":"Python","stars":128,"topics":["ai-coding-agent","anthropic","context-compression","cost-reduction","developer-tools","llm","openai","proxy","python","token-optimization"],"license":"MIT","category":"ai-agents","readme_excerpt":"🚀 TokenTamer A drop-in proxy that compresses bloated code context in real-time, cutting LLM API costs by 50–80% on plain-chat coding agents. TokenTamer is a middleware proxy that sits between an AI coding agent and the LLM API. It intercepts raw payloads, parses code with AST, and replaces \"background\" files with structural skeletons. The agent still sees signatures, classes, and imports — it just stops paying for function bodies it isn't editing. ⚠️ Alpha software. This is a real project in active development, not a polished SaaS. Please read the support matrix below before installing. 🧪 Support Status Client HTTPS interception Compression active Notes -------- -------------------- -------------------- ------- Aider ( --openai-api-base ) ✅ Not needed ✅ Full Best supported. Use the proxy URL directly. Cursor (custom base URL) ✅ Not needed ✅ Full Best supported. Plain curl / SDK calls ✅ Not needed ✅ Full Great for testing. Claude Code (hardcoded endpoint) ✅ Works ✅ Tool-aware Stale file reads in tool result get skeletonized; latest read stays intact. Codex CLI (hardcoded endpoint) ✅ Works ✅ Tool-aware Same engine via /v1/responses . How tool-aware compression works. Agents like Claude Code call Read(file) repeatedly. The conversation accumulates the same file dumped multiple times. TokenTamer tracks every tool use → file mapping, then skeletonizes the older tool result reads while keeping the most recent read of each file 100% intact. tool use blocks and tool definitions are","default_branch":null,"files":null,"tree":[],"storefront":"/r/borhen68","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borhen68/TokenTamer/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."}