Agno

Agno

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

Step by step

01
Install
pip install agno
02
Build the model
OpenAILike(id, api_key, base_url) below.
03
Use it
Attach the model to an Agent.
Protocol
OpenAI Chat Completions
Configured in
OpenAILike base_url
Base URL
https://api.luxechain.si/v1

Copy this

agno
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",
    ),
)
Use OpenAILike, not OpenAI (which targets the real OpenAI API). The model id goes in id.

← All tools Get tokens