Agno supports files as input to agents and teams. Take a look at the compatibility matrix to see which models support files as input.Let’s create an agent that can understand files and make tool calls as needed.
Copy
Ask AI
from agno.agent import Agentfrom agno.media import Filefrom agno.models.anthropic import Claudefrom agno.db.in_memory import InMemoryDbagent = Agent( model=Claude(id="claude-sonnet-4-0"), db=InMemoryDb(), markdown=True,)agent.print_response( "Summarize the contents of the attached file.", files=[ File(url="https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"), ],)