Most AI builds break at the wiring, not the model: no retries, no log of what the model actually did, and no clear line for what the agent may do without a human.
I build that layer. My own products run on it -- an ordering platform where an AI agent handles real orders, and a coding agent that writes no file until someone approves the change.
The question worth answering first is what your agent should never decide on its own.