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
chore: add mypy to pre-commit hooks
chopratejas67631fecfc0c
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 4975f90d7..b124868f2 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -7,3 +7,11 @@ repos:exclude: ^experiments/- id: ruff-formatexclude: ^experiments/+ - repo: https://github.com/pre-commit/mirrors-mypy+ rev: v1.14.1+ hooks:+ - id: mypy+ args: [--ignore-missing-imports]+ exclude: ^experiments/+ pass_filenames: false+ entry: mypy headroom