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 |
|---|---|---|
| .. | ||
| adapters | ||
| types | ||
| utils | ||
| client.ts 19.4 KB | ||
| compress.ts 3.2 KB | ||
| errors.ts 3.1 KB | ||
| hooks.ts 2.8 KB | ||
| index.ts 3.1 KB | ||
| paths.ts 7.8 KB | ||
| shared-context.ts 4.7 KB | ||
| simulate.ts 1.7 KB | ||
| types.ts 6.4 KB | ||