Skip to main content
This example demonstrates how tools can receive and process images automatically through Agno’s joint media access functionality. It shows initial image upload and analysis, DALL-E image generation within the same run, and cross-run media persistence.

Code

image_input_for_tool.py

Usage

1

Set up your virtual environment

2

Export your OpenAI API key

3

Set up PostgreSQL

4

Install dependencies

5

Run Agent