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
Add missing pillow dependency for image compression
Tejas Chopra6b1cd38c7536
diff --git a/pyproject.toml b/pyproject.tomlindex 18ba0667b..66667dcaa 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -53,6 +53,7 @@ dependencies = ["sentencepiece>=0.2.1","protobuf>=6.33.4","semantic-router>=0.1.12",+ "pillow>=10.0.0", # Image processing for compression"datasets>=4.5.0",]