You can get great video and content creator recommendations with the help of AI Agents. Whenever you don’t know how to advance in your topic or which creator is worth watching, you ask a knowledgeable friend for advice. Now, you can simply ask AI.
What is the YouTube Search Tool
The YouTube Search Tool component allows you to search YouTube beyond what the classic YouTube search bar can do. The tool searches YouTube to match your query, giving links and metadata to the Agent. The agent then decides how and which entries to present you with.
How to use the YouTube Search Tool
This component works with an autonomous AI agent. AI Agents are computer programs that can perform tasks and make decisions independently. The Agents observe their environment and take action based on their unique programming, knowledge, and goals.
You don’t need to post precise queries like you would in a YouTube search bar. You can simply talk to the bot as you would to a friend, and it will seamlessly recommend new creators to watch, niches that may interest you, and the best videos based on what you say in chat.
This tool shines the brightest when used alongside other tools and Knowledge Retrievers. For example, besides YouTube recommendations, you can get information from Wikipedia and chat with a PDF book on your topic simultaneously, creating a true information powerhouse that lets you study across various sources and types of media.
How to connect the YouTube Search Tool to your Flow
Let’s create a basic chatbot that will give us YouTube channel recommendations. Thanks to the use of an AI Agent, the Flow is super simple and contains just a few components:
- Add Chat Input and AI Agent.
- Connect the input to the Agent.
- Drag in and connect the YouTube Search Tool to the AI Agent’s Tool handle.
- Connect Chat History to let the past messages inform future answers. This is optional and costs more tokens, but it is necessary if you want to give follow-up questions.
- You’re ready to send the Agent’s text output to the chat.
Feel free to expand the Flow with other components. You can add more search tools and Knowledge Retrievers to make the bot a true information powerhouse. Play around with the Agent’s goal and backstory to achieve your desired output.
YouTube Search Tool in action
Let’s say I’m interested in learning about AI, and as a complete novice, I’m unsure where to begin. I need advice beyond just searching for AI in the search bar. I’ll ask the bot to recommend some creators I should watch:
The bot recommended three creators, linked them and told me a little about each. I then continued chatting and asked follow-up questions to narrow it down. Liking the third recommended creator, I asked the bot to recommend which video from this creator I should watch first.