The Agent Is Right And Still Too Slow: Latency In An AI Workflow
Most agent complaints are not about accuracy. They are about waiting. Where the time actually goes, and how to design a latency budget that fits the task.
A support team gets an agent that drafts replies to customer emails. The drafts are good. The tone is right, the facts check out, the escalation logic works. Two weeks later the team has quietly stopped using it, and when someone asks why, the answer is not about quality: “it’s slower than just writing the reply myself.”
That verdict is usually correct, and it is usually a design problem rather than a model problem. The agent produces a draft in forty seconds. A person who knows the product writes the same reply in thirty. The automation is accurate, supervised, and pointless.
Latency is the most under-designed property of AI workflows, because it is invisible in the demo. A demo is one request, watched by someone curious about the output. Production is a queue of requests where the person waiting has other work to do and a habitual way of doing this one. If the agent is not faster than the habit, it does not get used.
Where the time actually goes
An agent’s elapsed time is a stack of waits, and they compound.
There is queue time: how long the task sat before a worker picked it up. There is retrieval: searching an index, fetching documents, reranking results. There is the model itself, sometimes several calls in sequence — classify, then retrieve, then draft, then check. There are tool round-trips to other systems, each with its own latency and its own tail of slow responses. And if a human reviews the output, there is the review queue, which is often the largest number in the whole pipeline and the one nobody measures.
Five sequential model calls at four seconds each is twenty seconds before any tool latency, and sequential calls are the default when each step depends on the previous one’s output. This is the mechanical reason agentic workflows feel slow: the model is not slow per call, but the architecture multiplies calls. Every extra reasoning step you add for quality adds its full latency to the critical path.
Perceived time is not elapsed time
People tolerate long waits when they can see progress and resent short waits when they cannot. A forty-second blank screen feels broken. A forty-second task that says “reading the thread, checking the order, drafting” feels like work happening.
Three things buy more patience than any optimisation:
- Acknowledge immediately. The moment work is accepted, say so. Silence is the only state users interpret as failure.
- Show the steps, not a spinner. Named stages tell the user the system is doing something specific, and they make a stall diagnosable — “stuck on order lookup” is a support ticket you can act on.
- Stream what is ready. First tokens in under a second change the feel of a chat interface entirely, even when total completion time is unchanged.
None of this reduces compute. It changes whether the wait is acceptable, which is the actual requirement.
Decide the shape before tuning the model
The useful question is not “how fast is the model” but “does this task need an answer now”. That gives three shapes, and picking wrong is expensive:
Synchronous. The person is waiting and will not do anything else. Chat, search, a field being filled in a form. Budget: seconds, and the design must degrade visibly when it exceeds them.
Asynchronous with notification. The person submits and leaves. Drafting an email reply, summarising a document, preparing a quote. Budget: minutes, and the interface must not pretend to be synchronous. A button that blocks for ninety seconds is an asynchronous task wearing the wrong clothes.
Batched. Nobody is waiting on a specific item; work runs on a schedule. Overnight reconciliation, weekly reports, bulk classification. Budget: hours, with the only requirement being that it finishes and reports.
Most disappointing agent deployments are asynchronous tasks built as synchronous ones. The fix is not a faster model. It is a queue, a notification, and a UI that stops holding the user hostage.
Where to cut time honestly
Once the shape is right, the optimisation list is short and mostly unglamorous:
- Parallelise independent work. Retrieval for three different questions does not need three sequential round-trips. Fan out, join once.
- Use a small model for routing. Classification and intent detection rarely need the same model as the final generation. A fast model deciding where the work goes removes a slow call from every request.
- Cache what does not change. System context, product documentation, and user profile data are stable across calls within a session. Re-fetching them per step is pure latency.
- Cap the loop. Agents that can call tools indefinitely will occasionally do so. A maximum step count is both a cost control and a latency ceiling.
- Retrieve fewer, better candidates. Reranking two hundred chunks to answer a question with three is a slow way to be thorough.
What not to do: shrink the output, drop verification, or skip retrieval to hit a number. That trades a measurable wait for an unmeasurable quality loss, and the quality loss surfaces later as a trust problem, which is harder to fix than latency.
Timeouts are a promise
Every step needs a deadline, and the deadline needs a defined outcome. A tool call that hangs should not leave the task “in progress” for an hour — it should fail into an escalation with the reason attached.
There is a trap here that connects to a much worse failure. A timeout that triggers a retry can cause the same action to happen twice, which is why idempotency belongs in the design before you shorten any deadline. A fast system that occasionally double-sends is worse than a slow one that does not.
Measure it the way you measure quality
Latency instrumentation is cheap and almost nobody does it: p50 and p95 for each stage, queue wait separated from work time, and a count of tasks that escalated because of a timeout rather than a judgement call. Those numbers sit naturally beside the four operational metrics most teams already track, and they answer the question the business actually asks: how long does a task take, end to end, on a normal day and on a bad one.
Watch the tail, not the average. Users do not experience the mean; they remember the request that took four minutes.
Design backwards from the person waiting
Take the task and ask how long a competent person would accept to wait for it, given what they would otherwise be doing. A chat reply: seconds. An email draft: a couple of minutes, if they can walk away. A weekly report: nobody cares, as long as it is there on Monday.
Then design to that budget — shape, streaming, parallel calls, deadlines — and treat the model as one component with a cost, not the whole system. Latency is a product decision that gets mistaken for an engineering one, and it is the reason good agents get abandoned. If a team already has a faster habit than your agent, that budget is worth setting before the build rather than after the complaints — it is part of how we scope work on our services page.
Want this running in your business?
Start with an automation audit — we map the highest-value workflows and show you what an agent can take on.
Book an Audit