I think the same things that work well for humans also work efficiently for LLMs.
Or maybe more obviously: difficult, inconsistent frameworks or APIs full of surprises are slower for agents as well, especially if they haven't had a bunch of RL.
I used to watch 4.6 Opus continually trip on all same the git sharp edges people do, I think it's mostly now trained away or at least better hidden. But it's all extra effort.