Learn about the agent system used by the Newsletter AI Agent
src/tools/base.py
that provides a standardized way to call Apify actors and process their results:
NewsletterCrew
class in src/newsletter_crew.py
, which creates the agents, defines their tasks, and manages the flow of information between them.
src/agents
directory:
src/agents/researcher.py
: Implements the Researcher Agentsrc/agents/writer.py
: Implements the Writer Agentsrc/agents/editor.py
: Implements the Editor AgentAgent
class, which provides a framework for defining an agent’s role, goal, backstory, and tools.
.env
filesrc/config
directory