Skip to main content

Code

image_agent.py

Usage

1

Set up your virtual environment

2

Install Ollama

Follow the Ollama installation guide and run:
3

Install dependencies

4

Add sample image

Place a sample image named super-agents.png in the same directory as the script, or update image_path to point to your own image.
5

Run Agent

Save the code above as image_agent.py, then run: