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
deps: Update huggingface-hub requirement from <2.0,>=1.5.0 to >=1.5.0,<3.0 (#4027)
dependabot[bot]fcf3db8e70d1
diff --git a/pyproject.toml b/pyproject.tomlindex b161f4bc5..b60137ec8 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -136,11 +136,11 @@ ml = [# makes `headroom-ai[all]` unsatisfiable on Intel Macs (#1931)."torch>=2.12.1; sys_platform != 'darwin' or platform_machine != 'x86_64'","transformers>=5.5.0,<6.0",- # transformers >= 5.x requires huggingface-hub >= 1.5.0,<2.0; pinning+ # transformers >= 5.x requires huggingface-hub >= 1.5.0,< 3.0; pinning# the floor here prevents Kompress from silently falling back to# "unavailable" when a sibling install (e.g. `pip install# strands-agents`) drags huggingface-hub backwards.- "huggingface-hub>=1.5.0,<2.0",+ "huggingface-hub>=1.5.0,<3.0",]# Memory system (hierarchical memory with vector search).# Uses the pure-Python sqlite-vec backend by default (VectorBackend.AUTO ->diff --git a/uv.lock b/uv.lockindex ca281afd3..cbde51293 100644--- a/uv.lock+++ b/uv.lock@@ -1783,7 +1783,7 @@ requires-dist = [{ name = "httpx", marker = "extra == 'mcp'", specifier = ">=0.24.0" },{ name = "httpx", extras = ["http2"], marker = "extra == 'proxy'", specifier = ">=0.24.0" },{ name = "httpx", extras = ["http2", "socks"], marker = "extra == 'dev'", specifier = ">=0.24.0" },- { name = "huggingface-hub", marker = "extra == 'ml'", specifier = ">=1.5.0,<2.0" },+ { name = "huggingface-hub", marker = "extra == 'ml'", specifier = ">=1.5.0,<3.0" },{ name = "jinja2", marker = "extra == 'reports'", specifier = ">=3.0.0" },{ name = "langchain-core", marker = "extra == 'langchain'", specifier = ">=1.3.3,<4.0" },{ name = "langchain-core", marker = "extra == 'langgraph'", specifier = ">=1.3.3,<4.0" },