Agno supports videos as input to agents and teams. Take a look at the compatibility matrix to see which models support videos as input.Let’s create an agent that can understand video input.
video_agent.py
Copy
Ask AI
from pathlib import Pathfrom agno.agent import Agentfrom agno.media import Videofrom agno.models.google import Geminiagent = Agent( model=Gemini(id="gemini-2.0-flash-001"), markdown=True,)# Please download "GreatRedSpot.mp4" using# wget https://storage.googleapis.com/generativeai-downloads/images/GreatRedSpot.mp4video_path = Path(__file__).parent.joinpath("GreatRedSpot.mp4")agent.print_response("Tell me about this video", videos=[Video(filepath=video_path)])