The following agent will provide a summary of a YouTube video.
cookbook/tools/youtube_tools.py
from agno.agent import Agentfrom agno.tools.youtube import YouTubeToolsagent = Agent( tools=[YouTubeTools()], show_tool_calls=True, description="You are a YouTube agent. Obtain the captions of a YouTube video and answer questions.",)agent.print_response("Summarize this video https://www.youtube.com/watch?v=Iv9dewmcFbs&t", markdown=True)