Files
crimson_leaf/templates/market_research.yml
David Baity 451c8ae89a fix: complete spawn chain — market_research→design, design→reviews+roundtable
Closes the two broken links in the incubation pipeline:
- market_research now spawns company_design (Phase 1→2)
- company_design now spawns 4 design_reviews + design_roundtable (Phase 2→3/4)

Also: cleaned up design_review to use identity-driven review instead of IF/ELSE blocks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-01 01:01:46 -05:00

90 lines
3.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: market_research
description: "Crimson Leaf market intelligence — web search, trend analysis, opportunity pitch for new business units."
system: agent_prompt
agent_prompt:
- "= identity.md"
sections:
- agent
- project
- history
- rag
- prior_results
- message
- instructions
builders:
prior_results: |
*** WEB SEARCH RESULTS ***
{steps[1].text}
(If the above is empty, use your expert training knowledge to answer this question.)
steps:
- type: think
hint: |
You are Sarah, Head of Market Intelligence at Crimson Leaf LLC.
Your mission: identify the best search query to validate a business opportunity.
The project prompt above describes the industry or niche to explore.
Analyze the prompt and determine:
- What market or industry is being targeted?
- What specific data would prove or disprove demand?
- What competitors or existing solutions should we find?
Then on the last line write:
SEARCH QUERY: [your query here]
Query rules: 38 words. Specific. Think like a search engine.
Good: "AI content agency market size 2025 revenue"
Bad: "What is the market for AI content agencies?"
- type: tool
capability: Tool_WebSearcher
input_from: last_text
- type: think
hint: |
You have live search results above (in PRIOR RESULTS).
If the web search results are empty or unavailable, use your expert training knowledge.
Synthesize everything into a MARKET OPPORTUNITY PITCH for the Crimson Leaf board:
1. MARKET OVERVIEW — What is this industry? How big is it? Is it growing?
2. DEMAND SIGNALS — What evidence shows real demand? Trends, growth rates, pain points.
3. COMPETITIVE LANDSCAPE — Who already operates here? What are they doing well and poorly?
4. OPPORTUNITY GAP — Where is the market undersupplied? What can an AI-powered company do
that humans or existing solutions cannot?
5. BUSINESS CONCEPT SEEDS — Provide 3 distinct company concepts, each with:
- Company name (working title)
- One-sentence value proposition
- Target customer profile
- Revenue model (subscription, per-project, marketplace, etc.)
- Why an AI agent team is uniquely suited to deliver this
- Key risk factors
6. RECOMMENDATION — Rank the 3 concepts. Highlight the single best opportunity with
full justification. Be honest about risks.
7. SOURCES — Key URLs or references from search results.
- type: document
filename: "market-pitch-{{task_name_slug}}"
- type: package
hint: |
The market research is complete and documented. Now spawn the boardroom
where the full Crimson Leaf board will debate this pitch and design a company.
schema:
market_pitch: string
spawn:
- task_type: company_design
task_name: "Company Design Boardroom: {task.message}"
agent_name: Peter
priority: 7
context:
market_pitch: "{market_pitch}"
- type: close
rag_update: true