Writing / Tag / 8 of 76
Latency
Every essay tagged Latency, newest first.
An agent is slow for structural reasons, not model reasons. It calls one tool, waits, then calls the next. It sits idle during every network round trip. It resends the whole prompt and pays full prefill time on each step. It makes the user stare at a spinner for twenty seconds while real work happens out of sight. Each of those is fixable without touching the model, and the essays under this tag take them one at a time.
Some of the fixes are about actual latency: parallel tool execution, speculative execution, prefix caching, a semantic cache. One is about perceived latency, streaming steps and tokens as they land so the same slow agent feels fast. The voice agent essay covers the hardest version, where dead air is measured in hundreds of milliseconds.
Start with parallel tool execution, the simplest change with the largest effect. Then streaming agent progress for the user-facing side, and speculative tool execution once you are ready to borrow branch prediction from CPU design.
September 2026
Your Agent Fetches the Same Row Ten Times a Session
A long-running agent calls the same read tool over and over inside a single session, paying full latency and quota for answers it already had a few turns ago.Your Agent Is Idle Most of the Time It's Working
A tool-using agent spends a surprising share of its wall clock doing nothing, just waiting for a network round trip while the model has already stalled.Your Voice Agent's Dead Air Is an Architecture Problem
A voice agent that goes silent for two seconds after the caller stops talking feels broken, and no faster model fixes it, because the floor is retrieval plus generation plus speech.
August 2026
Your Agent Makes the User Watch a Spinner for 20 Seconds
Your agent does real work before it answers: it searches, calls three tools, reasons about the results, then writes a reply.Your Agent Calls One Tool, Waits, Then Calls the Next
When an agent needs three lookups that do not depend on each other, running them one at a time makes the user wait for the sum of all three.
July 2026
You Pay Full Price for the Same 8,000-Token Prompt on Every Agent Step
An agent resends the same enormous system prompt, tool list, and history on every step, and without prefix caching you pay full input price and full prefill latency each time.Your Agent Answers the Same Question Fifty Times a Day
Most of what your agent gets asked, it has already answered.