Tare

•
5
•

Compresses context for LLM coding agents losslessly by default, supporting proxy, library, CLI, and MCP server deployments.

Tare is a powerful context compression tool designed to optimize the performance and cost-efficiency of LLM coding agents. It intelligently shrinks the context window between your agent and the model API, reducing token usage by 44-73% without losing critical information by default. Tare achieves this through lossless re-encoding of tool output, logs, and JSON into denser equivalent forms, while also being cache-correct to preserve provider prefix caches and output-aware to prevent over-compression from increasing total costs. It offers flexible deployment options including a proxy, CLI, and libraries for Rust, Python, and JS/TS, as well as an MCP server.

주요 기능

01Cache-correctness preserves provider API prefix caches
02Flexible deployment as a proxy, CLI, library, or MCP server
03Achieves significant context reduction for coding agents (up to 73%)
04Lossless-by-default context compression for coding agents
050 GitHub stars
06Output-aware compression dynamically adjusts to model verbosity

사용 사례

01Optimizing context window usage for LLM coding agents
02Reducing token costs while ensuring no information loss by default
03Maintaining provider cache efficiency during agent interactions