Frameworks and Integrations Overview
title: Frameworks and Integrations Overview subtitle: Using OpenRouter with Popular Frameworks and Integrations headline: ‘Frameworks and Integrations | OpenRouter SDK and Library Support’ canonical-url: https://openrouter.ai/docs/guides/community/frameworks-and-integrations-overview og:site_name: OpenRouter Documentation og:title: ‘Frameworks and Integrations - OpenRouter SDK Support’ og:description: ‘Integrate OpenRouter using popular frameworks and SDKs. Complete guides for OpenAI SDK, LangChain, PydanticAI, and Vercel AI SDK integration.’ og:image: https://openrouter.ai/dynamic-og?title=Frameworks&description=Frameworks%20and%20SDK%20Support og:image:width: 1200 og:image:height: 630 twitter:card: summary_large_image twitter:site: ‘@OpenRouterAI’ noindex: false nofollow: false
OpenRouter integrates seamlessly with popular AI frameworks and SDKs. Choose your preferred framework below for detailed integration guides:
Available Framework Integrations
- Effect AI SDK - Integration with TypeScript Effect applications using the Effect AI SDK
- LangChain - Integration with LangChain for Python and JavaScript applications
- LlamaIndex - Integration with LlamaIndex for Python and TypeScript RAG applications
- Mastra - Unified interface for AI model access through Mastra framework
- OpenAI SDK - Direct integration using the official OpenAI SDK for Python and TypeScript
- PydanticAI - High-level interface for Python applications using PydanticAI
- Vercel AI SDK - Integration with Next.js applications using the Vercel AI SDK
Other Integrations:
- Aider - Integration with Aider coding assistant
- Cline - Integration with Cline coding assistant
- Kilo Code - Integration with KiloCode coding assistant
- Langfuse - Integration with Langfuse Observability and Tracing
- Roo Code - Integration with Roo Code coding assistant
- VSCode Copilot - Integration with VSCode Copilot
- Xcode - Integration with Xcode coding assistant
You can also find additional examples in our GitHub repository.