Our docs got a refresh! Check out the new content and improved navigation. For detailed API reference see our Python SDK docs and TypeScript SDK.
Description
Percival

Error Taxonomy

Complete list of errors Percival can detect

Percival can detect 20+ failure modes in agentic traces out of the box. These errors are organized into three main categories: reasoning errors, system execution errors, and planning and coordination errors.

Base error taxonomy

Here are the agentic errors that Percival can catch:

CategorySub-categoryError TypeBrief Description
Reasoning ErrorsHallucinationsLanguage-onlyFabricated content without using tools
Reasoning ErrorsHallucinationsTool-relatedInvented tool outputs or capabilities
Reasoning ErrorsInformation ProcessingPoor Information RetrievalRetrieved or cited information irrelevant to the task
Reasoning ErrorsInformation ProcessingTool Output MisinterpretationMisread or mis-applied a tool's result
Reasoning ErrorsDecision MakingIncorrect Problem IdentificationMisunderstood the overall or local task
Reasoning ErrorsDecision MakingTool Selection ErrorsChose an inappropriate tool for the job
Reasoning ErrorsOutput GenerationFormatting ErrorsProduced malformed code / data or wrong structure
Reasoning ErrorsOutput GenerationInstruction Non-complianceIgnored or deviated from the given instructions
System Execution ErrorsConfigurationTool Definition IssuesTool was mis-declared (e.g. search declared as calculator)
System Execution ErrorsConfigurationEnvironment Setup ErrorsMissing keys, permissions, or other setup problems
System Execution ErrorsAPI IssuesRate LimitingExceeded quota (HTTP 429)
System Execution ErrorsAPI IssuesAuthentication ErrorsInvalid or missing credentials (HTTP 401/403)
System Execution ErrorsAPI IssuesService ErrorsUpstream failure (HTTP 500)
System Execution ErrorsAPI IssuesResource Not FoundEndpoint or asset missing (HTTP 404)
System Execution ErrorsResource ManagementResource ExhaustionRan out of memory / disk / other resources
System Execution ErrorsResource ManagementTimeout IssuesModel timed out during execution
Planning and Coordination ErrorsContext ManagementContext Handling FailuresContext is not retained or used correctly
Planning and Coordination ErrorsContext ManagementResource AbuseA resource is unnecessarily used or called repeatedly
Planning and Coordination ErrorsTask ManagementGoal DeviationOrchestrator deviates from the intended plan
Planning and Coordination ErrorsTask ManagementTask OrchestrationAssignment of tasks to the wrong sub-agents

Custom error taxonomies

You can extend Percival's base taxonomy with domain-specific errors tailored to your application. This is especially useful for:

  • Domain-specific applications (medical, legal, financial, sales)
  • Compliance requirements (HIPAA, PCI-DSS, regulatory constraints)
  • Product-specific failure modes
  • Company policy violations

To learn how to create custom error taxonomies, see: Custom error taxonomies with Percival

On this page