Overview
Deep Research Agent System Community Edition is a workflow-based deep research system capable of performing multi-round iterative web searches and comprehensive analysis on complex topics. The system combines LLM intelligent analysis with real-time web search to generate detailed research reports.
Dependent Skills
Workflow Invocation Logic
System Architecture
This system is a workflow description document with no execution script. It depends on the following external skills:
- byted-web-search skill: Execute web search`
- LLM Skill: Used for intelligent analysis and reasoning
Workflow
1. Input Reception Stage
- User Input: Research topic (sys.query) and research depth (depth)
- Default Depth: 3 (configurable)
2. Initialization Stage
- Create an iteration array with a depth equal to the specified depth value
- Array format:
[0, 1, ..., depth-1]
3. Iterative Search Stage (executed over multiple rounds)
Each round of iteration executes the following steps:
a) LLM Intelligent Analysis
- Use the LLM to analyze the current research state
- Input: user query, collected findings, searched topics
- Output: JSON format, containing:
nextSearchTopic: The next search topic (string or None)shouldContinue: Whether to continue searching (boolean value)
b) JSON Parsing
- Extract
nextSearchTopicandshouldContinuefields - Update conversation variables
c) Conditional Judgment
- If
shouldContinueis True:- Execute byted-web-search:
python scripts/web_search.py "<nextSearchTopic>" - Append the search results to the findings array
- Update the search progress display
- Continue to the next round of iteration
- Execute byted-web-search:
- If
shouldContinueis False:- End the current iteration
- Output intermediate results
d) Variable Management
- Update
nextSearchTopicandshouldContinuevariables - Append
nextSearchTopicto thetopicsarray (records searched topics) - Avoid repeatedly searching the same topic
4. Comprehensive Analysis Stage
- After all iterations are completed, use the LLM to comprehensively analyze all collected findings
- Generate a detailed comprehensive analysis report
- Output format: a detailed report in Markdown format
5. Report Generation Stage
- Output the final research analysis results
- Include important insights, conclusions, and remaining uncertainties
- Cite sources appropriately
Variable Description
The system maintains the following conversation variables:
| Variable Name | Type | Description |
|---|---|---|
topics |
array[string] | List of searched topics |
nextSearchTopic |
string | The next topic to search |
findings |
array[string] | List of collected search results |
shouldContinue |
string | Flag indicating whether to continue searching |
Web Search Integration
When web search is needed:
- Use
nextSearchTopicas the query parameter - Run the byted-web-search skill:
python scripts/web_search.py "<query>" - Organize the answer based on the returned summary list, without adding or fabricating content
- Append the search results to the
findingsarray
Note: Do not use any search parameter configurations (such as search_depth, topic, max_results, country, time_range, days, etc.); keep only the core input query.
Progress Tracking
The system displays search progress in real time:
- Format:
{index + 1}/{depth}th search executed. - For example:
1/3th search executed.
Use Cases
Applicable Scenarios
- Complex topic research: Requires in-depth, comprehensive research on a specific topic
- Latest information analysis: Requires generating a detailed analysis report based on the latest web information
- Multi-perspective exploration: Requires exploring a topic from different angles and dimensions
- Systematic investigation: Requires systematic investigation and evidence collection
Typical Use Cases
- Market trend analysis
- Technology development research
- Competitor analysis
- Academic literature review
- Product research
Technical Features
Intelligent Features
- Adaptive search: After each round of search, the LLM analyzes the results and intelligently decides the next search direction
- Avoid repetition: The system records searched topics to avoid repeatedly searching the same content
- Deep reasoning: Uses a dedicated reasoning model for comprehensive analysis
System Features
- Multi-round iteration: Supports multi-round search with a specified depth
- Parallel capability: Supports up to 10 parallel searches
- State management: Complete variable management and state tracking
- Visible progress: Displays search progress and status in real time
Integration Features
- LLM integration: Combines GPT-4o for intelligent analysis and deepseek-reasoner for deep reasoning
- Web search: Integrates the byted-web-search skill to obtain real-time web information
- JSON processing: Uses JSON parsing tools to process structured data
Workflow Example
Input Example
用户查询: "人工智能在医疗领域的最新发展"
研究深度: 3
Execution Flow
-
Round 1:
- LLM analysis: Decides to search "latest advances in AI medical diagnosis"
- Web search: Executes the search and collects results
- Status update: Records the topic and decides to continue searching
-
Round 2:
- LLM analysis: Based on the results of Round 1, decides to search "breakthroughs in medical imaging AI technology"
- Web search: Executes the search and collects results
- Status update: Records the topic and decides to continue searching
-
Round 3:
- LLM analysis: Based on the results of the first two rounds, decides to search "applications of AI in drug development"
- Web search: Executes the search and collects results
- Status update: Records the topic and decides to end the search
-
Comprehensive analysis:
- LLM comprehensively analyzes all collected findings
- Generate a detailed report on "The Latest Developments of Artificial Intelligence in the Healthcare Field"
Output Example
# 人工智能在医疗领域的最新发展研究报告
## 执行摘要
[基于三轮搜索的综合分析...]
## 主要发现
1. AI在医疗诊断方面的最新进展
- [具体发现1]
- [具体发现2]
2. 医疗影像AI技术突破
- [具体发现3]
- [具体发现4]
3. AI在药物研发中的应用
- [具体发现5]
- [具体发现6]
## 结论与建议
[综合分析结论...]
## 未来研究方向
[基于研究发现提出的未来研究方向...]
Precautions
Workflow Limitations
- No executable script: This skill is a workflow description document and does not contain executable scripts
- External dependencies: Depends on the byted-web-search skill to perform actual searches
- Parameter simplification: When searching, only use the query parameter and ignore other search configurations
Usage Recommendations
- Depth setting: Set an appropriate depth value according to research complexity
- Query optimization: Provide a clear and specific research topic
- Result verification: Perform necessary fact-checking on the generated report
Best Practices
- Progressive research: Start with a broad topic and gradually go deeper into specific directions
- Multi-source verification: Combine information from multiple sources for cross-verification
- Timely updates: For rapidly developing topics, it is recommended to re-research regularly
Troubleshooting
Frequently Asked Questions
- No search results: Check whether the query is too specific or specialized, and try more general search terms
- Iteration ends too early: Adjust the LLM's temperature parameter or provide more context
- Duplicate results: The system has a built-in mechanism to avoid duplication; if it still occurs, manual intervention can be used
Performance Optimization
- Parallel search: Make full use of the system's parallel capabilities (up to 10 in parallel)
- Cache utilization: For multiple research runs on the same topic, consider caching results
- Incremental updates: For continuous research, an incremental update strategy can be adopted
Important Notice: This skill describes a deep research workflow, and actual execution depends on external skills and configurations. Please ensure that the byted-web-search skill and related LLM services are correctly configured.