Skip to content

[feature] Add example integration for Qwen-Deep-Research model#48

Open
denverdino wants to merge 1 commit intoagentscope-ai:mainfrom
denverdino:main
Open

[feature] Add example integration for Qwen-Deep-Research model#48
denverdino wants to merge 1 commit intoagentscope-ai:mainfrom
denverdino:main

Conversation

@denverdino
Copy link

📝 PR Type

  • Add new sample
  • Update existing sample
  • Add new test cases
  • Fix test failures
  • Documentation/Configuration update

📚 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

  1. How to run the added/modified test cases?

N/A

  1. Is integration testing with agentscope required?

Yes

  1. Has code been formatted (e.g., pre-commit)?]

Yes


✅ Checklist

Please complete the following checks before submitting the PR:

  • [Y] All sample code has been formatted with pre-commit run --all-files
  • [Y] All new/modified test cases have passed (run pytest tests/)
  • Test coverage has not decreased (if applicable)
  • [Y] Sample code follows agentscope best practices (e.g., config management, logging)
  • [Y] Related documentation in agentscope-samples has been updated (e.g., README.md)

@cla-assistant
Copy link

cla-assistant bot commented Dec 8, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a 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 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 QwenDeepResearchAgent class 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants