Pensieve brings local code search to AI agents, cutting tool calls by 43%
Local Indexing to reduce tool calling and token usage

Pensieve is a free, open-source Mac app that indexes your files, repos, and agent sessions locally. Connected via MCP, it gives coding agents one search that returns the few passages that matter, instead of grepping the whole disk. In a benchmark across four repos, agents with Pensieve used 43% fewer tool calls, cost 18% less per lookup, and were 21% faster. Everything stays on your Mac.
Agents are only as good as the context they're given.