cryogenic22 commited on
Commit
3fa668b
·
verified ·
1 Parent(s): 6344f94

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +65 -54
agents.py CHANGED
@@ -137,67 +137,78 @@ def create_research_crew(topic: str):
137
 
138
  report_task = Task(
139
  description="""
140
- Create a comprehensive market research report:
141
-
142
- 1. Executive Summary (2-3 pages):
143
- - Key findings
144
- - Market highlights
145
- - Strategic implications
146
- - Recommendations
147
- - Investment thesis
148
-
149
- 2. Comprehensive Analysis (15-20 pages):
150
- - Detailed market analysis
151
- - Competitive landscape
152
- - Strategic insights
153
- - Future outlook
154
- - Risk analysis
155
-
156
- 3. Supporting Materials:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  - Case studies
158
- - Company profiles
159
- - Data tables
160
- - Source citations
161
- - Methodology notes
162
-
163
- Format as JSON:
164
- {
165
- "exec_summary": {
166
- "summary": "comprehensive executive overview",
167
- "market_highlights": "key market metrics and findings",
168
- "strategic_implications": "main strategic insights",
169
- "recommendations": "key recommendations"
170
- },
171
- "market_analysis": {
172
- "overview": "detailed market overview section",
173
- "dynamics": "comprehensive industry dynamics",
174
- "competitive_landscape": "detailed competitive analysis",
175
- "strategic_analysis": "in-depth strategic insights"
176
- },
177
- "future_outlook": "detailed future projections and implications",
178
- "appendices": "supporting data and sources",
179
- "sources": ["source1", "source2", "..."],
180
- "metrics": {
181
- "market_size": "current and projected size",
182
- "growth_rate": "historical and projected growth",
183
- "market_shares": "key player market shares",
184
- "key_metrics": "other important metrics"
185
- }
186
- }
187
 
188
  Requirements:
189
- - Clear, professional writing
190
- - Logical flow of information
191
- - Evidence-based conclusions
192
- - Actionable recommendations
193
- - 5-10 credible sources
194
- - Recent data points
 
 
 
195
  """,
196
  agent=writer,
197
- expected_output="Professional report with executive summary and detailed analysis",
198
  context=[research_task, analysis_task]
199
  )
200
-
201
  return Crew(
202
  agents=[researcher, analyst, writer],
203
  tasks=[research_task, analysis_task, report_task],
 
137
 
138
  report_task = Task(
139
  description="""
140
+ Create a comprehensive market research report following this structure:
141
+
142
+ === EXECUTIVE SUMMARY ===
143
+ Start with a 2-3 page executive summary that includes:
144
+ - Key market findings and insights
145
+ - Critical market metrics and highlights
146
+ - Major strategic implications
147
+ - Core recommendations
148
+ - Investment potential
149
+
150
+ === MARKET ANALYSIS ===
151
+ Provide detailed market analysis covering:
152
+ 1. Market Overview
153
+ - Define market scope and segmentation
154
+ - Current market size and valuation
155
+ - Historical growth analysis
156
+ - Future growth projections
157
+ - Key market segments
158
+ - Geographic distribution
159
+ - Value chain analysis
160
+
161
+ 2. Industry Dynamics
162
+ - Growth drivers (with examples)
163
+ - Market challenges
164
+ - Emerging opportunities
165
+ - Current trends
166
+ - Technology impact
167
+ - Regulatory landscape
168
+
169
+ 3. Competitive Landscape
170
+ - Market structure
171
+ - Key player profiles
172
+ - Market share analysis
173
+ - Competitive strategies
174
+ - Recent developments
175
+ - SWOT analysis
176
  - Case studies
177
+
178
+ 4. Strategic Analysis
179
+ - Porter's Five Forces
180
+ - Success factors
181
+ - Entry barriers
182
+ - Risk assessment
183
+ - Growth vectors
184
+ - Strategic recommendations
185
+
186
+ === FUTURE OUTLOOK ===
187
+ Provide comprehensive future projections:
188
+ - Market forecasts
189
+ - Emerging trends
190
+ - Technology roadmap
191
+ - Future scenarios
192
+ - Strategic implications
193
+
194
+ === SOURCES AND METHODOLOGY ===
195
+ List all sources used and methodology followed.
 
 
 
 
 
 
 
 
 
 
196
 
197
  Requirements:
198
+ - Write in clear, professional language
199
+ - Use specific numbers and metrics
200
+ - Include recent case studies
201
+ - Cite 5-10 credible sources
202
+ - Provide confidence levels for projections
203
+ - Use contextual examples
204
+
205
+ Structure the content with clear headings (use === for main sections and ## for subsections)
206
+ Make it a narrative document that flows well and tells a story about the market.
207
  """,
208
  agent=writer,
209
+ expected_output="A comprehensive narrative market research report with detailed analysis",
210
  context=[research_task, analysis_task]
211
  )
 
212
  return Crew(
213
  agents=[researcher, analyst, writer],
214
  tasks=[research_task, analysis_task, report_task],