Welcome to the Newsletter AI Agent documentation
main.py
serves as the entry point for the Apify Actor, handling input and initializing the system.
NewsletterCrew
class orchestrates the agents and manages the workflow.
ResearcherAgent
: Gathers information using various toolsWriterAgent
: Transforms research into newsletter contentEditorAgent
: Reviews and improves the final outputBaseTool
that interacts with Apify actors:
GoogleSearchTool
: Searches the web using Apify’s Google Search ScraperRedditTool
: Gathers discussions using a Reddit scraperTwitterTool
: Collects tweets using Twitter Scraper LiteYouTubeTool
: Finds videos using a YouTube scraperGoogleNewsTool
: Gathers news using Google News ScraperRunApifyActor
base class provides a standardized way to call Apify actors and process their results.