Skip to main content
Use Agno against the Modellix LLM gateway. Agno provides OpenAILike for any OpenAI-compatible Chat Completions endpoint — set base_url to https://llm.modellix.ai/v1 and id to a Modellix provider/name Model ID.
This page covers LLM text only (https://llm.modellix.ai).Modellix model IDs are provider/name (for example openai/gpt-5.5). Pass that full string as OpenAILike(id=...). Do not rely on a bare string like model="openai:gpt-5.4" — that uses Agno’s built-in OpenAI provider defaults, not Modellix. See Models & Pricing.

Set Up Agno

1

Install Agno

Or with uv:
2

Set Credentials

Create a Modellix API key in the console:
Use a Modellix key, not an OpenAI platform key. Do not point Agno at the media host (https://api.modellix.ai).
3

Create an Agent with OpenAILike

Change id to any catalog Model ID (anthropic/claude-sonnet-5, google/gemini-3.6-flash, and so on). Traffic still uses Chat Completions on https://llm.modellix.ai/v1.
4

Optional: Retries and Streaming

Model-level retries cover transient provider errors (rate limits, server errors). Auth and invalid-request failures are not retried.
5

Optional: Responses API

Modellix also exposes POST /v1/responses. For OpenAI-compatible Responses / Open Responses style clients, Agno documents OpenResponses with a custom base_url:
Prefer OpenAILike (Chat Completions) first unless you specifically need the Responses path. Class names and imports can vary by Agno version — check the OpenAI-like and Models overview pages for your release.

Troubleshooting