Works with Claude Code, Cursor, Cline, opencode & any MCP-capable agent. Open source · MIT.
03/ the problem
The Context Snowball
LLM context accumulates everything. Every file read and command output stays in context forever — even exact duplicates.
session context0 tokens
Red blocks are repeat reads of the same file. In our benchmark: naive sessions exhausted at 16 turns — ToolRecall runs 84+ turns before exhaustion. That's a 5×+ increase in usable session length.
04/ how it works
One daemon. Four cache layers.
ToolRecall caches file reads, terminal output, MCP tool results, and API requests. Any layer can miss once and hit forever — the daemon auto-invalidates on mtime changes and signals the agent to drop clean content from context.
05/ context tracker
Breaking O(N²) growth
The tracker knows which files the agent wrote (dirty) vs. only read (clean). Clean content drops from context (driven by tracker signals) — agent reasoning still accumulates, but at ~1,500 tok/turn instead of the snowball's ~52K. The structural ceiling: file bloat gone, reasoning only.