Connecting tools to our agent
Cet exercice fait partie du cours
Building AI Agents with Haystack
Instructions
Your agent is about to get much smarter. By giving it access to a live web search tool, you’re building a system that can reason, retrieve, and respond in real time.
- Run the
SerperDevWebSearchcomponent. - Convert the component into a tool the agent can use.
- Pass it to the agent so it can use the web to answer queries.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice