152 lines
4.8 KiB
YAML
152 lines
4.8 KiB
YAML
name: market_intelligence
|
|
description: "Orion researches a specific market opportunity with web search and produces a structured analysis document committed to Gitea. Spawned by opportunity_scan."
|
|
debug: true
|
|
model: power
|
|
system: agent_prompt
|
|
|
|
agent_prompt:
|
|
- "= identity.md"
|
|
|
|
sections:
|
|
- agent
|
|
- project
|
|
- rag
|
|
- message
|
|
- instructions
|
|
|
|
steps:
|
|
- type: think
|
|
max_tokens: 200
|
|
output_key: search_query_1
|
|
hint: |
|
|
The market opportunity to research is described in the task message above.
|
|
|
|
Formulate ONE precise web search query to find:
|
|
- Market size and growth rate for this niche
|
|
- Who the key players are and what they offer
|
|
|
|
Output ONLY the search query. Nothing else.
|
|
|
|
- type: tool
|
|
capability: Tool_WebSearcher
|
|
input_from: search_query_1
|
|
mode: research
|
|
max_results: 6
|
|
fetch_pages: 3
|
|
optional: true
|
|
output_key: market_data_1
|
|
|
|
- type: think
|
|
max_tokens: 200
|
|
output_key: search_query_2
|
|
hint: |
|
|
Your first search covered market size and key players.
|
|
Now formulate ONE focused query to find:
|
|
- Successful products in this niche, what they charge, who buys them
|
|
- Consumer pain points or unmet needs documented online
|
|
|
|
Output ONLY the search query. Nothing else.
|
|
|
|
- type: tool
|
|
capability: Tool_WebSearcher
|
|
input_from: search_query_2
|
|
mode: research
|
|
max_results: 5
|
|
fetch_pages: 2
|
|
optional: true
|
|
output_key: market_data_2
|
|
|
|
- type: think
|
|
max_tokens: 6000
|
|
output_key: market_analysis_body
|
|
hint: |
|
|
You are Orion, Director of Research at Crimson Leaf Holdings.
|
|
Produce a structured market analysis document for the opportunity in the task message.
|
|
|
|
=== PRIMARY RESEARCH (market size / players) ===
|
|
{market_data_1}
|
|
=== END PRIMARY RESEARCH ===
|
|
|
|
=== SECONDARY RESEARCH (products / gaps / pricing) ===
|
|
{market_data_2}
|
|
=== END SECONDARY RESEARCH ===
|
|
|
|
Cite every data point with [Title](URL) inline.
|
|
CITATION RULES:
|
|
- ONLY cite real URLs from the research data above (the [Title](URL) links in the research results).
|
|
- Do NOT invent URLs, placeholders, or use "project.rag" as a source.
|
|
- If a section has no real research data, write "No web data found. Structural analysis:" and continue.
|
|
- Every statistic must be followed by its source [Title](URL).
|
|
|
|
Structure the document exactly as follows:
|
|
|
|
# Market Analysis: [opportunity name from task message]
|
|
|
|
---
|
|
|
|
## 1. Market Overview
|
|
- Total Addressable Market: [size, growth rate, source]
|
|
- Key drivers: [2-3 forces growing this market]
|
|
- Key risks: [2-3 risks or headwinds]
|
|
|
|
## 2. Target Audience
|
|
- Primary buyer: [specific demographic or job role]
|
|
- Buyer behavior: [how they discover and purchase in this niche]
|
|
- Pain points: [what they cannot get today]
|
|
|
|
## 3. Competitive Landscape
|
|
[Top 3-5 players: name | product | price | audience | strengths | weaknesses]
|
|
- White space: [what none of them do well that CL could own]
|
|
|
|
## 4. Crimson Leaf Positioning
|
|
- Recommended entry point: [specific niche within the broader market]
|
|
- Differentiation: [how CL would be distinct from existing players]
|
|
- Time-to-market: [realistic estimate given current CL capabilities]
|
|
|
|
## 5. Revenue Potential
|
|
- Conservative (12-month): [number with assumptions]
|
|
- Base case (12-month): [number with assumptions]
|
|
- Optimistic (12-month): [number with assumptions]
|
|
|
|
## 6. Recommendation
|
|
PROCEED / INVESTIGATE FURTHER / PASS
|
|
|
|
Rationale: [2-3 sentences backing the recommendation with data from above]
|
|
|
|
---
|
|
|
|
## Sources
|
|
[List all cited URLs with titles]
|
|
|
|
- type: document
|
|
source_step: market_analysis_body
|
|
dest_path: "deliverables/market-analysis/market-analysis-{task.id}.md"
|
|
commit_msg: "research: market analysis task={task.id}"
|
|
|
|
- type: close
|
|
rag_update: true
|
|
|
|
- type: reply
|
|
target: channel
|
|
channel_name: "crimson_leaf:live-feed"
|
|
hint: |
|
|
Write a 2-3 line summary of the market analysis just completed.
|
|
Include: topic researched, recommendation (PROCEED/INVESTIGATE FURTHER/PASS),
|
|
and one key data point with citation.
|
|
Example: "Market analysis complete: [topic] -- PROCEED. [Key finding with [Title](URL)]."
|
|
|
|
adjudication:
|
|
enabled: true
|
|
pass_threshold: 70
|
|
deliverable_type: analysis
|
|
criteria:
|
|
depth:
|
|
weight: 40
|
|
description: "All 6 sections covered with specific data points -- no empty sections"
|
|
accuracy:
|
|
weight: 35
|
|
description: "Claims backed by research citations or clearly labeled as estimates -- no invented statistics"
|
|
actionability:
|
|
weight: 25
|
|
description: "Recommendation (PROCEED/INVESTIGATE FURTHER/PASS) is specific and grounded in the analysis"
|