cd /news/ai-agents/a-timeout-does-not-tell-you-whether-… · home › topics › ai-agents › article
[ARTICLE · art-158524] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

A timeout does not tell you whether the tool ran

A developer building AMW (Agent Middleware, Preview) has designed the system so that a lost tool response after a send is recorded as delivery_uncertain rather than retried automatically, keeping the state visible for a person or tool owner to resolve. Under the contract, a retry with the same key returns the original receipt instead of dispatching again, while a new key counts as a new request — a deliberately narrower guarantee than exactly-once. The developer is inviting users running agents against MCP tools to test the open-source project at github.com/agentmiddleware/agent-middleware.

by read1 min views1 publishedOct 27, 2026

When an agent calls a tool and the response never arrives, you know one thing: you stopped waiting. You do not know whether the tool did the work.

That gap is where duplicate emails, duplicate tickets and duplicate charges come from. The retry is reasonable. The missing information is the problem.

In AMW (Agent Middleware, Preview), which I am building, a lost response after the send is recorded as delivery_uncertain. AMW never sends that call again on its own. It keeps the state visible so a person or the tool owner can decide.

A same key retry returns the original receipt instead of dispatching again. A new key is a new request. That is the whole contract, and it is narrower than exactly once on purpose.

If you run agents against MCP tools, I would like you to try to break it: github.com/agentmiddleware/agent-middleware Chris

── more in #ai-agents 4 stories · sorted by recency
── more on @amw 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-timeout-does-not-t…] indexed:0 read:1min 2026-10-27 · —