Build & Monitor a Web Search Agent
A powerful web search agent built using SwarmZero framework that enables intelligent web searching capabilities.
Description
This agent utilizes the Tavily API for performing web searches and is built on top of the SwarmZero framework, providing enhanced search capabilities with AI-powered processing.
Prerequisites
Python 3.11 or higher
Poetry package manager
OpenAI API key
Installation
Clone the repository:
Install dependencies using Poetry:
Set up environment variables: Create a
.env
file in the root directory and add your API keys:
Usage
Activate the Poetry shell:
Run the agent:
Send a message to the agent:
AgentOps will automatically capture the session:
View the auto-generated
agentops.log
file.See the AgentOps Dashboard
Dependencies
swarmzero
: Main framework for agent developmentagentops
: Agent operations and monitoringtavily-python
: Web search API client
Learn more
Visit SwarmZero to learn more about the SwarmZero framework.
Last updated