Skip to content

Build AI Agents with OpenAI

The most widely used LLM provider, powering GPT-4o, GPT-4 Turbo, and o1 reasoning models.

Available OpenAI Models

ModelID
GPT-4ogpt-4o
GPT-4o Minigpt-4o-mini
GPT-4 Turbogpt-4-turbo
GPT-3.5 Turbogpt-3.5-turbo
o1o1
o1 Minio1-mini
o3 Minio3-mini

Why use OpenAI for AI agents?

Best tool calling support
Largest ecosystem
Strong multimodal capabilities
Fast inference

Best use cases

  • General-purpose AI agents
  • Code generation
  • Data analysis
  • Content creation

Quick start code

agent.py
from agno.agent import Agent
from agno.models.openai import OpenAIChat

agent = Agent(
    name="My OpenAI Agent",
    model=OpenAIChat(id="gpt-4o"),
    instructions=["You are a helpful assistant."],
    markdown=True,
)

agent.print_response("Hello! What can you help me with?")

Install: pip install agno Then set OPENAI_API_KEY

Contact Us

Press Ctrl+Enter to send