Twenty-two bytes. That is everything the extraction pipeline returned: {"status":"ok","points":[]}. HTTP 200. Schema-valid. Zero atoms of content inside.
The scheduler logged completed. The monitor saw a 200 and moved on. The downstream agent — the one I had wired into sizing decisions for a restaking position — read an empty array, computed a zero-signal, and did nothing for eleven hours. No crash. No alert. Just a process behaving exactly as specified when it is fed nothing: returning nothing, on time, with a green checkmark.
I have been reading contracts since the 2018 ICO wreckage, when I spent six months in a dorm in Istanbul auditing early lending interfaces for reentrancy and submitting patches to GitHub repos nobody was watching. Eight years of P&L later, the failure that has cost me the most is never the revert. Reverts are loud. Reverts point at the line number.
The expensive failure is the one that returns true and hands you an empty buffer.
The code doesn't panic when it has nothing to say. That's the whole problem.
Where the pipe actually breaks
Here is the anatomy, because "the AI agent failed" is a useless sentence. This one failed in a specific place, and the failure was schema-shaped, not logic-shaped.
Four candidates, ranked by how often I have hit them:
- The body was never fetched. Anti-bot page, login wall, empty
body, 200 status. The extractor faithfully summarizes nothing. - The split step timed out. Template returned, tokens never filled. You get the skeleton of a response — field names present, arrays empty.
- Serialization truncated. Something upstream capped output length mid-object; the parser salvaged a valid prefix.
- The model call was filtered or hit a length cap. Some providers return
finish_reason: "content_filter"with an empty completion and a 200.
Four different root causes. One identical symptom. That is why prompt engineering does not fix this — you are debugging a transport layer with a natural-language tool.
The diagnostic is two commands I run before I read a single word of the output:
wc -c article_raw.txt # is the input real?
jq '.points | length' stage1.json # is the output real?
If wc -c returns 0 or 340, you have a fetch problem and no amount of model quality saves you. If the raw body is 40KB and .points | length is 0, your split step is broken. Two numbers. They separate "the agent is dumb" from "the agent never got fed," and I have watched teams burn two sprints rewriting prompts over a crawler that was returning Cloudflare challenge pages.
Then count the voids:
jq '.. | arrays | select(length==0) | length' stage1.json
Empty arrays are not neutral. They are verdicts. If your schema says "points": {"type":"array"} and nothing else, an empty array passes validation. JSON Schema does not require minItems unless you write it. Your validator was doing its job perfectly — it was just asked to check shape, not substance.
The EVM taught me this in 2018
Here is the part that should make any Solidity reader uncomfortable: this is not an AI problem. It is an EVM problem wearing a new jacket.
(bool ok, bytes memory ret) = target.call(data);
require(ok); // <-- this is the bug
Call an address with no code and ok is true, ret is empty. Success. Nothing happened. The 2018-era version of this bug emptied lending pools: check success, skip the return-data length, and an attacker hands you a contract that returns nothing and you treat it as consent. It is why every SafeERC20 wrapper exists — because USDT returns no bytes on transfer and half the ecosystem assumed 32 bytes of true.
Now port it to agents:
result = agent.run(payload) # returns dict, status ok
if result.get("status") == "ok":
execute(result["signals"]) # signals == []
Same shape. Different decade. The require(ok) became if status == "ok". The empty returndata became the empty array. The bug survived the language change because the bug was never about the language — it is about trusting a boolean instead of checking cardinality.
The fix in Solidity is one line:
require(ok && ret.length >= 32, "silent-empty");
The fix in the pipeline is the same line in Python:
def gate(p, raw):
assert len(raw) > 2000, "fetch: body too small"
assert len(p["points"]) >= 3, "split: cardinality fail"
assert all(x.get("source") for x in p["points"]), "lines: unsourced"
assert p.get("title") and p.get("source"), "meta: missing"
Four assertions. Each one kills a specific failure mode from the list above. None of them require a better model, a bigger context window, or a single extra token of prompt. The gate is not intelligence. It's a floor.
I did not learn that from a benchmark. I built the same thing for my Flashbots agents in 2025 — $200,000 across a set of autonomous executors, 10,000+ trades, 98% "success rate." That 98% was a lie until I redefined success as coinbase transfer > 0, not simulation returned no revert. A bundle that reverts costs you gas. A bundle that silently no-ops costs you the opportunity, and the opportunity is the entire business. eth_callBundle will happily tell you a bundle is clean and pay you zero.
Where the bull market hides this
In a bull market, anyone can be a genius. TVL goes up, the APY prints, the drawdowns get bought, and every silent failure gets masked by beta.
This is why I read vault contracts before I read vault dashboards. A curator dashboard showing 11.4% blended yield on a restaking strategy tells you what the strategy claims it earned. It does not tell you how many underlying AVS task responses came back empty, how many oracle rounds got skipped, or how many times the rebalancer fired with an empty signal set and did nothing while the position drifted.
I ran a $100,000 stake across multiple AVSs on EigenLayer's early testnet in 2023 as one of the few female operators on that network. The 15% daily yield edge over the network average did not come from picking better AVSs. It came from latency, and from knowing when a task response was empty versus when it was absent. Those are different states. Empty means the operator answered and had nothing. Absent means the operator never answered. If your monitoring collapses both into "no data," you will overpay for dead infrastructure for months before you notice.
Restaking is leverage, but sleep is priceless — and the thing that keeps you awake is not the slashing event you can see coming. It is the eleven hours where everything read green and nothing executed.
Same rot runs through the tokenized-treasury complex. Three years of RWA storytelling, billions in "on-chain" AUM, and the settlement leg is still a bank API with a human on the other end. Those dashboards are extraction pipelines too: fetch a NAV, format it, render it. When the fetch step returns an empty object, the UI renders the last cached number and nobody files a ticket. Institutions do not need your public chain, and they especially do not need your frontend lying about a NAV that has not moved since Tuesday.
Cross-chain "verification" has the identical texture. LayerZero's security posture rests on an oracle and a relayer — two off-chain parties whose agreement is the proof. When people say "verified," they mean "two servers agreed," which is a boolean, not a cardinality. I have watched operators treat a true from that path the way my pipeline treated "status":"ok". Same trust assumption, different logo.
The contrary read
Everyone is optimizing the wrong layer. The 2026 AI-agent narrative is entirely about model quality — bigger context, better reasoning, tool-use benchmarks. Nobody is shipping assertion layers, and that is where the money actually leaks.
Here is the reframe: an agent's reliability is not measured by how often it produces output. It is measured by how often it refuses to.
A pipeline that returns empty and says so is worth more than one that returns empty and says ok. The first is a bug you fix in an hour. The second is a bug that compounds silently through every downstream decision until the drawdown reveals it.
Retail watches APY. Smart money watches null-rate, decode path, and returndata length. Alpha isn't in the prompt — it is extracted from the chaos of the transport layer, from the wc -c you ran at 3am before you trusted a single byte of what the model told you.
We don't need smarter agents. We need agents that fail loudly.
What I would check before allocating
Before you put a dollar behind any agent-driven vault this cycle, ask three questions. Does the pipeline gate on body length before inference? Does it assert minItems on every array it acts on? And when retrieval returns nothing, does the system halt, or does it degrade gracefully into a plausible-looking zero?
If the answer to the third is "gracefully," you already have your answer on the first two.
Trust the math, fear the hype, ignore the noise.