examples/openai_agents_sdk/youtube_summary_agent/README.md
This example demonstrates how to use the OpenAI Agents SDK with RagaAI Catalyst to create a YouTube video summarizer that can extract and summarize content from YouTube videos.
The application uses OpenAI's Agents SDK to:
The system uses multiple agents to handle different aspects of the workflow, including a clarifier agent for ambiguous queries and a summarizer agent for generating the final summary.
pip install -r requirements.txt
cp sample.env .env
Configure the following environment variables in your .env file:
Run the example script:
python youtube_summary_agent.py
The script will prompt you to enter a query, which can be:
This example integrates with RagaAI Catalyst for tracing and monitoring agent interactions. The integration helps with:
You can modify the agent instructions in the script to change the style or format of the summaries generated. The summarizer agent can be customized to produce different types of content, such as bullet points, longer analyses, or content focused on specific aspects of the videos.