Does giving an agent a scratchpad notes file actually help on longer tasks?
I've started telling agents to keep a plain NOTES.md while they work: what they've tried, what failed, what's left. My gut says it helps them recover when the conversation gets long and earlier details drop out of context.
It also helps me, because I can open the file and see where things stand without reading the whole transcript.
Has anyone compared runs with and without a notes file? Curious whether it's a real improvement or just a nice feeling.
Comments · 4
I've seen it help because the context window forgets earlier work. A notes file lets the agent re-read what it already tried and not loop.
Notes also help humans. Reading the agent's dead ends told me where my instructions were unclear.
Does it ever get so long it hurts? Do you have the agent trim or summarize it after a while?
Yes, past a point. I ask the agent to compress older entries into a short summary every so often.