Many providers like Together, Groq, Nebius, Sambanova, xAI, etc support the OpenAI API format. Use the OpenAILike model to access them by replacing the base_url.
from os import getenvfrom agno.agent import Agentfrom agno.models.openai.like import OpenAILikeagent = Agent( model=OpenAILike( id="mistralai/Mixtral-8x7B-Instruct-v0.1", api_key=getenv("TOGETHER_API_KEY"), base_url="https://api.together.xyz/v1", ))# Print the response in the terminalagent.print_response("Share a 2 sentence horror story.")