
Some decisions belong to the model. Others belong to your code.
A production agent is a loop: a language model decides what to do, calls tools, and carries on. Most of the engineering lies in deciding which decisions the model makes and which ones your code enforces...