You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Performs in-depth research on a specific query autonomously using multiple steps and internal tool calls (navigation, fetching, extraction). It aims to produce a comprehensive final report validated by a critique process.',
84
+
description: 'Performs in-depth research on a specific query autonomously using multiple steps and internal tool calls (navigation, fetching, extraction). It always hands off to the content writer agent to produce a comprehensive final report.',
85
85
systemPrompt: `You are a singular task research agent designed to conduct in-depth research on a single topic provided by the user. Your task is to leverage browser capabilities to gather comprehensive information, following these steps:
86
86
87
87
Here is an example of steps you can take to complete your research (go in this order):
@@ -90,48 +90,37 @@ Here is an example of steps you can take to complete your research (go in this o
90
90
3. Call fetcher_tool to fetch the content of the all the URLs you have found from the search results
91
91
4. Focus on collecting comprehensive data rather than writing the final report yourself
92
92
93
-
## IMPORTANT: Hand off to content writer for final report
94
-
Once you've collected sufficient research data (at least 3-5 different sources with substantial information), hand off to the content_writer_agent via the handoff_to_content_writer_agent tool. The content writer is specifically trained to organize research data into coherent, well-structured reports.
93
+
## MANDATORY: Hand off to content writer for final report
94
+
Once you've collected sufficient research data (at least 3-5 different sources with substantial information), you MUST hand off to the content_writer_agent via the handoff_to_content_writer_agent tool. The content writer is specifically trained to organize research data into coherent, well-structured reports.
95
95
96
-
When to use the handoff:
96
+
When to use the handoff (REQUIRED for ALL cases):
97
97
- After you've collected enough diverse, high-quality information
98
98
- When you have explored multiple perspectives on the topic
99
99
- When you're ready for the information to be organized into a final report
100
-
- Instead of using finalize_with_critique directly on your own report
101
100
102
101
What happens during handoff:
103
102
- The content_writer_agent will receive your research data
104
103
- It will analyze the information and create a well-structured report
105
-
- It will handle the finalize_with_critique stage for you
104
+
- It will handle the finalize_with_critique stage automatically
106
105
107
-
Only use finalize_with_critique yourself if you decide NOT to use the handoff for some reason.
106
+
## Research Quality Guidelines
108
107
109
-
## If Not Using Handoff
110
-
If you decide to complete the research yourself without handoff, synthesize all collected information into a comprehensive research report in markdown and use the 'finalize_with_critique' tool to submit your final answer for quality evaluation.
108
+
When collecting research data, focus on:
109
+
1. Gathering information from diverse, reliable sources
110
+
2. Exploring multiple perspectives on the topic
111
+
3. Collecting detailed data, including statistics, expert opinions, case studies, etc.
112
+
4. Organizing information into logical categories
113
+
5. Including important context, historical background, and current trends
111
114
112
-
The 'finalize_with_critique' tool will ensure your research meets the user's requirements. If it provides feedback, incorporate it and try again until your answer is accepted.
115
+
Collect sufficient information to enable the content writer to create a comprehensive report of at least 5 different sections. If there is not enough content, do more research.
113
116
114
-
## Here is an example of the final report structure (you can come up with your own structure that is better for the user's query):
115
-
116
-
Present your findings in a structured markdown report with:
117
-
118
-
1. **Executive Summary**: Brief overview of key findings
119
-
2. **Research Question**: Clear restatement of what you investigated
120
-
3. **Methodology**: Sources consulted and selection criteria
121
-
4. **Key Findings**: Organized by main themes or questions
122
-
5. **Analysis**: Synthesis of information, highlighting consensus and contradictions
123
-
6. **Limitations**: Gaps in available information
124
-
7. **Conclusions**: Summary of the most reliable answers based on the research
125
-
8. **References**: Full citation list of all sources consulted
126
-
127
-
Maintain objectivity throughout your research process and clearly distinguish between well-established facts and more speculative information. When appropriate, note areas where more research might be needed. Note: the final report should be at least 5000 words or even longer based on the topic, if there is not enough content do more research.`,
117
+
Maintain objectivity throughout your research process and clearly distinguish between well-established facts and more speculative information.`,
128
118
tools: [
129
119
'navigate_url',
130
120
'navigate_back',
131
121
'fetcher_tool',
132
122
'schema_based_extractor',
133
-
'node_ids_to_urls',
134
-
'finalize_with_critique'
123
+
'node_ids_to_urls'
135
124
],
136
125
maxIterations: 15,
137
126
modelName: ()=>AIChatPanel.getMiniModel(),
@@ -206,7 +195,7 @@ Your process should follow these steps:
206
195
207
196
The final output should be in markdown format, and it should be lengthy and detailed. Aim for 5-10 pages of content, at least 1000 words.`,
0 commit comments