Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Route Anthropic SDK calls through the orq.ai AI Router. Access fallbacks, caching, load balancing, and cost tracking for all Claude models.
Observability
Instrument your agents with OpenTelemetry using the SDK’s hooks system to capture traces for every agent turn and tool use.
AI Router Beta
Route your Claude calls through the AI Router with a single base URL change. Zero vendor lock-in: always run on the best model at the lowest cost for your use case.
The Claude Agent SDK (claude-code-sdk) drives the Claude CLI as a programmable agent supporting multi-turn conversations, tool use, and MCP servers. Use the SDK’s built-in hooks system to attach OpenTelemetry instrumentation at key execution points. Every tool invocation becomes a span, and the full agent workflow is captured as a trace in orq.ai without modifying your agent logic.
The Anthropic SDK is the native client for Claude models. Connect it to Orq.ai’s AI Router with a single base_url change and no modifications to your existing agent logic.
import osimport anthropicclient = anthropic.Anthropic( api_key=os.environ["ORQ_API_KEY"], base_url="https://my.orq.ai/v3/router/",)with client.messages.stream( model="anthropic/claude-sonnet-4-6", max_tokens=1024, messages=[{"role": "user", "content": "Write a haiku about AI routing."}],) as stream: for text in stream.text_stream: print(text, end="", flush=True)
Route Claude Code through the AI Router using environment variables. Integrate Claude Code with our MCP to access 20+ tools and actions on the platform.
Claude Desktop
Connect your Orq.ai workspace to Claude Desktop using the MCP integration.