Skip to content

add modelstudio_demos package with 2 demos#76

Merged
rayrayraykk merged 6 commits intoagentscope-ai:mainfrom
AttanWu:add_modelstudio_deploy_demos
Jan 4, 2026
Merged

add modelstudio_demos package with 2 demos#76
rayrayraykk merged 6 commits intoagentscope-ai:mainfrom
AttanWu:add_modelstudio_deploy_demos

Conversation

@AttanWu
Copy link
Collaborator

@AttanWu AttanWu commented Dec 10, 2025

📝 PR Type

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

📚 Description

chat demo
mcp with chat demo
all run for modelstudio deploy


🧪 Testing Validation

[Please explain how to validate the changes:

  1. How to run the added/modified test cases?
  2. Is integration testing with agentscope required?
  3. Has code been formatted (e.g., pre-commit)?]

✅ Checklist

Please complete the following checks before submitting the PR:

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

@AttanWu AttanWu requested a review from a team December 10, 2025 08:12
@cla-assistant
Copy link

cla-assistant bot commented Dec 10, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


aitian.wat seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@cla-assistant
Copy link

cla-assistant bot commented Dec 10, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


aitian.wat seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Osier-Yi Osier-Yi requested a review from a team December 30, 2025 07:31
@AttanWu
Copy link
Collaborator Author

AttanWu commented Jan 1, 2026

have fixed

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 modelstudio_demos package containing two demonstration projects for deploying agents using AgentScope and Alibaba Cloud Bailian's ModelStudio platform.

Purpose: Provide starter templates for developers to quickly build and deploy agents either locally or to Alibaba Cloud Bailian's high-code platform.

Key Changes:

  • Added chat_demo: A basic chat agent using AgentScope's ReActAgent with tool execution capabilities
  • Added mcp_server_with_chat: An MCP (Model Context Protocol) server integrated with chat functionality using FastMCP framework

Reviewed changes

Copilot reviewed 17 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
modelstudio_demos/mcp_server_with_chat/setup.py Package setup configuration with UUID-based naming for cloud deployment
modelstudio_demos/mcp_server_with_chat/requirements.txt Dependencies including FastMCP, agentscope-runtime, and various tools
modelstudio_demos/mcp_server_with_chat/deploy_starter/main.py FastAPI application integrating MCP server with chat endpoint
modelstudio_demos/mcp_server_with_chat/deploy_starter/mcp_server.py MCP server definition with example tools (addition, search)
modelstudio_demos/mcp_server_with_chat/deploy_starter/config.yml Configuration file for server, MCP, and deployment settings
modelstudio_demos/chat_demo/setup.py Package setup for basic chat demo
modelstudio_demos/chat_demo/requirements.txt Minimal dependencies for chat functionality
modelstudio_demos/chat_demo/deploy_starter/main.py AgentScope-based chat agent with LocalDeployManager
modelstudio_demos/chat_demo/deploy_starter/config.yml Configuration for chat demo deployment
modelstudio_demos/chat_demo/README_zh.md Chinese documentation with setup and deployment instructions
modelstudio_demos/chat_demo/README_en.md English documentation with setup and deployment instructions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@rayrayraykk rayrayraykk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rayrayraykk rayrayraykk merged commit 8042103 into agentscope-ai:main Jan 4, 2026
1 of 2 checks passed
@rayrayraykk
Copy link
Member

@all-contributors please add @AttanWu for example, code, doc

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.

4 participants