OpenRouter Agents
StaleDescription
OpenRouter Agents is OpenRouter's platform capability for multi-model agent use cases, focused on routing, tool calling, and unified access layers.
Key Features
- Unified access layer for multiple LLM providers through a single API
- Intelligent model routing based on task requirements and cost
- Built-in tool calling support across all supported models
- Seamless switching between models without changing application code
- Developer-friendly TypeScript SDK with comprehensive documentation
Use Cases
Categories
Quick Start
1. Sign up at openrouter.ai and get your API key. 2. Install the SDK: npm install @openrouter/agents or via your preferred package manager. 3. Set the OPENROUTER_API_KEY environment variable. 4. Import the client and configure your model routing preferences. 5. Start making requests through the unified API β OpenRouter handles provider selection and failover automatically.