Agno Pipe

function

Chat with Agno Agents from Open WebUI

funnyrabbit
@funnyrabbit
·
a year ago
40
0
2.1K
Created Aug 21, 2025
agno_pipe.py
Python · 265 lines
"""
OpenWebUI Pipe for Agno Framework Integration

This pipe integrates Agno framework agents as selectable models in OpenWebUI.
It provides dynamic agent discovery and execution capabilities.
"""

from pydantic import BaseModel, Field
from typing import Dict, List, Optional, Union, AsyncGenerator, Callable, Awaitable
import requests
import json
import logging

Prerequisites

This is tested with a local API instance of Agno. For details refer to the Agno documentation.

Configuration

Please refer to the Valve configuration on the application. All relevant parameters should be possible to set.


0