ai-resilience
JSON →Axios retry++ primitives for resilient AI and backend systems. Version 0.3.1 provides smart HTTP retries (exponential backoff, jitter, status code handling), semantic retry for AI responses (JSON repair, Zod validation, empty/refusal detection), provider fallback, circuit breakers, and distributed coordination via Redis. TypeScript-first, ships types. Differentiators: handles both HTTP failures and AI content failures, offers distributed retry coordination, telemetry hooks.
Resources
packageai-resilience ↗