Integrations
LangChain with Zurelay
Agents and LangGraph, in Python or JavaScript.
Model in the examples:
Set it up
- 1
Install the OpenAI integration:
pip install langchain-openaiornpm install @langchain/openai. - 2
Create
ChatOpenAIwith Zurelay’s base URL, your key and a catalog model. - 3
Use it anywhere LangChain or LangGraph takes a chat model.
Configuration
agent.py
import osfrom langchain_openai import ChatOpenAIllm = ChatOpenAI( model="claude-opus-5-5", base_url="https://api.zurelay.com/v1", api_key=os.environ["ZURELAY_API_KEY"],)print(llm.invoke("Hello").content)Questions, or something missing? Ask our support team and we’ll answer by email, usually within a minute.