OpenAI Agents SDK
Builds agents with tools, handoffs, guardrails, and tracing. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in OpenAI Agents SDK.
What to enter
Section titled “What to enter”| Setting | Value |
|---|---|
| Base URL | https://api.exoticrouter.com/v1 |
| API key | Your key, from the API keys page |
| Model | An id such as anthropic/claude-sonnet-5-5, from the models page |
A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.
A first request
Section titled “A first request”An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.
import asyncio
from agents import Agent, OpenAIChatCompletionsModel, Runner, set_default_openai_client, set_tracing_disabledfrom openai import AsyncOpenAI
client = AsyncOpenAI(base_url="https://api.exoticrouter.com/v1", api_key="sk-er-YOUR-KEY")set_default_openai_client(client)set_tracing_disabled(True)
agent = Agent( name="Assistant", instructions="Answer briefly.", model=OpenAIChatCompletionsModel(model="anthropic/claude-opus-5-5", openai_client=client),)
async def main(): result = await Runner.run(agent, "Hello") print(result.final_output)
asyncio.run(main())Install openai-agents first. Tracing is off because it would send data to OpenAI’s servers.
The models it can use
Section titled “The models it can use”OpenAI Agents SDK speaks the OpenAI API, which every text model in the catalogue answers: Claude, GPT, Gemini and the rest, each by its id.
The setting is described in OpenAI Agents SDK’s own documentation.
More frameworks and sdks
Section titled “More frameworks and sdks”- Vercel AI SDK: Connects model providers, tools, structured output, and streaming UIs.
- LangChain: Provides model integrations and abstractions for building agents.
- LangGraph: Orchestrates stateful agent workflows as graphs.
- LlamaIndex: Builds agents and retrieval applications over external data.
- Claude Agent SDK: Builds applications around Claude’s tool-using agent loop.
- Google Agent Development Kit: Builds, evaluates, and deploys agents with Google’s development toolkit.