Skip to main content

Tools and frameworks

Radium exposes an OpenAI-compatible Chat Completions API. Any framework, SDK, or library that can point at a custom base URL and model name works with Radium. This section covers the most common integrations.

Frameworks

LangChain

Python chains and agents via ChatOpenAI

LangGraph

State-machine agents with graph nodes

LlamaIndex

RAG and query engines via OpenAILike

Vercel AI SDK

Next.js and Node.js streaming

OpenAI Python SDK

Direct SDK with custom base URL

PydanticAI

Type-safe agents withOpenAIChatModel

CrewAI

Multi-agent crews with LiteLLM routing

DSPy

Program optimization with signatures

AG2

AutoGen successor with OpenAIConfig

Agno

Lightweight agents with OpenAILike

What changes in every integration

Three values change when you point any framework at Radium:
  1. Base URL — https://api.radium.cloud/v1 (OpenAI format)
  2. API key — your Radium API key from deploy.radium.cloud
  3. Model string — hal-1.0, clarke-1.0, or tycho-1.0
Everything else — prompts, tools, chains, agents, streaming logic — stays the same.

Compatibility matrix

All integrations were verified with Python 3.12.7 or Node.js 22+ against hal-1.0, clarke-1.0, and tycho-1.0.

Common patterns

Environment variables

Every guide uses the same two environment variables:

Virtual environment

Python guides create a virtual environment before installing packages:

Model selection

Switch models by changing the environment variable:

Troubleshooting all integrations