What problem does it solve?
Error recovery is the practice of handling failures gracefully in multi-agent workflows, ensuring that temporary errors, timeouts, or partial failures don't derail entire workflows. In production systems with external dependencies (AI models, APIs, network calls), failures are inevitable. This skill provides battle-tested patterns for:
- Timeout handling
- API failure recovery
- Partial success strategies
- User cancellation
- Missing tools
- Out of credits
- Retry strategies
With proper error recovery, workflows become resilient and production-ready.
Core Features & Use Cases
- Timeout handling: Detect and recover from long-running external model calls; allow retries or graceful fallback.
- API failure recovery: Handle 4xx/5xx and network errors with safe fallback and retry policies.
- Partial success strategies: Continue with available results and consolidate outputs.
- User cancellation handling: Gracefully stop workflows and save partial results for later resume.
- Retry and backoff: Implement exponential backoff and maximum retry limits.
Quick Start
Enable error-recovery patterns in your orchestration and configure a timeout and retry policy. For example, wrap external model queries with a 30s timeout and a 3-attempt retry.