Key takeaways
Grant only the tools and data needed for the task.
Keep consequential write actions behind explicit approval.
Design termination, retry and recovery paths before deployment.
Define the mandate before the agent
An agentic workflow combines a goal, context, a decision process and tools. Begin with the business process and identify which steps truly need flexible reasoning. Use deterministic states for well-defined transitions such as opening a case, checking a policy or recording an approval.
Document allowed actions, prohibited actions, data scope, time and cost budgets, and an accountable business owner. An agent should not create its own authority merely because a tool is technically available.
Place policy enforcement outside the model
A tool interface should declare typed inputs, role requirements and expected side effects. Validate arguments and permissions in an independent execution layer. Separate read tools from write tools and use scoped credentials. A language model proposing an action is not proof that it is authorised.
For consequential actions, display the proposed operation, destination and material fields to a reviewer. Recheck authority when the approval is used, especially if the underlying state or request has changed.
Make recovery a first-class feature
Use idempotency keys where duplicate operations would create problems. Bound retries and distinguish safe retry from uncertain execution. If a write request times out after submission, reconcile the external state rather than sending the action again blindly.
Define terminal states for success, denial, timeout and manual escalation. Record the reason for each transition. Human reviewers need sufficient context to take over without reconstructing the entire conversation.
Measure usefulness and control together
A workflow may finish quickly while generating incorrect or unauthorised outcomes. Monitor completed eligible tasks, approval delays, incorrect action proposals and policy violations. Test tool output injection, ambiguous goals, unavailable services and duplicate requests. Use trace evidence to improve orchestration and controls.
Apply the approach
A fictional service agent can read a ticket, draft a status update and request approval for a write. It receives a customer-record change request that exceeds its approved role. The expected behaviour is to stop before calling the write tool.
Permitted within assigned scope.
The role requires independent approval.
Review or manual handling is required.
Put the approach into practice
- 01Map workflow states and authority.
- 02Define typed tools and least-privilege access.
- 03Test denied actions, retries and ambiguity.
- 04Review traces and maintain a recovery runbook.
Frequently asked questions
Are multiple agents always better?
No. Add agents only when distinct roles or independently managed tasks improve the outcome enough to justify coordination cost.
Can a human approval be reused?
Only within its defined scope, expiry and unchanged action context. Reconfirm if material details change.