Tools
-
Tools
-
LangChain Agent
-
External Tools
-
DuckDuckGo Agent
-
arXiv Agent
-
Calculator Agent
-
CSV Agent
-
DuckDB Agent
-
Excel Agent
-
File Agent
-
JSON Agent
-
Newspaper Agent
-
Pandas Agent
-
Python Agent
-
Shell Agent
-
Spider Agent
-
Wikipedia Agent
-
XML Agent
-
YAML Agent
-
YFinance Agent
-
Low Code Custom Tools
-
Tools as Class
-
PraisonAI Tools Creator GPT
-
DuckDuckGo PraisonAI Integration
-
Langchain Tools
-
Wikipedia PraisonAI Integration
-
YouTube Search PraisonAI Integration
-
Tavily PraisonAI Integration
-
Reddit PraisonAI Integration
-
You.com PraisonAI Integration
-
Crawl4AI PraisonAI Integration
-
Mem0 and PraisonAI Integration
-
Composio PraisonAI Integration
-
Google Calendar Tools
External Tools
Google Serper Search Tool
Guide for using the Google Serper Search tool with PraisonAI agents.
Overview
The Google Serper Search tool is a tool that allows you to search the web using the Google Serper API.
Copy
pip install langchain-community python-dotenv
export SERPER_API_KEY=your_api_key_here
export OPENAI_API_KEY=your_api_key_here
Copy
from praisonaiagents import Agent, PraisonAIAgents
from langchain_community.utilities import GoogleSerperAPIWrapper
import os
from dotenv import load_dotenv
load_dotenv()
os.environ['SERPER_API_KEY'] = os.getenv('SERPER_API_KEY')
search = GoogleSerperAPIWrapper()
data_agent = Agent(instructions="Suggest me top 5 most visited websites for Dosa Recipe", tools=[search])
editor_agent = Agent(instructions="List out the websites with their url and a short description")
agents = PraisonAIAgents(agents=[data_agent, editor_agent])
agents.start()
On this page
Assistant
Responses are generated using AI and may contain mistakes.