Enable Agno agents to bypass the need to watch hours of video by programmatically accessing transcripts and metadata. With YouTube tools, agents can turn unstructured video content into searchable, readable, and structured data for analysis.
Copy
Ask AI
from agno.agent import Agentfrom agno.tools.youtube import YouTubeTools# ---------------------------------------------------------------------------# Create Agent# ---------------------------------------------------------------------------agent = Agent( tools=[YouTubeTools()], description="You are a YouTube agent. Obtain the captions of a YouTube video and answer questions.",)# ---------------------------------------------------------------------------# Run Agent# ---------------------------------------------------------------------------if __name__ == "__main__": agent.print_response( "Summarize this video https://www.youtube.com/watch?v=Iv9dewmcFbs&t", markdown=True, )