[feature] Add example integration for Qwen-Deep-Research model#48
Open
denverdino wants to merge 1 commit intoagentscope-ai:mainfrom
Open
[feature] Add example integration for Qwen-Deep-Research model#48denverdino wants to merge 1 commit intoagentscope-ai:mainfrom
denverdino wants to merge 1 commit intoagentscope-ai:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new example integration for the Qwen-Deep-Research model from Alibaba Cloud's Bailian platform. The example demonstrates a simplified deep research agent that performs a two-step research process: first asking clarifying questions, then executing the full research workflow with web search capabilities.
Key Changes
- New
QwenDeepResearchAgentclass implementing async research capabilities with streaming responses - Integration with DashScope API for accessing the Qwen-Deep-Research model
- Two-phase research workflow: clarification followed by deep research with web search
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| deep_research/agent_qwen_deep_research/requirements.txt | Specifies agentscope dependency version requirement |
| deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py | Core agent implementation with async API calls and streaming response processing |
| deep_research/agent_qwen_deep_research/main.py | Example usage demonstrating the two-step research workflow |
| deep_research/agent_qwen_deep_research/README.md | Documentation for setup and usage |
| README.md | Added table entry for new example |
| README_zh.md | Added Chinese table entry for new example |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
deep_research/agent_qwen_deep_research/qwen_deep_research_agent.py
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 PR Type
📚 Description
Add example agent for Qwen-Deep-Research model from Bailian platform to lower the barrier for adoption
https://www.alibabacloud.com/help/zh/model-studio/qwen-deep-research
🧪 Testing Validation
N/A
agentscoperequired?Yes
pre-commit)?]Yes
✅ Checklist
Please complete the following checks before submitting the PR:
pre-commit run --all-filespytest tests/)agentscopebest practices (e.g., config management, logging)agentscope-sampleshas been updated (e.g.,README.md)