File size: 1,041 Bytes
393bef7 089770e 393bef7 089770e 393bef7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
from agents.strategy_agent import StrategyAgent
from agents.ad_agent import AdAgent
from agents.copy_agent import CopyAgent
from agents.email_agent import EmailAgent
class AgentManager:
def __init__(self, niche: str, business_type: str):
self.niche = niche
self.business_type = business_type
self.strategy_agent = StrategyAgent()
self.copy_agent = CopyAgent()
self.ad_agent = AdAgent()
self.email_agent = EmailAgent()
def run_all(self):
"""Run each agent in sequence and return a summary dict."""
summary = {}
# 1. Strategy
summary['strategy'] = self.strategy_agent.generate(self.niche, self.business_type)
# 2. Copy & Landing Page
summary['copy'] = self.copy_agent.create(self.niche, self.business_type)
# 3. Ads
summary['ads'] = self.ad_agent.plan(self.niche, self.business_type)
# 4. Email Sequence
summary['emails'] = self.email_agent.sequence(self.niche, self.business_type)
return summary
|