Agent loop
A repeat cycle in which an agent selects a step, acts, observes the result, and decides what to do next. Limits on retries, time, and approvals keep a routine job from running indefinitely.
Sources checked
A loop has a goal and a stop
An agent can choose an action, observe the tool result, and decide if another step is needed. It might search an approved help collection, evaluate the first result, try a second approved source, and stop with a draft and evidence. Define the desired stopping point before using the loop.
For a service desk triage assistant, finishing could mean a proposed category, a supporting source, and a reason the case is ready for staff review. A missing source could instead produce a short note for the queue owner. Both are successful ways for the loop to end.
Set useful limits
Choose a small number of attempts, a clear total time or spend bound, and a rule for repeated identical tool errors. If a tool reports success, use a receipt or stable identifier before attempting the same action again. For an important change, pause for approval and display the exact item and proposed change.
Before rollout, simulate an unavailable source, a partially completed step, and an approved task that finishes on the first try. Check the log for the stop reason and whether prior work was preserved. The reviewer should be able to resume a valid case without needing to reconstruct or repeat early actions.
Review the work afterward
Count completed jobs, paused jobs, and the reasons for retries. If most jobs hit their limits, tighten the goal or improve the source. Keep simpler requests on a straightforward path and ask the operator who maintains the allowed transitions.
Try this during rollout
Use a simple worksheet with one row per step. Record when it began, what the tool reported, which operation is now complete, and what the system will do next. Work out what a human can see if automation stops during a partially complete request. A receipt and a follow-up owner let the process continue without repeating unrelated work. On the first review, inspect a completed sample and a paused one side by side. Decide whether any part of the loop should become a fixed rule.
Look at the retry policy alongside the task time. An operator should understand whether the next action represents a retry or a new request. Repeating an operation can be harmless for a search and costly for a request that changes a customer record, so the step should know how to confirm completion independently.
