The Researcher Agent is responsible for gathering comprehensive and accurate information about the specified topic from various sources. It serves as the foundation for the newsletter generation process, providing the raw material that the Writer Agent will transform into engaging content.
The Researcher Agent is defined with the following attributes:
Role: Research Specialist
Goal: Gather comprehensive and accurate information about specified topics
Backstory: An expert research specialist with a keen eye for detail and the ability to find the most relevant and up-to-date information, specializing in AI technology, industry trends, and market analysis.
The Researcher Agent is implemented in src/agents/researcher.py using CrewAI’s Agent class:
Copy
@staticmethoddef create(llm, actor) -> Agent: return Agent( role='Research Specialist', goal='Gather comprehensive and accurate information about specified topics', backstory="""You are an expert research specialist with a keen eye for detail and the ability to find the most relevant and up-to-date information. You specialize in AI technology, industry trends, and market analysis.""", tools=[ GoogleScraperTool(actor=actor), RedditScraperTool(actor=actor), TwitterScraperTool(actor=actor), YouTubeScraperTool(actor=actor), GoogleNewsScraperTool(actor=actor) ], verbose=True, allow_delegation=False, llm=llm )