Client & Agent SDKs
Nicrron is fully compatible with the official OpenAI SDKs and popular Agent frameworks.
OpenAI Python SDK
Just change the base_url to point to Nicrron.
from openai import OpenAI
client = OpenAI(
base_url="https://api.nicrron.ai/v1",
api_key="YOUR_NICRRON_KEY",
)
response = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[{"role": "user", "content": "Hello!"}],
)OpenAI Node.js SDK
import OpenAI from "openai";
const openai = new OpenAI({
baseURL: "https://api.nicrron.ai/v1",
apiKey: "YOUR_NICRRON_KEY",
});Agent SDKs (LangChain)
Nicrron unifies tool-calling and function schemas across all providers, making it ideal for Agents.
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
base_url="https://api.nicrron.ai/v1",
api_key="YOUR_NICRRON_KEY",
model="anthropic/claude-sonnet-5"
)