#intermediate
Every post tagged "intermediate".
223 posts · showing 31–40
-
A 1% Flaky Tool Shouldn't Take You Down. Three Nested Retry Layers Will.
A tool that fails one call in a hundred is healthy. The retry logic wrapped around it is what turns a dependency's bad minute into a queue of hung user requests — and the load multiplier is at its worst exactly when the dependency is weakest.
-
Can You See the Raw Messages? The Question That Sorts Agent Frameworks
Every agent framework demos well. The one that survives your first 2am incident is the one that will hand you the exact bytes it sent to the model — and let you change them before they go.
-
A Two-Line Prompt Diff Is a Behavior Change. Here's the Regression Check It Needs.
A prompt edit has the blast radius of a code change and none of the safety rails — no compiler, no type error, no failing test. Six checks that turn a forty-second approval into a real regression gate.
-
A 5% Canary Mostly Samples Your Easy Tasks. Roll Agent Upgrades Out by Task Class.
Random traffic slices sample volume, but an agent's risk lives in the thin tail of long, tool-heavy, irreversible tasks. Here's how to build a rollout ladder that samples the danger instead.
-
"Done" Is Not a Handback: What a Worker Agent Should Actually Return to Its Supervisor
A worker agent reporting "completed" tells its supervisor nothing it can verify. Here is the handback shape that makes a fabricated result catchable by code instead of by a second model's opinion.
-
Your Tool Returned 4,000 Rows and the Agent Needed Three: Truncate, Paginate, or Summarize?
Most tool endpoints were written for a caller that can loop and discard. An agent reads the whole response in one gulp and keeps it forever — and the three ways of shrinking that response fail in completely different ways.
-
One 300-Second Timeout Tells You Nothing. Agents Need a Deadline Budget.
A run that dies at its ceiling with no attribution tells you nothing about which part was slow — and pushes you toward the laziest fix, raising the ceiling. Three nested clocks, an inherited remainder, and a reserved tail slice turn timeouts into a signal you can actually read.
-
Untrusted Text Doesn't Stay Untrusted: Where Provenance Gets Lost in an Agent Pipeline
An injection scanner that fires on the raw email won't fire on the tidy summary of it. Untrusted content gets laundered clean every time an agent rewrites it — here's where the taint disappears, and how to make it survive.
-
Append or Supersede? What to Do When New Information Contradicts Agent Memory
Most agent memory systems only know how to add. The moment a fact changes, the store holds both versions and the retriever picks whichever one scores higher — which is why a scheduling agent keeps booking a room that was decommissioned last month.
-
Retry, Repair, or Replan? A Recovery Ladder for When an Agent's Step Fails
Blind retry burns money on a call that will never succeed; premature replanning throws away correct work and produces a worse plan. The deciding signal isn't how bad the error looks — it's what the error proves false.