-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add deep research agent as an example #679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a comprehensive deep research agent implementation as an example within the AgentScope framework. The agent performs sophisticated multi-step research tasks by decomposing complex queries, conducting web searches, and generating detailed reports.
Key changes include:
- Implementation of a DeepResearchAgent class with advanced research capabilities
- Supporting utilities for web search result processing and prompt management
- Structured data models for task decomposition and result formatting
- Comprehensive prompt templates for various research phases
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
deep_research_agent.py |
Main agent implementation extending ReActAgent with deep research capabilities |
main.py |
Entry point demonstrating agent usage with DashScope model and Tavily search |
utils.py |
Helper functions for prompt loading, search result truncation, and structured output |
promptmodule.py |
Pydantic models defining structured output schemas for research tasks |
prompt_*.md |
Detailed prompt templates for different research phases and tool usage |
README.md |
Documentation explaining setup, usage, and configuration options |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
b6fcc87 to
8933eed
Compare
Co-authored-by: Yuexiang Xie <[email protected]>
8933eed to
6deaa72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me, and we should unifiy the planner module in broswer, deep research and meta planner agents in the future
name: Creating deep research agent as an example
Description
Creating deep research agent as an example
Core Components
deep_research_agent.py: The main agent class.main.py: The main function to start the application with deep research agent.README.md: The readme file.utils.py: Additional functions for agent.built_in_prompt/*.md: Detailed prompts for deep research agent.built_in_prompt/promptmodule.py: Json schema for structure ourput.Checklist
Please check the following items before code is ready to be reviewed.