You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentScope 2.0 has been officially released. We plan to upgrade QwenPaw's backend dependency from AgentScope 1.x (currently agentscope==1.0.20 + agentscope-runtime==1.1.6) to AgentScope 2.0, adopting its new architecture, APIs, and runtime model. This migration is expected to ship as QwenPaw v1.2.0.
AgentScope 1.x is entering maintenance mode — new features and optimizations will only land in 2.0.
AgentScope 2.0 introduces breaking API changes — staying on 1.x means accumulating tech debt and missing upstream improvements (better message protocol, new agent lifecycle, improved MCP integration, sandbox for secure execution, etc.).
Sandbox mechanism — 2.0 provides built-in sandbox support for secure code execution and tool isolation, which is critical for QwenPaw's Coding Mode and plugin system.
Community alignment — downstream users and plugin authors will expect 2.0 compatibility.
Proposed Solution
Migration Scope
Area
Files Affected (est.)
Key Changes
Agent lifecycle & message protocol
app/runner/, agents/
Adapt to new AgentBase / message class API
Model factory / provider integration
app/routers/providers.py, agents/
New model wrapper interface
MCP client
app/mcp/
Align with 2.0 MCP protocol changes
Runtime & multi-agent orchestration
app/multi_agent_manager.py, app/runner/
New runtime/orchestration primitives
Channels
app/channels/
Message format adaptation
Plugins
plugins/
Update tool base class imports
Tests
tests/
Rewrite mocks & fixtures for new API
Migration Strategy
Phase 1 — Dependency upgrade & core migration: Bump agentscope to 2.0 in pyproject.toml, migrate app/runner/, agents/, and multi_agent_manager.py to native 2.0 APIs. All work happens on the feat/agentscope-2.0 feature branch.
Summary
AgentScope 2.0 has been officially released. We plan to upgrade QwenPaw's backend dependency from AgentScope 1.x (currently
agentscope==1.0.20+agentscope-runtime==1.1.6) to AgentScope 2.0, adopting its new architecture, APIs, and runtime model. This migration is expected to ship as QwenPaw v1.2.0.Component(s) Affected
Problem / Motivation
Proposed Solution
Migration Scope
app/runner/,agents/AgentBase/ message class APIapp/routers/providers.py,agents/app/mcp/app/multi_agent_manager.py,app/runner/app/channels/plugins/tests/Migration Strategy
agentscopeto 2.0 inpyproject.toml, migrateapp/runner/,agents/, andmulti_agent_manager.pyto native 2.0 APIs. All work happens on thefeat/agentscope-2.0feature branch.main.Branching & PR Strategy
feat/agentscope-2.0will be created frommain.main.Current State & Open PRs
agentscope==1.0.20,agentscope-runtime==1.1.6agentscopeAlternatives Considered
mainduring a multi-week effort.Acceptance Criteria
import agentscopestatements reference 2.0-compatible APIspyproject.tomldeclaresagentscope>=2.0.0ToolBase) works with 2.0 runtimeAdditional Context
Willing to Contribute
中文版
概述
AgentScope 2.0 已正式发布。我们计划将 QwenPaw 后端依赖从 AgentScope 1.x(当前为
agentscope==1.0.20+agentscope-runtime==1.1.6)升级至 AgentScope 2.0,全面采用其新架构、新 API 和新运行时模型。本次迁移预计以 QwenPaw v1.2.0 版本发布。影响组件
问题 / 动机
拟定方案
迁移范围
app/runner/,agents/AgentBase/ 消息类 APIapp/routers/providers.py,agents/app/mcp/app/multi_agent_manager.py,app/runner/app/channels/plugins/tests/迁移策略
pyproject.toml中将agentscope升级至 2.0,将app/runner/、agents/、multi_agent_manager.py迁移至原生 2.0 API。所有工作在feat/agentscope-2.0特性分支上进行。main。分支 & PR 策略
main创建长期特性分支feat/agentscope-2.0。main。当前状态 & 已有 PR
agentscope==1.0.20、agentscope-runtime==1.1.6import agentscope曾考虑的替代方案
验收标准
import agentscope语句引用 2.0 兼容 APIpyproject.toml声明agentscope>=2.0.0ToolBase)在 2.0 运行时下正常工作补充说明
是否愿意贡献