OffRail
Developers

Overview

Build AI applications on OffRail with MCP and the AI SDK

This section is for developers building applications on top of OffRail — with the MCP server and the Vercel AI SDK through @ai-sdk/openai.

Guides

Why the AI SDK

The AI SDK gives you one TypeScript interface for text generation, streaming, tool calling, and image generation. Combined with OffRail, a single provider instance and one API key reach every model in the catalog — see the models page for what's available.

Other ways to integrate

If you're not using the AI SDK:

  • Use any OpenAI-compatible SDK against https://api.offrail.ai/v1 — see the Quickstart
  • Use the Anthropic SDK against the Anthropic-compatible endpoint
  • Call the REST API directly — see the API reference in the sidebar

How is this guide?

On this page

Ready for production?

Ship to production with SSO, audit logs, spend controls, and guardrails your security team will approve.

Explore Enterprise