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
{
"config": {},
"input": "{\"foo\": \"bar\"}",
"input_sha256": "9fb76321d31ed64c9b59daa7456102070d25ea02b8a414049a9b93a1b50751f7",
"output": {
"confidence": 0.5,
"content_type": "text",
"metadata": {}
},
"recorded_at": "2026-04-28T06:39:34.959686+00:00",
"transform": "content_detector"
}