Skip to main content
Integrations

Works With Your Entire Stack

AI Identity uses the OpenAI-compatible API format, so integration usually means changing one line — the base URL. Works with every major LLM provider and agent framework.

Supported Providers

Route to any LLM provider through a single gateway. The model name in your request determines which upstream provider handles it.

OpenAI

GPT-4o, GPT-4o-mini, o1, o3

Anthropic

Claude Sonnet 4, Claude Opus, Claude Haiku

Google

Gemini 2.5 Pro, Gemini 2.5 Flash

Cohere

Command R+, Command R

Mistral

Mistral Large, Mistral Medium

Custom

Any OpenAI-compatible REST API

Framework Examples

Drop-in compatible with all major agent frameworks. Change the base URL and your agents are governed.

PythonLangChain
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    model="gpt-4o",
    base_url="https://gateway.ai-identity.co/v1",
    api_key="aid_sk_your_agent_key",
)
PythonCrewAI
import os
os.environ["OPENAI_API_BASE"] = \
    "https://gateway.ai-identity.co/v1"
os.environ["OPENAI_API_KEY"] = "aid_sk_your_agent_key"

from crewai import Agent, Task, Crew
# ... agents work as normal
PythonAutoGen
config_list = [{
    "model": "gpt-4o",
    "base_url": "https://gateway.ai-identity.co/v1",
    "api_key": "aid_sk_your_agent_key",
}]
TypeScriptOpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.ai-identity.co/v1",
  apiKey: "aid_sk_your_agent_key",
});

Ready to integrate?

Check out the full documentation for detailed integration guides, or sign up and start routing in minutes.