Framework

CrewAI

Multi-agent framework. Route its OpenAI-backed LLM through LuxeChain.

Step by step

01
Install
pip install crewai
02
Create the LLM
Pass model, base_url and api_key below.
03
Use it
Attach the LLM to an Agent.
Protocol
OpenAI Chat Completions
Configured in
OPENAI_API_BASE
Base URL
https://api.luxechain.si/v1

Copy this

crewai
from crewai import LLM

llm = LLM(
    model="openai/YOUR_MODEL_ID",          # any model id from the /models page
    base_url="https://api.luxechain.si/v1",
    api_key="lxc_live_YOUR_KEY",
)
CrewAI uses LiteLLM underneath, so the model needs the openai/ prefix.

← All tools Get tokens