effect-ai-provider

Constructs manageable, swappable AI service layers for unified use.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/front-depiction/claude-setup --skill effect-ai-provider
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-ai-provider
Source: https://github.com/front-depiction/claude-setup/tree/main/skills/effect-ai-provider
Command: npx skills add https://github.com/front-depiction/claude-setup --skill effect-ai-provider

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables seamless configuration and composition of AI provider layers across Anthropic, OpenAI, OpenRouter, Google, and Amazon Bedrock using Effect's @effect/ai ecosystem. It centralizes model selection, API key handling, and runtime overrides to build resilient, multi-provider AI applications.

Core Features & Use Cases

  • Multi-provider setup: switch between providers at runtime without code changes.
  • Config management: securely manage API keys and model configuration with runtime overrides.
  • Model abstraction: unify provider interfaces for chat, embeddings, and language tasks across providers.

Quick Start

Create a provider layer for a chosen model, wrap it with runtime overrides, and provide credentials via Config.redacted. Then merge multiple provider layers if needed and run your effect program.

Frequently Asked Questions about effect-ai-provider

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch between multiple AI providers at runtime without changing code?

Switching AI providers at runtime involves configuring a provider-layer pattern that abstracts model interfaces. This approach enables dynamic switching between Anthropic, OpenAI, and others by applying runtime overrides to your configuration.

What is the best way to securely manage API keys for multi-provider AI applications?

Securely managing API keys requires using Config.redacted to provide credentials to your provider layers. This centralizes key handling and applies runtime overrides to keep sensitive data protected across different language models.

Does Effect's AI ecosystem support unifying chat and embedding interfaces across providers?

Yes, Effect's AI ecosystem supports model abstraction to unify provider interfaces for chat, embeddings, and language tasks. This abstraction works across Anthropic, OpenAI, OpenRouter, Google, and Amazon Bedrock successfully.

How to compose multiple AI provider layers for a single application?

Composing multiple AI provider layers requires creating individual layers for each chosen model, wrapping them with runtime overrides, and merging them using Effect's Layer and Config APIs to run your effect program.

Can I use runtime overrides to change model selection dynamically in Effect?

Yes, you can use runtime overrides to change model selection dynamically in Effect. The provider-layer pattern centralizes model configuration, allowing you to update selections without altering the core application code.