Skip to main content

LangGraph

LangGraph does not connect to a model provider by itself. Configure a Radium-backed ChatOpenAI model and call it from your graph nodes.

Before you start

You need Python 3.10 or newer, a Radium API key, and a terminal or PowerShell window.

1. Create a project and install the packages

2. Set your Radium credentials

3. Create main.py

4. Run it

Expected output:

Choose a model

Migrate an existing graph

Replace the model used inside your existing nodes:
Your state schema, nodes, edges, routing, and checkpoints do not need to change.

Troubleshooting

Validation

These instructions were verified with Python 3.12.7, langgraph==1.2.11, and langchain-openai==1.6.0 on August 20, 2026. You do not need those exact package versions.
Text generation and an agent tool loop passed with hal-1.0, clarke-1.0, and tycho-1.0.

Next steps

API quickstart

Call Radium directly

Tool calling

The tool_use and tool_result contract