A

Agno

Agno · Verified setup guide

A Python agent framework. Use OpenAILike for any OpenAI-compatible endpoint.

Setup steps

  1. 1
    Installpip install agno
  2. 2
    Build the modelOpenAILike(id, api_key, base_url) below.
  3. 3
    Use itAttach the model to an Agent.

Configuration example

python
from agno.agent import Agent
from agno.models.openai.like import OpenAILike

agent = Agent(
    model=OpenAILike(
        id="YOUR_MODEL_ID",                # any model id from the /models page
        api_key="lxc_live_YOUR_KEY",
        base_url="https://api.luxechain.si/v1",
    ),
)

Replace YOUR_MODEL_ID with any model from the catalogue. Never paste a real API key into a shared document.

Troubleshooting

Use OpenAILike, not OpenAI (which targets the real OpenAI API). The model id goes in id.

If the tool rejects the endpoint, confirm the base URL exactly matches the value on the right, and that the key is active in your account.