v2.0.0-RC5
v2.0.0-RC5
This release completes the model-provider modularization (all providers extracted from agentscope-core into independent agentscope-extensions-model-* modules), adds unified multimodal DataBlock support across all providers, introduces native structured output for tool calls, and includes 30+ bug fixes spanning agent lifecycle, sandbox, tracing, A2A, and subagent propagation.
Breaking Changes
- Model provider modularization: OpenAI, Gemini, Anthropic, DashScope, and Ollama model providers have been moved from
agentscope-coreinto separateagentscope-extensions-model-*extension modules. Applications must add the corresponding extension dependency. (#1890, #1916, #1947, #1972)
New Features
- Unified
DataBlocksupport in all provider message converters (OpenAI, DashScope, Gemini, Anthropic), covering single-agent, multi-agent, and tool-result paths (#1933) - Native structured output handling with tools — models that support structured output can now enforce JSON schema constraints alongside tool calls (#1904)
- Native structured output support for DashScope models (#1935)
httpRequestCustomizersupport inMcpClientBuilderfor dynamic token injection (e.g. OAuth refresh) (#1992)- Align
AguiEventwith the AG-UI protocol spec — add missing event types (#1862) - Optional skill allowlist filter for subagents (#1873)
knownSkillNamessupport inNacosSkillRepository(#1853)CosAgentStateStore,CosBaseStoreandCosDistributedStorefor Tencent Cloud COS-backed state persistence (#1857)- Expose cached prompt tokens in
ChatUsage(#1868)
Bug Fixes
Core / Agent
- Persist agent state on user interrupt recovery (#2008)
- Wire fallback model into
ReActAgent(#1851) - Fix
ReActAgentstream event block end ordering (#1829) - Update
ToolResultBlockstate before adding to agent context (#1886) - Reuse classpath skill JAR file systems to avoid resource leaks (#1981)
- Resolve
serializeOnKeygate leak inFlux.createcallbacks (#1796)
Model Providers
- Map
thinkingBudgetto OpenAI-compatible API request (#2028) - Fix Anthropic stream thinking event handling (#1943)
- Preserve
executionConfiginOllamaOptionsfromOptions/toBuilder(#2011) - Degrade forced tool choice in DashScope thinking mode (#1882)
Harness / Sandbox
- Restore remote snapshot state deserialization — re-inject
RemoteSnapshotClientafter Jackson round-trip (#2013) - Fix THROTTLED memory save mode losing state when recreating instances per request (#1788)
- Propagate
userIdthrough wakeup dispatch (#2001) - Run message bus heartbeat on
boundedElasticinstead ofparallelscheduler (#1974) - Avoid duplicating
GracefulShutdownMiddlewareinfromAgent(#1952) - Escape spaces in skill paths returned by
ShellPathPolicy(#2031) - Fallback to simple key-value extraction when YAML parsing fails (#2027)
- Report sandbox file sizes in
ls(#1838) - Normalize Windows
list_filespaths (#1892) - Normalize
\r\nto\nfor file content inLocalFilesystem.edit()(#2020) - Treat
"."as root equivalent inCompositeFilesystem(#1830) - Validate
working_directoryto prevent namespace escape (#1834) - Fall back to
LocalFilesystemSpecwhen no distributedAgentStateStoreis configured (#1841) - Fix WebSocket race in Kubernetes
hydrateWithArchivecausingexit=null(#1903) - Tolerate wrapped sandbox base64 downloads (#1866)
- Remove
AgentRunsandbox API version prefix (#1891) - Add connect JSON codec support for E2B sandbox (#1844)
Tracing / Observability
- Fix orphan spans in
OtelTracingMiddlewareby reading parent OTel Context from ReactorContextView(#1940) - Fix child spans not seeing correct parent spans in
OtelTracingMiddleware(#1909) - Propagate Reactor context to chunk event hooks (#1923)
Subagent
- Propagate parent
RuntimeContextto child agents (#1833) - Propagate parent middleware to subagents (#1843)
A2A
- Handle streaming backpressure (#1734)
- Preserve AgentScope message roles across A2A conversion (#1995)
AG-UI
- Propagate run input and frontend tools (#1895)
Middleware
- Wrap
doFlushinMono.deferto prevent premature evaluation (#1880)
Other
- Nacos auto-configurations should be opt-in (
matchIfMissing=false) and fix A2A server-addr override (#1709) - Add
ObjectMapperbean forMarketContributionServicein DataAgent (#1993)
Documentation
- Clarify stream event
blockIdsemantics (#2016) - Improve model provider documentation (#1986)
- Remove invalid
ChatResponse.isLastreferences (#1921) - Fix multi-replica Redis example — declare jedis dependency and add
stateStore(#1869) - Fix
MemoryCompactionExampleto show memory files and fire compaction (#1978)