Agno

About

Agnoarrow-up-right is a lightweight library for building Agents (AI programs that operate autonomously). The core of an Agent is a model, tools and instructions. Agents also have memory, knowledge, storage and the ability to reason.

Developers use Agno to build Reasoning Agents, Multimodal Agents, Teams of Agents and Agentic Workflows. Agno also provides a beautiful UI to chat with your Agents, pre-built FastAPI routes to serve your Agents and tools to monitor and evaluate their performance.

circle-check

Installation

pip install -U agno

How to Use AIML API with Agno

A user of the Agno can

from agno.models.aimlapi import AIMLApi

agent = Agent(
    model=AIMLApi(
        id="gpt-4o", 
        api_key="<YOUR_AIMLAPI_KEY>"
    ), 
    markdown=True, 
    telemetry=False, 
    monitoring=False
)
    
agent.print_response("Tell me, why is the sky blue in 2 sentences")
chevron-rightResponsehashtag

Our Supported models

Supported features

  • Synchronous and asynchronous requests

  • Chain-of-thought reasoning

  • Built-in RAG and multimodal support

  • Collaborative agent workflows (Teams)

  • Access to built-in tools (DuckDuckGo, Docker, and many more)

Code Examples

chevron-rightPrerequisiteshashtag

1. Create and activate a virtual environment

2. Export your AIMLAPI_API_KEYarrow-up-right

3. Install libraries

Stream mode

Image agent

Tool use

More

For further information about the framework, please check the official Agno documentationarrow-up-right.

For additional examples, check out our repoarrow-up-right.

Last updated

Was this helpful?