Engineering, AI & Security

An Agent Cannot Own Your Exceptions

The agent forwarded the problem to operations. Who accepted it, which decision remains and how long is there to act? Handing work to a person must be part of the system.

By Josué Trindade Engineering & AI ~8 min

At 15:40, an agent tries to prepare a shipment. The carrier rejects the postcode and the order cannot proceed. The system emails operations, records the problem as forwarded and ends the task. At 17:00, the collection leaves without that box.

In this hypothetical example, automation detected a problem and produced an accurate message. What remained unclear was who needed to act, whether that person accepted the case and how long there was to preserve the delivery. The forwarded status concealed unfinished work.

That is where I would look for the boundary of delegation. An agent can organise information and perform authorised steps. The company still needs a responsible role to decide what happens when those steps are insufficient.

An exception is pending work with consequences

Calling everything an error simplifies technical logging but complicates operations. A temporarily unavailable connection may justify another attempt. A conflicting address requires information. A request outside commercial limits needs a decision. Repeating the same command does not necessarily resolve all three.

In an AI integration for business processes, I would distinguish a failed attempt from the case it leaves open. The attempt can end while the case retains its relationship to the order, the missing decision and the outcome not yet achieved.

The discussion of agent skills and automation scripts considers how to organise repetitive operations. The next question begins where that path stops: who handles work the automatic process could not complete?

Assigning a role requires knowing who covers it

Operations is a useful department name. It is insufficient if nobody knows who watches the queue that afternoon or who provides cover when that person is unavailable.

I would begin by defining the role responsible for each exception category. Then I would connect that role to actual coverage: who is available, during which hours, with what authority and which alternative applies when nobody is there. An application must not invent availability because it found a valid email address.

A small team may have one person covering several case categories. That does not require an elaborate hierarchy. It requires visible absence and an agreed response: suspend new promises, keep the request pending or activate an arranged alternative.

In enterprise software implementation, the connection between role and coverage deserves as much attention as the ERP integration. A system that knows every order state but cannot identify who can resolve a blockage is incomplete.

Notified, accepted and resolved are different states

Google SRE’s incident-management guidance describes handing over responsibility with explicit acknowledgement. I would adapt that principle to a business case without treating every incorrect address as an infrastructure emergency.

For our shipment, the application could distinguish:

Case state What we know What we cannot yet assume
Open A blockage has been identified Someone has seen it
Assigned A role and coverage are specified The person has accepted
Accepted A person owns the next decision The order can proceed
Being resolved An identified action is underway The action has succeeded
Resolved The defined outcome is confirmed Other problems have disappeared

These labels are a design proposal rather than a universal model. What matters is the knowledge added by each transition. An email delivery receipt does not equal case acceptance. Acceptance does not demonstrate that the address was corrected.

The deadline follows the decision that can still change the outcome

The example collection leaves at 17:00. That does not mean the team can wait until 16:59. Someone may need to contact the customer, obtain a correction and prepare the shipment again.

If operations establishes 16:15 as the last useful decision point, that boundary should guide the handover. The deadline should identify its origin and what happens when it is missed. Adding forty-eight hours to every case because it is easy to configure is insufficient.

I would also separate time to accept from time to resolve. Someone may accept promptly and discover that an external response is required. The case stays open, with the dependency and next check identified, rather than disappearing because its owner field is filled in.

Once the useful deadline is unreachable, the decision changes: inform the customer, reschedule collection or cancel according to operational rules. The agent should not keep presenting the original delivery promise as though the blockage never occurred.

A handover must preserve what has already happened

The recipient needs the objective, confirmed state, last attempt and uncertainty preventing progress. They also need to distinguish what the agent observed from what it merely inferred.

A useful summary would say: carrier rejected the postcode; label not issued; customer not contacted; decision needed by 16:15. A confident paragraph saying the team is resolving the shipment conveys less and may imply action that has not begun.

I would retain references to relevant records rather than copying entire conversations across every channel. The queue must respect process permissions, particularly when cases belong to different companies or customers. Receiving an alert should not grant access to the application’s entire information set.

A shift change must not erase ownership

If the person accepting the case finishes their shift before the decision, the transfer should identify the recipient, remaining work and acknowledged handover time. Merely changing a group name allows both shifts to assume the other is handling it.

In the application, I would protect assignment against competing changes. Two people opening the same case should not unknowingly believe they each have exclusive authority to perform incompatible actions. A change of owner should be recorded and invalidate old commands when those commands are no longer permitted.

This does not mean attaching someone to a problem indefinitely. The organisation must define workable cover when a person becomes unavailable. The system should expose an unaccepted handover and apply that alternative rather than converting absence into administrative silence.

A technical queue does not replace a decision queue

Amazon SQS documentation on dead-letter queues describes isolating messages that were not processed successfully so they can be investigated. That separation helps diagnose execution; it does not, by itself, assign the business decision to a person.

I would therefore avoid measuring exception resolution solely through a shrinking technical queue. A message may leave because it was processed again, transferred or deleted. The shipment case should close only when it meets the defined outcome, such as confirmation of a valid label or a documented decision not to ship.

Google SRE’s monitoring chapter also recommends reserving interruptions for situations where useful action is possible. I would apply that criterion to the channel: a monitored digest can serve work without urgency; a blockage approaching its deadline needs different treatment.

Human capacity is part of automation’s limit

Imagine twelve cases requiring twenty minutes each. That is four hours of work. If one person also receives five similar cases per hour, one hundred minutes of work arrive during every available hour. The queue grows even if every notification is read immediately.

This is only a simplified scenario. It shows that better routing does not create capacity. I would track unaccepted cases, the oldest cases, endangered deadlines and reopenings after supposed resolution. A low average handling time can conceal the case that has already missed collection.

When demand exceeds coverage, the response may involve limiting new automated tasks, fixing a recurring cause or increasing decision capacity. Another notification to the same group does not resolve the imbalance.

Fewer manual cases can mean harder decisions

One possibility I would include in planning for 2027–2030 is that agents resolve more simple cases while leaving people requests with contradictory information, incompatible commitments or insufficient authority. The share needing human intervention falls while the average difficulty of that intervention rises.

In that scenario, I would not size the team solely by incoming case count. I would also measure the time and expertise needed to decide. The twenty-minute scenario would cease to be a useful approximation if the mix of problems changed.

This is a possible development rather than a forecast of job reductions. Its software-design consequence is concrete: the team needs access to each case’s dependencies, authority and history. An inbox displaying only the agent’s summary may be insufficient for the work that remains.

The rehearsal should include an unavailable person

Before expanding the process, I would simulate a delivered email with no acceptance, an absent recipient, simultaneous acceptances and an incomplete shift handover. I would also check a missed deadline and an automatic attempt finishing after manual resolution. These are proposed exercises, not measured results.

An operational application should explain who owns the next step and what it will do if that response never arrives. Between 2026 and 2030, if agents perform more work in parallel, this ability may matter more than an elegant conversation with the model.

Start with an exception that currently ends at email sent. Follow it to the actual decision. The first point where nobody knows who should act is an unresolved requirement in your system.

[+] On this page 17 topics ▼
FAQ · Common Questions

Frequently Asked Questions

Does sending an alert transfer responsibility for an exception?

No. Sending proves an attempt to notify someone. The application should distinguish that from acceptance by a person or role with defined coverage, and preserve an escalation path when nobody accepts.

Does every agent exception require an urgent call?

No. Choose the channel according to impact, available time and the required decision. A monitored queue can serve work that can wait; a commitment approaching an irreversible point may require immediate intervention.

Can an assigned case close automatically?

Yes, if a verifiable rule recognises resolution. Receiving a message, retrying an attempt or changing the owner does not by itself demonstrate that the business outcome was achieved.

Start your project

Need a website that earns trust, ranks in search, and gives your business a stronger digital presence? Start the conversation here.

Official sources used on this page