Agentic AI System Design / Reference / Reference

Failure taxonomy

The failure classes an agentic system must route deliberately.

Use this taxonomy for incident labels, eval tags, dashboards, and interview failure analysis.

CategoryFailureExamplePrimary control
ProductWrong problemAgent automates a rare task with no user valueOutcome metrics; agent-vs-workflow decision
AuthorityExcessive agencyModel can publish or refund without approvalPolicy engine; least privilege; HITL
ControlUnbounded loopRepeated search with no evidence gainStep/cost/time limits; no-progress detector
ControlEarly stopMandatory source never checkedState preconditions; required-tool eval
SchemaMalformed decisionInvalid action or argumentsStructured output; parser/repair bound
ToolWrong toolExternal write selected instead of readTool-selection eval; risk policy
ToolDuplicate effectEmail or charge repeated after retryIdempotency; reconciliation
ToolUncertain effectTimeout after downstream may succeedEffect-status query; do not retry blindly
ToolDependency degradationRate limits and timeoutsBackoff, jitter, circuit breaker, fallback
ContextMissing evidenceRelevant authorized source not retrievedRetrieval eval; mandatory-source policy
ContextStale evidenceOld sanctions result reusedFreshness policy; invalidation
ContextContext overflowImportant policy prunedBudgeted assembly; priority and compaction
ContextConflicting evidence hiddenSummary selects one source silentlyConflict ledger; preserve uncertainty
GroundingUnsupported claimFinal packet invents ownership factClaim-level provenance; validator
SecurityDirect injectionUser asks to ignore approvalPolicy outside prompt
SecurityIndirect injectionPDF instructs tool exfiltrationInstruction/data separation; least privilege
SecurityCross-tenant accessWrong tenant record retrievedIdentity and data-layer scope
SecuritySecret leakCredential appears in prompt/traceSecret isolation and redaction
SecurityUnsafe executionGenerated code reaches host/networkSandbox and egress controls
MemoryPoisoningMalicious fact retained across casesGoverned writes, provenance, review
MemoryStalenessOld preference overrides current instructionScope, expiry, conflict resolution
RuntimeLost progressWorker crash restarts full caseDurable workflow/checkpoints
RuntimeReplay nondeterminismDeploy breaks old workflow historyVersioning and replay tests
RuntimeStuck waitCallback or approval never arrivesDurable timer, SLA, escalation
RuntimeBad cancellationNew work continues after user cancelsCancellation propagation and reconciliation
HumanApproval mismatchApproval applies to older artifactBind decision to immutable version
HumanUnauthorized approverWrong role approves actionAuthenticated RBAC/ABAC and audit
EvalOutput-only blind spotGood answer hides unsafe trajectoryTrace grading and policy eval
EvalOverfit golden setPrompt tuned to tiny casesHoldout, incident, production sample
EvalBad judgeVague model score treated as truthCalibration and deterministic checks
ObservabilityMissing causalityCannot link model call to tool effectRun/trace/span/event schema
ObservabilityAggregate maskingSmall tenant is completely brokenSegmented metrics
EconomicsDenial of walletTool/model fan-out explodes spendBudgets, admission, backpressure
ScaleRetry stormOutage multiplies callsRetry budgets, jitter, circuit breaker
ScaleNoisy neighborOne tenant starves othersQuotas, weighted queues, bulkheads
DeploymentSilent driftProvider alias behavior changesVersion metadata, continuous evals
DeploymentUnsafe rolloutNew prompt reaches all trafficShadow, canary, progressive rollout
DeploymentIn-flight incompatibilityOld case resumes under breaking codeWorkflow versioning/safe points
GovernanceRetention failureDeleted case remains in vector indexData inventory and derived-data deletion
GovernanceAudit gapCannot prove who approved effectTamper-resistant audit trail

Incident label format

<layer>.<failure>.<scope>.<severity>

Examples:

context.stale-evidence.sanctions.high
runtime.uncertain-effect.publish.critical
security.cross-tenant.retrieval.critical
eval.output-only-blind-spot.release.high
scale.retry-storm.media-provider.high