top | item 47033063

(no title)

tekacs | 13 days ago

I think that's reasonable, but then they should have the ability for the agent to, on the next call, override it. Even if it requires the agent to have read the file once or something.

In the absence of that you end up with what several of the harnesses ended up doing, where an agent will use a million tool calls to very slowly read a file in like 200 line chunks. I think they _might_ have fixed it now (or agent-fixes, my agent harness might be fixing it), but Codex used to do this and it made it unbelievably slow.

discuss

order

reactordev|13 days ago

You’re describing peek.

An agent needs to be able to peek before determining “Can I one shot this or does it need paging?”

tekacs|12 days ago

Yep, I previously implemented it under that name in my own harness. That being said, there is value in actually performing a normal read, because you do often complete it on that first glance.