agno-models

Configure language model providers for Agno agents via model strings and environment variables.

4|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/ajshedivy/agno-cookbook --skill agno-models
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agno-models
Source: https://github.com/ajshedivy/agno-cookbook/tree/main/plugins/agno-framework/skills/agno-models
Command: npx skills add https://github.com/ajshedivy/agno-cookbook --skill agno-models

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of selecting and configuring various language model providers for Agno agents, abstracting away complex setup details.

Core Features & Use Cases

  • Model Selection: Easily switch between 40+ model providers like OpenAI, Anthropic, Google Gemini, Groq, and Ollama using simple model strings or direct class imports.
  • Parameter Tuning: Adjust common model parameters such as temperature, max tokens, and top_p for fine-grained control over model output.
  • Use Case: A developer needs to test their Agno agent's performance across different LLMs. They can use this Skill to quickly swap between openai:gpt-4o, anthropic:claude-sonnet-4-5, and google:gemini-2.0-flash by changing an environment variable, without modifying their agent code.

Quick Start

Configure your Agno agent to use the OpenAI GPT-4o model by setting the AGNO_MODEL environment variable to "openai:gpt-4o".

Frequently Asked Questions about agno-models

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure different LLM providers for Agno agents?

Configure Agno agents by parsing model strings like openai:gpt-4o, instantiating provider classes directly, or setting the AGNO_MODEL environment variable to dynamically select from 40+ providers including Anthropic, Google, Groq, and Ollama.

Can I switch between OpenAI and Anthropic models without modifying agent code?

Switch between OpenAI and Anthropic models dynamically by changing the AGNO_MODEL environment variable, such as updating it from openai:gpt-4o to anthropic:claude-sonnet-4-5, without touching your underlying agent code.

How do I adjust LLM parameters like temperature and max tokens in Agno?

Adjust LLM parameters like temperature, max tokens, and top_p in Agno through direct class instantiation or configuration settings to fine-tune model output generation behavior for your specific agent requirements.

Do I need to install extra packages to use Ollama or Groq with Agno?

Install provider-specific extras to enable full functionality for Ollama, Groq, and other LLM APIs, as the configuration requires specific dependencies for each provider's API integration to work correctly.

What LLM providers are supported by the Agno configuration framework?

Agno supports 40+ language model providers including OpenAI, Anthropic, Google Gemini, Groq, and Ollama, allowing you to select between them using simple model strings or direct class imports for agent configuration.

Why is my Agno model string not parsing correctly?

Model string parsing in Agno requires the exact format of provider:model, such as google:gemini-2.0-flash, along with the correct provider-specific extras installed to ensure the LLM API integration functions properly.