$36
Diamond Search is a multi-agent product research methodology. It starts narrow (user's request), expands wide (7 agents searching from different angles), then converges to one clear recommendation.
[BRIEF]
|
--------+--------
| | | |
[1] [2] [3] [4] ← Search Layer (parallel)
| | | |
--------+--------
|
[5] [6] ← Expertise Layer (parallel)
|
[CONVERGENCE]
|
[7] ← Price Layer
|
[OUTPUT]
Every recommendation is evaluated against these 5 criteria:
| # | Criterion | Description |
|---|---|---|
| 1 | Performance | Delivers what's needed for the specific use case |
| 2 | Value | Price justified by actual (not theoretical) performance |
| 3 | Availability | In stock locally with warranty and service |
| 4 | Reliability | Genuine positive reviews from real long-term users |
| 5 | Timing | Not about to be replaced by a new generation or discontinued |
| # | Agent | Role | Layer |
|---|---|---|---|
| 1 | Mainstream Research | Top sources: Reddit, YouTube, Wirecutter, RTINGS | Search |
| 2 | Anti-Bias Research | Reverse search, alternative brands, breaks echo chambers | Search |
| 3 | Local Market Scanner | Saudi platforms: Amazon.sa, noon, jarir, extra | Search |
| 4 | Niche Community Diver | Specialized forums, Facebook groups, Discord, small subreddits | Search |
| 5 | Domain Expert | Judges results with technical expertise (does NOT search) | Expertise |
| 6 | Latest Tech Tracker | New launches, upcoming models, discontinuations | Expertise |
| 7 | Price & Deal Hunter | Coupons, cashback, installments, cross-platform price comparison | Price |
For full agent prompts and methodology details: read
references/diamond-methodology.md
Before spawning search agents, detect which search tools are available in the current environment. Assign tools to agents for maximum coverage.
| Tool | Best For | Detection |
|---|---|---|
camofox_* (Camoufox) | Retailer sites, Amazon, Google Shopping — bypasses bot detection | Check if camofox_create_tab is available |
web_search | Quick broad web search (Brave API) | Check if web_search is available |
web_fetch | Extracting content from specific URLs | Check if web_fetch is available |
browser | General browser automation | Check if browser is available |
| Exa (via MCP/mcporter) | AI-powered semantic search, great for finding expert content | Check if mcporter or exa MCP tool is available |
Distribute tools across agents to avoid redundancy and maximize coverage:
web_search for broad queries + web_fetch for review sites + camofox for YouTube/Redditweb_search with reverse queries + Exa for semantic discovery + camofox for niche sitescamofox for Saudi retailer sites (Amazon.sa, noon, jarir, extra) — best for bot-protected stores. Fallback: web_fetchcamofox for Discord/Facebook + web_search for subredditsweb_search for recent launches + web_fetch for tech news sitescamofox for live pricing on retailer sites + web_search for coupon codesIf a tool is not available, the agent falls back to the next best option. Every agent can use web_search + web_fetch as the universal baseline.
Include this tool availability context in every sub-agent prompt:
Available search tools: {list all available tools}
Preferred tools for your role: {assigned tools}
Fallback: web_search + web_fetch
For complex products with many competing options, search-layer agents (1-4) may spawn their own sub-agents to parallelize across sources. This is the nested sub-agent pattern.
When to use nested sub-agents:
Example: Agent 1 (Mainstream) might spawn:
camofox or web_searchcamofox or web_searchweb_fetchWhen NOT to nest: Simple products (cables, basic accessories) or when only 2-3 options exist. Over-parallelizing wastes resources.
The orchestrating agent decides based on product complexity whether to enable nesting or run flat.
Gather from the user:
If the user hasn't clarified something important, ask. Do not assume.
Language handling:
Spawn 4 sub-agents in parallel using sessions_spawn. Each agent gets:
# Spawn all 4 search agents in parallel
sessions_spawn(
task="""You are Agent 1 (Mainstream Research) in a 7-agent product research team.
Your teammates cover other angles — focus strictly on YOUR role.
Product: {product}
Budget: {budget}
Use case: {use_case}
User preferences: {preferences}
YOUR ROLE: Search mainstream, well-known sources for the best options.
Sources: Reddit, YouTube (detailed reviews), Wirecutter, RTINGS, Tom's Guide.
Available search tools: {available_tools}
Preferred tools: web_search for broad queries, web_fetch for review articles, camofox for Reddit/YouTube
Fallback: web_search + web_fetch
INSTRUCTIONS:
- Focus on reviews from the last 12 months
- Prefer comparative reviews over single-product reviews
- Note any clear consensus (same product recommended by multiple sources)
- If using camofox, navigate to specific review sites and extract key findings
OUTPUT FORMAT:
For each recommended product (3-5 max):
- Product name and model
- Why it's recommended
- Source(s) with URLs
- Key specs relevant to the use case
- Any noted drawbacks
""",
label="agent-1-mainstream"
)
# Similarly spawn agents 2, 3, 4 in parallel (see reference file for full prompts)
Agent 2 (Anti-Bias): Reverse search strategies — negative search, lesser-known brands, origin-based search, price-point search, professional community search. Goal: break the echo chamber.
Agent 3 (Local Market): Scan Saudi platforms (Amazon.sa, noon.com, jarir.com, extra.com). Check actual prices, availability, seller type, shipping, warranty. Use camofox for live pricing if available.
Agent 4 (Niche Community): Deep-dive into specialized forums, small subreddits, Facebook groups, Discord servers. Find opinions from power users and professionals, not just reviewers.
For complete agent prompts: read
references/diamond-methodology.md
Wait for all 4 to complete before proceeding.
Spawn 2 sub-agents in parallel. These receive the combined results from Phase 2a.
Agent 5 (Domain Expert): Does NOT search. Analyzes the search results as an expert and answers 5 critical questions:
Agent 6 (Latest Tech): Searches for:
For complete prompts and the expert-vs-latest-tech priority rule: read
references/domain-expertise.md
Merge all results and apply convergence rules:
Apply the 5 Golden Product Criteria to each remaining option. Eliminate anything that fails 2+ criteria.
For detailed convergence rules: read
references/anti-bias-playbook.md
Spawn a single sub-agent for price optimization:
Agent 7 (Price & Deal Hunter): For each finalist product:
For Saudi market pricing patterns and platform details: read
references/market-dynamics.md
Deliver the final recommendation in the user's preferred language using this template:
## Recommendation: {product_name}
### Why This Product
{Explanation grounded in the 5 Golden Product Criteria}
### Quick Comparison
| Product | Price | Platform | Rating | Note |
|---------|-------|----------|--------|------|
| ... | ... | ... | ... | ... |
### Best Available Deal
- Platform: {platform}
- Price: {price}
- Seller: {seller_type}
- Coupon: {coupon_if_any}
- Cashback: {cashback_if_any}
- Installments: {installment_options}
### Alerts
- {timing_advice}
- {price_inversion_warning_if_any}
- {discontinuation_warning_if_any}
### Alternatives
1. {alternative_1} — {why_it's_a_good_second_choice}
2. {alternative_2} — {why_it_serves_a_different_need}
### Sources
- {list key sources with URLs used across all agents}
Platform formatting notes:
User: "I need a USB microphone for podcasting, budget around $150"
Brief: Product=USB microphone, Budget=$150, Use=podcasting, Preferences=none stated
Search Layer results (summarized):
Expertise Layer:
Convergence: PD200X wins on value. MV7+ if budget allows. AT2020USB-X only for treated rooms.
Price Layer: PD200X on Amazon $79, noon.com 299 SAR (price inversion: +15%, acceptable).
Output: Recommends Maono PD200X with MV7+ as premium alternative.
| File | Read When |
|---|---|
references/diamond-methodology.md | You need full agent prompts, want to customize agent behavior, or need to adjust for product complexity |
references/anti-bias-playbook.md | You need reverse search strategies, brand evaluation frameworks, or echo chamber detection |
references/domain-expertise.md | You need the expert's evaluation framework, real-world examples, or the expert-vs-latest-tech priority rule |
references/market-dynamics.md | You need Saudi market pricing patterns, platform comparison, seller verification, or price inversion detection |
The product is anchored on VALUE, not on BRAND. We expand the search horizon so decisions are based on value, not just what shows up first on Google.