Level 2: Simple Agent with Web Search
In this notebook, we will be building a simple web search agent using Llama Stack.
Focus
Building a web search-enabled agent using Llama Stack’s built-in tools to demonstrate tool integration and usage.
Learning Objective
-
Understand how to equip an agent with Llama Stack’s built-in tools, specifically web search
-
Utilize tools to fulfill user requests
-
Grasp the basic architecture of an agent framework and the concept of tool invocation
Task Example
Users will create an agent that can perform web searches to gather current information and answer questions using retrieved web content.
Expected Agent Behavior
The agent should automatically determine when to use web search, perform searches effectively, and incorporate search results into coherent responses.