Download agent_manager.py from mgbam/AICEO: direct link, hf CLI and curl.
- Browser
- Download file 783 Bytes
-
https://huggingface.co/spaces/mgbam/AICEO/resolve/80901e656773c546151e895abaaa516b551d9a86/agent_manager.py
- Command line
-
hf download hf://spaces/mgbam/AICEO@80901e656773c546151e895abaaa516b551d9a86/agent_manager.py
-
curl -L -o agent_manager.py https://huggingface.co/spaces/mgbam/AICEO/resolve/80901e656773c546151e895abaaa516b551d9a86/agent_manager.py
783 Bytes
| from agents.strategy_agent import run_strategy | |
| from agents.ad_agent import run_ads | |
| from agents.copy_agent import run_copy | |
| from agents.email_agent import run_email | |
| from memory.database import log_action | |
| def run_agents(niche, business_type): | |
| summary = {} | |
| # Strategy | |
| strat = run_strategy(niche, business_type) | |
| log_action("StrategyAgent", "generate_strategy", strat) | |
| summary['strategy'] = strat | |
| # Copy | |
| copy = run_copy(strat) | |
| log_action("CopyAgent", "generate_copy", copy) | |
| summary['copy'] = copy | |
| # Ads | |
| ads = run_ads(strat) | |
| log_action("AdAgent", "generate_ads", ads) | |
| summary['ads'] = ads | |
| emails = run_email(strat) | |
| log_action("EmailAgent", "generate_emails", emails) | |
| summary['emails'] = emails | |
| return summary |