Sunday, October 18, 2026

thumbnail

My coding agent kept searching the same repo again and again, so I gave it a memory

My coding agent kept searching the same repo again and again, so I gave it a memory

Posted on Oct 18 • AI-assisted

I gave it a small bug in a CLI library. Before it touched anything, it made 32 tool calls. grep, sed, cat, grep again. That one run used 1,052,132 input tokens. For a tiny fix.

So I went and counted my own sessions. 83 sessions, 32,713 tool calls. 31% of them were the agent just searching. The median was 24 searches before the first edit. And 44% of the time it opened a file, it had already read that file in the same session.

That's what I built Engram for, in the Graph Hacks hackathon (WeMakeDevs × FalkorDB).

Then, before the agent makes its first tool call, it gets a short map. Around 200 tokens. Just where to look.

This is the real map it gave Claude Code for one click bug ("click.Choice(["Apple", "Banana"], case_sensitive=False) rejects apple"):


������ Published Date: Sun, 18 Oct 2026 11:11:26 +0000
������ Original Source: Read on original site

Subscribe by Email

Follow Updates Articles from This Blog via Email

No Comments

About