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
Use oldest supported Python version (3.10) for package build
pythoninthegrassec7886481c85
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4699bf206..843a55f98 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -5,6 +5,7 @@ on:branches: [main]pull_request:branches: [main]+ workflow_dispatch:jobs:test:@@ -89,7 +90,7 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v5with:- python-version: "3.11"+ python-version: "3.10"- name: Install build toolsrun: |