Overview
The SerpAPI tool is a tool that allows you to search the web
using the SerpAPI.
pip install langchain-community google-search-results
export SERPAPI_API_KEY=your_api_key_here
export OPENAI_API_KEY=your_api_key_here
from praisonaiagents import Agent, Praison LabsAgents
from langchain_community.utilities import SerpAPIWrapper
data_agent = Agent(instructions="Search about AI job trends in 2025", tools=[SerpAPIWrapper])
editor_agent = Agent(instructions="Write a blog article")
agents = Praison LabsAgents(agents=[data_agent, editor_agent])
agents.start()
Responses are generated using AI and may contain
mistakes.