3 Comments
User's avatar
Oli's avatar

built a few agents for my digital products business and the loop pattern here is spot on — the ones that survived production were the ones where I kept the model's decision surface as small as possible. every time I let the model decide "what to do next" instead of just "which of these 3 things to do" it broke within a week.

Diamantino Almeida's avatar

Personally, these practices highlight an important reality, production AI agents are less about giving models autonomy and more about constraining that autonomy safely, at least in my experience. I found the difficult engineering work is in context management, state, observability, evaluation, and reliable stopping conditions, not in the prompt alone.