Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
| __init__.py 266 B | ||
| mock_tools.py 9.5 KB | ||
| README.md 2.1 KB | ||
| run_comparison.py 16.1 KB | ||
| show_compression.py 7.5 KB | ||
| verify_errors_kept.py 3.5 KB | ||