-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Feature] Vercel AI SDK adapter for 60+ provider support #106
Copy link
Copy link
Open
Labels
P2Community contributions welcome — good first issuesCommunity contributions welcome — good first issuesenhancementNew feature or requestNew feature or requestsource:analysisSource: systematic gap analysisSource: systematic gap analysissource:feedbackSource: external user feedback (GitHub/Twitter/Reddit/Discord/forks)Source: external user feedback (GitHub/Twitter/Reddit/Discord/forks)
Metadata
Metadata
Assignees
Labels
P2Community contributions welcome — good first issuesCommunity contributions welcome — good first issuesenhancementNew feature or requestNew feature or requestsource:analysisSource: systematic gap analysisSource: systematic gap analysissource:feedbackSource: external user feedback (GitHub/Twitter/Reddit/Discord/forks)Source: external user feedback (GitHub/Twitter/Reddit/Discord/forks)
Add an optional AI SDK adapter so users can plug any of AI SDK's 60+ providers into OMA agents.
Design
AISdkAdapterclass implementingLLMAdapteradapterfield onAgentConfig-- when set, skipcreateAdapter()factoryaias optional peer dependency (same pattern as@google/genai)provider: 'anthropic'/provider: 'openai'unaffectedUser-facing API
Mixed teams work naturally -- some agents use AI SDK providers, others use native adapters.
Scope
src/llm/ai-sdk.ts-- AISdkAdapter (chat + stream)adapter?field on AgentConfig/CoordinatorConfigContext
Raised in #25 by @chocofoxy. Instead of manually verifying OpenAI-compatible providers one by one, this adapter gives instant access to all AI SDK providers (OpenAI, Anthropic, Google, DeepSeek, Mistral, Groq, Qwen, Moonshot, and 50+ more).