If you need to hit multiple AI models without writing separate integrations for each provider, this SDK gives you one interface for 300+ models through OpenRouter. The callModel pattern handles the usual stuff: streaming, tool calls, multi-turn conversations with automatic tool execution. The tool system uses Zod schemas and lets you modify parameters between turns via nextTurnParams, which is handy for adaptive workflows. You also get cost controls and stop conditions to prevent runaway multi-turn loops. Worth noting it includes OAuth PKCE flow support if you're building user-facing apps rather than just internal tooling. Solid choice when you want model flexibility without maintaining a dozen different client libraries.
npx skills add https://github.com/openrouterteam/agent-skills --skill openrouter-typescript-sdk