Integrations
LangGraph
Use Orbitrage with LangGraph agents.
LangGraph uses LangChain chat models under the hood — point them at Orbitrage
and your whole graph is routed and traced. Each node’s call shows up in the
workflow flow graph.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Orbitrage with LangGraph agents.
import os, orbitrage
orbitrage.init(os.environ["ORBITRAGE_API_KEY"], user_id="customer_42")
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
base_url="https://api.orbitrage.ai/v1",
api_key=os.environ["ORBITRAGE_API_KEY"],
model="minimax-m3",
)
agent = create_react_agent(llm, tools=[]) # add your tools
agent.invoke({"messages": [{"role": "user", "content": "What's 2+2?"}]})