effect-uai-multi-model-fallback

Official

Seamless multi-model fallback for AI workflows.

Authorbetalyra
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Use a multi-tier approach to fall back from a primary AI provider to secondary ones on retryable failures, reusing the same history and context.

Core Features & Use Cases

  • Multi-tier fallback: Try the primary provider first and automatically switch to the next tier on RateLimited or Unavailable errors.
  • History preservation: Reuses the same conversation state across tiers to maintain continuity.
  • Safe propagation: Non-retryable errors propagate to callers; tiers are exhausted gracefully.

Quick Start

Define your tiers (with model/provider details) and run the loop to automatically fall back when the current tier encounters retryable failures.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: effect-uai-multi-model-fallback
Download link: https://github.com/betalyra/effect-uai/archive/main.zip#effect-uai-multi-model-fallback

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.