Spaces:
Sleeping
Sleeping
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -97,41 +97,73 @@ def create_research_crew(topic: str):
|
|
| 97 |
|
| 98 |
analysis_task = Task(
|
| 99 |
description="""
|
| 100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
-
|
| 105 |
-
-
|
| 106 |
-
-
|
| 107 |
-
- Market
|
| 108 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
-
|
| 113 |
-
-
|
| 114 |
-
-
|
| 115 |
-
-
|
| 116 |
-
- Risk assessment
|
| 117 |
|
| 118 |
-
|
| 119 |
-
-
|
| 120 |
-
-
|
| 121 |
-
-
|
| 122 |
-
-
|
| 123 |
-
- Risk mitigation strategies
|
| 124 |
-
- Partnership opportunities
|
| 125 |
|
| 126 |
Requirements:
|
| 127 |
-
- Provide
|
| 128 |
-
- Include case studies
|
| 129 |
-
- Support
|
| 130 |
-
-
|
| 131 |
-
-
|
|
|
|
| 132 |
""",
|
| 133 |
agent=analyst,
|
| 134 |
-
expected_output="
|
| 135 |
context=[research_task]
|
| 136 |
)
|
| 137 |
|
|
|
|
| 97 |
|
| 98 |
analysis_task = Task(
|
| 99 |
description="""
|
| 100 |
+
=== STRATEGIC ANALYSIS ===
|
| 101 |
+
Analyze the research findings to provide comprehensive strategic insights:
|
| 102 |
+
|
| 103 |
+
1. Industry Analysis
|
| 104 |
+
## Porter's Five Forces
|
| 105 |
+
- Detailed analysis of each force
|
| 106 |
+
- Overall industry attractiveness
|
| 107 |
+
- Strategic implications
|
| 108 |
+
- Future evolution
|
| 109 |
+
|
| 110 |
+
## PESTLE Analysis
|
| 111 |
+
- Political factors and impacts
|
| 112 |
+
- Economic drivers and constraints
|
| 113 |
+
- Social and demographic influences
|
| 114 |
+
- Technological enablers and threats
|
| 115 |
+
- Legal and regulatory framework
|
| 116 |
+
- Environmental considerations
|
| 117 |
|
| 118 |
+
2. Growth Vector Analysis
|
| 119 |
+
## Market Expansion Opportunities
|
| 120 |
+
- Geographic expansion potential
|
| 121 |
+
- Segment growth opportunities
|
| 122 |
+
- New market opportunities
|
| 123 |
+
- Market penetration strategies
|
| 124 |
+
|
| 125 |
+
## Product/Service Development
|
| 126 |
+
- Innovation opportunities
|
| 127 |
+
- Feature expansion potential
|
| 128 |
+
- Service enhancement areas
|
| 129 |
+
- Technology integration possibilities
|
| 130 |
+
|
| 131 |
+
3. Risk Assessment
|
| 132 |
+
## Market Risks
|
| 133 |
+
- Competition risks
|
| 134 |
+
- Technology risks
|
| 135 |
+
- Regulatory risks
|
| 136 |
+
- Economic risks
|
| 137 |
+
|
| 138 |
+
## Mitigation Strategies
|
| 139 |
+
- Risk mitigation approaches
|
| 140 |
+
- Alternative strategies
|
| 141 |
+
- Contingency planning
|
| 142 |
+
- Success factors
|
| 143 |
|
| 144 |
+
4. Investment Analysis
|
| 145 |
+
## Market Attractiveness
|
| 146 |
+
- Investment potential
|
| 147 |
+
- ROI analysis
|
| 148 |
+
- Payback periods
|
| 149 |
+
- Capital requirements
|
|
|
|
| 150 |
|
| 151 |
+
## Success Requirements
|
| 152 |
+
- Critical success factors
|
| 153 |
+
- Core capabilities needed
|
| 154 |
+
- Resource requirements
|
| 155 |
+
- Timeline considerations
|
|
|
|
|
|
|
| 156 |
|
| 157 |
Requirements:
|
| 158 |
+
- Provide detailed analysis for each section
|
| 159 |
+
- Include specific examples and case studies
|
| 160 |
+
- Support conclusions with data
|
| 161 |
+
- Consider multiple scenarios
|
| 162 |
+
- Provide actionable insights
|
| 163 |
+
- Include expert opinions
|
| 164 |
""",
|
| 165 |
agent=analyst,
|
| 166 |
+
expected_output="Comprehensive strategic analysis with actionable insights",
|
| 167 |
context=[research_task]
|
| 168 |
)
|
| 169 |
|