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
test: fix websocket lifecycle import order
JerrettDavis7057227c8440
diff --git a/tests/test_openai_codex_ws_lifecycle.py b/tests/test_openai_codex_ws_lifecycle.pyindex f62e68078..029a89942 100644--- a/tests/test_openai_codex_ws_lifecycle.py+++ b/tests/test_openai_codex_ws_lifecycle.py@@ -15,8 +15,8 @@ from unittest.mock import MagicMock, patchimport pytest-from headroom.proxy.helpers import COMPRESSION_TIMEOUT_SECONDSfrom headroom.proxy.handlers.openai import OpenAIHandlerMixin+from headroom.proxy.helpers import COMPRESSION_TIMEOUT_SECONDSfrom headroom.proxy.ws_session_registry import WebSocketSessionRegistry# ---------------------------------------------------------------------------