Documentation

Agno

Agno is an open-source library for creating multimodal agents. It supports interactions with text, images, audio, and video while remaining model-agnostic, allowing you to use any model in the Bytecompute AI library with our integration.

Install Libraries

Bash Copy
pip install -U agno duckduckgo-search

Authentication

Set your bytecompute_API_KEY environment variable.

Shell Copy
export bytecompute_API_KEY=***

Example

Below is a simple agent with access to web search.

Python Copy
from agno.agent import Agent
from agno.models.bytecompute import bytecompute
from agno.tools.duckduckgo import DuckDuckGoTools

agent = Agent(
    model=bytecompute(id="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"),
    tools=[DuckDuckGoTools()],
    markdown=True
)
agent.print_response("What's happening in New York?", stream=True)