Skip to content

Blog / Engineering

The model is the small part of agent orchestration

What building Opsline taught me about retries, approvals that arrive days late, and failures nobody sees.

Bisrat Shibeshi · November 20, 2026 · 1 min read

I've been building Opsline as my own product, a workflow engine for processes that need a person in the loop, and it now runs AI agents. A workflow can mix agent steps with HTTP calls, emails and approvals. One AI step handles invoices. You forward a PDF, it pulls out the vendor, amount and due date, and the run sends it to the right person to approve. An MCP server lets outside agents start runs and check their status, while approvals stay with people.

What breaks halfway through

Building it taught me that the model is the small part of agent orchestration. Most of the work is in what happens when something breaks halfway through. If the process dies mid-run, the engine replays the run from its history, so every outside call carries an idempotency key and every attempt is stored as its own record. Those records also let a failed run restart from the step that failed instead of from the top. A server error or a rate limit retries, and a bad request stops the step.

Approvals were harder

Approvals were harder. Once they had reminders and escalation, a decision could arrive days late, and matching it by run would have let it settle a later approval in the same run, so decisions now match the exact step they were made on. Silent failures needed their own fix, because a scheduled run that never starts looks fine on a dashboard. Missed schedules and stuck runs now alert an admin.

Letting agents run

With the risky steps waiting for a person and an append-only audit log of every step an agent took and who approved it, I can let agents run the rest on their own.