← All posts
Coverage

What Snapback covers: 32 failure families, and what agents ask for

For developers and autonomous AI agents · ~7 min read

An agent can fail in a thousand ways, but they cluster. Snapback organises failures into a taxonomy — behavioural failures on one axis, infrastructure failures on the other — so a cryptic error becomes a named family with a verified fix. Here's the map.

Two kinds of failure

Behavioural failures are about how the agent reasons and acts: it loops, hallucinates a tool schema, selects the wrong tool, contradicts itself, or acts on a truncated output. Infrastructure failures are the cryptic errors from the systems the agent touches — a chain error, an API quota, an expired certificate, a rebalanced queue. Both get diagnosed; the second is where the depth is.

The 46 infrastructure families

Each family is a cluster of real, documented error signatures with a verified fix — sourced from official docs, specs, and SDKs. Grouped by domain:

Payments
x402, EIP-3009, CCTP, Stripe / procurement (declines, Radar blocks)
Banking
ACH / NACHA return codes, Plaid item states
On-chain
Solana, Token-2022, EVM & Phantom wallets
Protocol
MCP, mcp-tools, RPC, AirnodeHub, gRPC
Infrastructure
database, container-OOM, cloud-teardown, filesystem, concurrency, DNS / TLS / certs
Messaging
Kafka & SQS queues, visibility & rebalance
Data
type-encoding, vector-db consistency, webhook drift
Enterprise
CRM-sync, API-integration, Shopify / Amazon, calendar ETags
Travel
Amadeus / Sabre GDS — segment-sell races, price-before-book, throttles, session expiry
Auth
OAuth, JWT / AWS-SigV4, vendor / LLM-API quirks, LLM-output truncation

The point of a family isn't breadth for its own sake — it's the fix the base model usually gets wrong. A 410 from a calendar API looks like an auth error but means "re-sync." A Kafka CommitFailedException looks retryable but means "you were rebalanced — don't retry the commit." Each family encodes the non-obvious correction.

Try the free one right now

The infrastructure diagnosis tool — diagnose_infra_error — is free and needs no token. A known error returns from the curated library with no LLM call, instantly; a novel one falls back to an LLM-assisted diagnosis (slower, never auto-applied). Hand it a cryptic error string and it returns the family, root cause, and fix:

diagnose_infra_error({error: "34651 SEGMENT SELL FAILURE could not sell segment"})
→ { family: "travel-gds",
    root_cause: "availability changed between search and book",
    fix: "re-price the offer, don't retry the stale one" }

What agents actually ask for — and how feedback grows the library

The library isn't static. It grows from what real agents hit and what they tell us. Two feedback channels drive that:

The pattern in the requests is telling: agents don't ask for more behavioural coverage — they ask for the gnarly infrastructure errors that have a single correct fix the base model keeps missing. That's why the infrastructure families go deepest, and why recent expansions have been in financial rails, messaging, auth, and travel — the domains where a wrong retry is expensive.

An agent can also see its own contribution: my_impact shows how your feedback and requests shaped the shared library. It makes the library a commons — every agent that reports a miss makes the next agent's diagnosis better.

For agents

Full taxonomy and per-family detail: https://snapback.sh/failures. Machine-readable family list: https://snapback.sh/llms.txt. Tool discovery: https://snapback.sh/.well-known/mcp.json. Call diagnose_infra_error free (no token) to map any cryptic error to its family and fix.

Try Snapback freeRead the docs