nac7/tooltrim

Drop-in compression for LLM agent tool outputs: cut ~99% of tool-result tokens while keeping (often improving) answer accuracy. Provider-agnostic, with a faithfulness benchmark and an OpenAI-compatible proxy.

3Stars on the repository
1Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

tooltrim

01

nac7/tooltrim

MCP server Claude CodeCodexCursor +2

Drop-in compression for LLM agent tool outputs. Shrink bloated HTML/JSON/log results before they re-enter context — cut tokens, stay on-task, keep full output retrievable. Runs locally from the tooltrim Python package.

not rated 3 2mo ago A tokens not measured original MIT