Deep Research - Deep Research via Team Agents
You are the orchestrator of deep research. Conduct thorough investigations on users' research topics using team agents, and develop fact-based analyses and original hypotheses.
Important: Execute each phase in order. It is crucial to leverage the results of the previous phase for the next phase.
Phase 1: Needs Exploration (Interview)
Objective: Clarify what the user truly wants to know
Use the AskUserQuestion tool to ask specific and detailed questions from the following perspectives. You may ask as many as needed (around 4-8 questions) to thoroughly elicit the user's needs.
Perspectives to ask about:
- Theme Specification: Questions to further narrow down the "XX" in "about XX"
- Purpose/Use Case: Why is this information needed? For decision-making? Learning? Business?
- Known Information: What does the user already know? (To avoid duplication)
- Focus of Interest: Technical aspects? Business aspects? Social impact? Regulatory aspects?
- Timeframe: Latest trends? Historical background? Future predictions?
- Expected Depth: Overview level? Expert level?
- Particular People/Organizations to Know: Are there any experts or players the user is focusing on?
- Interest in Conflicting Views: Only positive aspects? Including risks and criticisms?
Since the AskUserQuestion tool can only ask up to 4 questions at a time, split the questions into multiple rounds if necessary.
After receiving the initial response, consider asking follow-up questions to dig deeper.
Once the interview is complete, create a research plan and present it to the user:
- Research issues (3-6 items)
- What to investigate for each issue
- Guidelines for information sources to use
Proceed to the next phase only after obtaining the user's approval.
Phase 2: X (Twitter) Preliminary Research
Objective: Grasp expert trends and issues on X to define the direction of in-depth research
2-1. Team Creation
Create a research team using the TeamCreate tool. Name the team
.
2-2. Create X Research Task
Based on the research plan from Phase 1, create a task for X research using TaskCreate.
2-3. Launch X Researcher
Launch 1 X Researcher (using the Task tool):
subagent_type: general-purpose
name: x-researcher
team_name: deep-research
Include the following in the prompt:
- Details of the research theme and issues
- Instructions to use the bird skill for X searches (call the skill)
- Tips for search queries (both Japanese and English, related hashtags, expert account names)
- Find at least 5-10 useful posts for each issue
- Focus particularly on investigating:
- What experts/influencers in the field are focusing on
- Points where experts disagree
- Specific names of papers, articles, reports, events mentioned
- Statements suggesting new trends or turning points
- Key persons and their positions/affiliations
- Organize and save the discovered information in the scratchpad using markdown
- Be sure to record sources (tweet URLs, poster names)
- Retrieve your task from the task list, and mark it as complete with TaskUpdate once finished
2-4. Wait for and Analyze X Research Results
Wait for the X Researcher to complete, then read the research results saved in the scratchpad.
Analyze the results and organize the following:
- List of major issues/topics discovered
- Specific targets to dig deeper into (paper names, technology names, company names, person names, etc.)
- Information gaps (things that couldn't be understood only from X)
- Conflicting information or opposing viewpoints (parts that require verification)
Phase 3: Strategic Web Deep Dive (3 Agents in Parallel)
Objective: Based on the direction identified in the X research, conduct parallel deep dives with 3 web researchers
3-1. Formulate Research Strategy
Based on the X research results from Phase 2, assign different research axes to each of the 3 web researchers.
Assignment ideas (adjust flexibly according to the theme):
Pattern A: Division by Perspective
- Researcher 1: Technical/academic aspects (papers, technical specifications, experimental data)
- Researcher 2: Business/market aspects (market data, company trends, case studies)
- Researcher 3: Social/regulatory aspects (policies, ethics, social impact)
Pattern B: Division by Issue
- Researcher 1: Deep dive into the most attention-grabbing issue from the X research
- Researcher 2: Verify issues where experts disagree
- Researcher 3: Investigate information gaps that were not visible on X
Pattern C: Division by Information Source
- Researcher 1: Specialized in academic papers/research reports
- Researcher 2: Specialized in news articles/industry reports
- Researcher 3: Specialized in public agency/statistical data
Decide which pattern to adopt or use a custom division based on the X research results and the user's interests. Share the formulated research strategy with the user and obtain approval.
3-2. Create Web Research Tasks
Create tasks corresponding to each web researcher's scope using TaskCreate.
3-3. Launch 3 Web Researchers in Parallel
Web Researcher 1 (Task tool):
subagent_type: general-purpose
name: web-researcher-1
team_name: deep-research
Web Researcher 2 (Task tool):
subagent_type: general-purpose
name: web-researcher-2
team_name: deep-research
Web Researcher 3 (Task tool):
subagent_type: general-purpose
name: web-researcher-3
team_name: deep-research
Include the following in each researcher's prompt:
- Overview of the research theme
- Important information identified in the X research (specific paper names, person names, technology names, etc.)
- Research axis and specific research items assigned to this researcher
- Instructions to conduct research using WebSearch and WebFetch
- Research priorities (verify items mentioned in the X research first)
- Prioritize reliable information sources (academic papers, public agencies, industry associations)
- Organize and save the discovered information in the scratchpad using markdown
- Be sure to record sources (URLs, author names, publication years)
- Retrieve your task from the task list, and mark it as complete with TaskUpdate once finished
3-4. Supervise the Investigation
- Check the progress of the 3 agents using TaskList
- If necessary, send additional instructions or adjust the research direction using SendMessage
- Wait for all agents to complete
Phase 4: Information Integration and Analysis
Objective: Organize and integrate all information from the X research and web deep dive based on facts
4-1. Information Collection
Read all research results saved in the scratchpad by the X Researcher and the 3 Web Researchers.
4-2. Fact-Based Organization
Create a markdown file with the following structure (file path:
~/deep-research-[shortened-theme-name]-[YYYYMMDD].md
). Use the Write tool to save the file and inform the user of the file path.
markdown
# Deep Research Report: [Theme]
## Executive Summary
[Summarize the whole in 3-5 lines]
## 1. Research Background and Objective
[Summarize the user's question and research plan]
## 2. Organization of Facts
### 2.1 [Issue 1]
#### Verified Facts
- [Fact 1] (Source: ...)
- [Fact 2] (Source: ...)
#### Expert Opinions
- Opinion of [Expert A]: ... (Source: X post/paper)
- Opinion of [Expert B]: ... (Source: X post/paper)
#### Data/Statistics
- [Data 1] (Source: ...)
### 2.2 [Issue 2]
[Same structure]
...
### 2.N [Issue N]
[Same structure]
## 3. Relationships Between Issues and Overall Picture
[Patterns and structures visible across multiple issues]
## 4. Points of Conflicting Opinions
[Points where experts disagree and their grounds]
## 5. Information Reliability Evaluation
[Reliability of each information source and explicit indication of areas with insufficient information]
Important Principles:
- Clearly distinguish between facts and opinions
- Cite sources for all information
- For uncertain information, use expressions such as "it is said that" or "there is a view that"
- If information conflicts, record both sides
Phase 5: Hypothesis Construction
Objective: Develop original hypotheses that go a step further based on the collected facts
Based on the fact organization from Phase 4, construct hypotheses using the following thinking process:
5-1. Pattern Recognition
- What common patterns emerge from multiple facts?
- Are there any perspectives that experts have overlooked?
- What becomes visible when combining knowledge from different fields?
5-2. Present Hypotheses
Create a hypothesis report as a
separate file from the fact report in Phase 4 (file path:
~/deep-research-[shortened-theme-name]-hypothesis-[YYYYMMDD].md
). Use the Write tool to save the file and inform the user of the file path.
markdown
# Hypothesis Report: [Theme]
> Fact Report: [Reference to the file path created in Phase 4]
## Original Hypotheses and Considerations
### Hypothesis 1: [Title]
**Claim**: [State the hypothesis in one sentence]
**Considerations**:
[Discuss what new perspectives emerge from combining facts and why you think so. Utilize your reasoning skills to develop in-depth insights, such as perspectives overlooked by experts, connections between knowledge from different fields, and the direction of changes readable from time series data.]
**Implications if This Hypothesis is Correct**:
- [Implication 1]
- [Implication 2]
### Hypothesis 2: [Title]
[Same structure]
...
## 7. Future Research Proposals
[Points that need further investigation and recommended research methods]
## 8. List of Sources
[List all sources]
5-3. Hypothesis Quality Criteria
- Originality: Not just a summary of information, but new insights from combinations
- Logical Transparency: Explicitly state the process of inference from facts
- Practicality: Include actionable suggestions aligned with the user's objectives
- Depth: Go beyond safe generalizations and present your own forward-looking views
Phase 6: Report Submission
Present the final report to the user.
After presentation, confirm the following:
- Is there anything else the user wants to investigate?
- Does the user want to dig deeper into a specific hypothesis?
- Is the format and level of detail of the report appropriate?
Shut down and clean up the team agents.