Overview
The Google Trends tool is a tool that allows you to search the
web using the Google Trends API.
pip install langchain-community google-search-results
export SERPAPI_API_KEY=your_api_key_here
from langchain_community.utilities.google_trends import GoogleTrendsAPIWrapper
from praisonaiagents import Agent, Praison LabsAgents
research_agent = Agent(
instructions="Research trending topics related to AI",
tools=[GoogleTrendsAPIWrapper]
)
summarise_agent = Agent(
instructions="Summarise findings from the research agent",
)
agents = Praison LabsAgents(agents=[research_agent, summarise_agent])
agents.start()
Responses are generated using AI and may contain
mistakes.