Prerequisites
Install
Use SDK adapter
Use theAurikoCrewAILLM adapter:
AurikoCrewAILLM routes models through Auriko’s OpenAI-compatible endpoint. It passes provider="openai" to CrewAI, which prevents CrewAI from routing to native provider SDKs.
Pass
auriko_llm.llm to Agent, not the AurikoCrewAILLM instance.Configure options
Configure routing
Pass aRoutingOptions instance to control routing:
last_routing_metadata returns metadata from the most recent non-streaming response.
Different agents can use different models and routing strategies:
Configure manually
Alternative: configure CrewAI manually
Alternative: configure CrewAI manually
If you prefer to use CrewAI’s For routing options and metadata access, use
LLM class directly, pass provider="openai" to route models through Auriko:AurikoCrewAILLM.