Quarantine the tool result: a code-level defence for injected agent output

You can’t make a model reliably ignore instructions hidden in a web page or ticket, but you can make sure that when it fails, the damage is small. Three patterns you can apply today: wrap every tool result in a typed envelope the planner never treats as instructions, strip authority from tools once tainted data is in context, and keep a replay harness of injected payloads in CI so the defence is tested instead of assumed.

November 20, 2026 · 7 min · 1462 words · Loop & Retry

The timeout that might have worked: how to retry when you don't know if the first call landed

A timeout is not a failure. It’s an unknown, and retrying an unknown is how agents double-send emails and double-charge cards. A practical way to handle it: sort every tool into one of three classes, treat a timeout as a fourth outcome that needs its own branch, verify by reading the effect before you write again, and fall back to a reconciliation record when the tool gives you nothing to read.

November 13, 2026 · 7 min · 1435 words · Loop & Retry

Multi-agent livelock: when a critic and an executor politely hand the task back and forth forever

Livelock is the multi-agent failure that looks like diligence. A critic flags something, an executor fixes it, the fix trips a different check, and the crew spends real money making no net progress while every individual step looks correct. Why a per-agent loop cap cannot see it, the three shapes it takes (oscillation, escalation spiral, and the polite deferral loop), how to detect it from a hash of shared state instead of from the transcript, and a crew-level budget that turns an endless loop into a finite, reportable outcome.

November 6, 2026 · 13 min · 2624 words · Loop & Retry

Observability for multi-agent systems: instrumenting for split-brain, goal drift, and context drift

Every coordination failure in a multi-agent system is a diff between two agents — and per-agent monitoring cannot express a diff. You can have complete, exception-free telemetry on every agent in a crew and still be structurally blind to split-brain, goal drift, and context drift, because each one lives in the comparison your telemetry has no join key for. What to actually instrument for each of the three, which probes are free and which cost a model call, and how to sample a crew for belief reconciliation without paying O(n) extra calls at every checkpoint.

October 16, 2026 · 10 min · 1939 words · Loop & Retry

Context drift: when a multi-agent crew's shared beliefs about the goal go stale

A cache that’s never invalidated doesn’t know it’s stopped being correct — it just keeps serving the value it read at write time. Give a multi-agent crew a shared objective instead of a shared cache and you get the identical failure with none of the tooling that usually catches it: every agent read the goal once, at spawn, and nothing tells it when that copy goes stale. This is multi-agent context drift — distinct from goal drift (the target itself moving) and split-brain (the crew’s facts about state disagreeing) — a concrete policy-escalation failure, the mechanism, and what to instrument before a customer hears a promise nobody’s operating on anymore.

October 9, 2026 · 9 min · 1786 words · Loop & Retry

Goal drift: how a multi-agent crew ends up solving a different problem

Loop drift is one agent staying busy without getting closer to done. Hand the same failure to a crew and every agent stays busy, produces defensible work, and the team’s collective objective still ends up somewhere your original request never sent it — a genuine multi-agent goal drift failure mode, not a mistake in any single agent’s reasoning. A concrete feature-build failure, the four things that make a goal decay one handoff at a time, and what to measure so a ‘done’ check compares against the original ask instead of the nearest upstream spec.

October 2, 2026 · 8 min · 1525 words · Loop & Retry

Split-brain: when multi-agent memory consensus quietly fails

In distributed systems, split-brain is what happens when a partition convinces two halves of a cluster that each is the sole leader, and both start accepting writes. Multi-agent systems build the identical topology every time more than one agent reads and writes a ‘shared’ memory store with no lock, no leader, and no version check — and the failure that follows is a genuine multi-agent memory consensus problem, not a bug in any one agent. The mechanism, a concrete incident-response failure, and what to instrument before it costs you a duplicate action.

September 25, 2026 · 8 min · 1585 words · Loop & Retry

The cost of undoing: partial failures and the cleanup bill

An agent writes to three systems, then fails on the fourth. The first three writes are now orphaned in a partially-succeeded state. Rolling them back costs more than the original operation — not in tokens, but in human time and coordination overhead. This is the cleanup bill: the hidden cost of partial failures that retry logic doesn’t touch.

August 21, 2026 · 9 min · 1874 words · Loop & Retry

The cost of finding a failure after the customer finds it

An agent’s failure isn’t expensive because it failed—it’s expensive because you found out about it from a customer complaint instead of an alert. Detection latency multiplies the cleanup cost by an order of magnitude. This post explores the arithmetic of failure-finding, why automated detection is worth the infrastructure cost, and how to choose detection strategies.

August 17, 2026 · 10 min · 2004 words · Loop & Retry

The agent that trusted a bad API: silent failures and validation debt

An agent called an API, got a syntactically valid response, trusted it, and built three wrong decisions on top of it. No error was thrown. Every step succeeded locally. The cascade cost was 15× the original bad call — and all of it was preventable by a two-line validation check. This is validation debt: paying the cost of skipped checks in compounding failure downstream.

August 13, 2026 · 10 min · 2087 words · Loop & Retry