Spaces:
Build error
Build error
| import os | |
| from crewai import Agent, LLM | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| llm = LLM( | |
| model="groq/llama-3.3-70b-versatile", | |
| api_key=os.getenv("GROQ_API_KEY") | |
| ) | |
| researcher = Agent( | |
| role="Lead Researcher", | |
| goal="Find and profile businesses matching the target audience", | |
| backstory="""You are an expert business researcher. | |
| You find detailed information about companies and | |
| identify what they do and who they serve.""", | |
| llm=llm, | |
| verbose=True | |
| ) | |
| analyst = Agent( | |
| role="Business Analyst", | |
| goal="Analyze each lead and identify pain points relevant to the service being offered", | |
| backstory="""You are a sharp business analyst who understands | |
| company needs. You identify gaps and opportunities where | |
| a service could genuinely help a business.""", | |
| llm=llm, | |
| verbose=True | |
| ) | |
| writer = Agent( | |
| role="Outreach Specialist", | |
| goal="Write personalized compelling outreach messages for each lead", | |
| backstory="""You are an expert copywriter specializing in | |
| cold outreach. You write messages that feel personal, | |
| reference specific details about the company, and | |
| clearly communicate value without being salesy.""", | |
| llm=llm, | |
| verbose=True | |
| ) | |