# LangChain with zurelay > Agents and LangGraph, in Python or JavaScript. Source: https://zurelay.com/docs/integrations/langchain The examples use `claude-opus-5-5`. Any model ID from [the models page](https://zurelay.com/docs/models) works. ## Set it up 1. Install the OpenAI integration: `pip install langchain-openai` or `npm install @langchain/openai`. 2. Create `ChatOpenAI` with zurelay’s base URL, your key and a catalog model. 3. Use it anywhere LangChain or LangGraph takes a chat model. ## Configuration **Python** (`agent.py`): ```python import os from langchain_openai import ChatOpenAI llm = 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) ``` **TypeScript** (`agent.ts`): ```typescript import { ChatOpenAI } from "@langchain/openai"; const llm = new ChatOpenAI({ model: "claude-opus-5-5", apiKey: process.env.ZURELAY_API_KEY, configuration: { baseURL: "https://api.zurelay.com/v1" }, }); const reply = await llm.invoke("Hello"); console.log(reply.content); ``` [LangChain’s own docs](https://docs.langchain.com/oss/python/integrations/chat/openai)