Skip to content

agentscope

v2.0.3 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent llm large-language-models llm-agent mcp multi-agent
+2 more
multi-modal react-agent

Summary

AI summary

Added native RAG module, long‑term memory middleware, budget control middleware, tool‑level onion middleware, plus improvements across model, embedding, agent, message_bus, webui, workspace, formatter, schema, dashscope fixes, and documentation.

Full changelog

Major New Features

RAG Module

  • Introduced a native RAG (Retrieval-Augmented Generation) module with full support for distributed, multi-tenant, and multi-session RAG services, significantly enhancing knowledge retrieval capabilities.

Long-Term Memory Middleware

  • Added a mem0-backed long-term memory middleware, enabling agents to retain persistent memory across sessions.

Budget Control Middleware

  • Introduced BudgetControlMiddleware for enforcing token budget limits, helping teams manage and control API costs effectively.

Tool-Level Onion Middleware

  • ToolBase now supports onion-style middleware at the tool level, allowing flexible pre/post-processing logic to be injected around tool execution.

What's Changed

  • fix(dashscope): correct qwen max 3.7 model id by @Rise1024 in https://github.com/agentscope-ai/agentscope/pull/1876
  • feat(middleware): add mem0-backed long-term memory middleware by @Osier-Yi in https://github.com/agentscope-ai/agentscope/pull/1775
  • fix(model): handle Gemini function calls without an id by @he-yufeng in https://github.com/agentscope-ai/agentscope/pull/1883
  • feat(middleware): add BudgetControlMiddleware for token budget enforcement by @MannXo in https://github.com/agentscope-ai/agentscope/pull/1738
  • feat(tts): add cosyvoice realtime tts model by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1855
  • feat(model): add gpt-4o, gpt-4o-mini, and gpt-4.1-nano cards for openai-response by @nuthalapativarun in https://github.com/agentscope-ai/agentscope/pull/1750
  • fix(schema): remove max_length constraints from SummarySchema fields and increase tool result limit by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1891
  • fix(gemini): add _sanitize_schema_for_gemini to strip Gemini-incompatible JSON Schema constructs by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1886
  • feat(tool): support tool-level onion middleware in ToolBase by @nuthalapativarun in https://github.com/agentscope-ai/agentscope/pull/1754
  • feat(utils): add configurable ID factory via set_id_factory() by @lajxw in https://github.com/agentscope-ai/agentscope/pull/1839
  • feat(embedding): add pass_dimensions option for OpenAI embedding model by @jinliyl in https://github.com/agentscope-ai/agentscope/pull/1897
  • chore(version): bump version from 2.0.2 to 2.0.3 by @DavdGao with @Copilot in https://github.com/agentscope-ai/agentscope/pull/1898
  • chore(workflow): add github workflow for monitoring by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1912
  • fix(formatter): merge parallel tool_results into one user message in AnthropicChatFormatter by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1894
  • feat(workspace): support builtin tools for the e2b and docker workspaces by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1903
  • fix(tool): merge base64 tool response chunks by bytes by @wang-zhengxin in https://github.com/agentscope-ai/agentscope/pull/1901
  • fix(agent): avoid shared default configs by @Premsenareddy in https://github.com/agentscope-ai/agentscope/pull/1906
  • feat(agent-team): support to expose the hitl events in the team leader's session by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1918
  • fix(app): convert AG-UI SSE stream events by @YingchaoX in https://github.com/agentscope-ai/agentscope/pull/1917
  • refactor(message_bus): refactor and decouple message bus from service logic by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1923
  • feat(message_bus): add in-memory message bus for single node deployment by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1925
  • feat(webui): render Write and Edit tool diffs by @Premsenareddy in https://github.com/agentscope-ai/agentscope/pull/1856
  • refactor(webui): add right panel to the WebUI to support verbose task&permission context, equipped MCP and skills by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1945
  • docs: fix hyperlink in docs by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1946
  • fix(middleware): use configured id factory for TTS audio blocks by @YingchaoX in https://github.com/agentscope-ai/agentscope/pull/1930
  • feat(rag): add RAG module in agentscope and support distributed&multi-tenant&multi-session RAG service by @DavdGao in https://github.com/agentscope-ai/agentscope/pull/1926
  • feat(agent): support user-defined hints/instructions when compressing memory by @h2h2h in https://github.com/agentscope-ai/agentscope/pull/1942
  • refactor: lift _flatten_json_schema to shared util and apply in OpenAI chat model by @qbc2016 in https://github.com/agentscope-ai/agentscope/pull/1940

New Contributors

  • @Rise1024 made their first contribution in https://github.com/agentscope-ai/agentscope/pull/1876
  • @nuthalapativarun made their first contribution in https://github.com/agentscope-ai/agentscope/pull/1750
  • @lajxw made their first contribution in https://github.com/agentscope-ai/agentscope/pull/1839
  • @wang-zhengxin made their first contribution in https://github.com/agentscope-ai/agentscope/pull/1901
  • @h2h2h made their first contribution in https://github.com/agentscope-ai/agentscope/pull/1942

Full Changelog: https://github.com/agentscope-ai/agentscope/compare/v2.0.2...v2.0.3

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track agentscope

Get notified when new releases ship.

Sign up free

About agentscope

Build and run agents you can see, understand and trust.

All releases →

Related context

Beta — feedback welcome: [email protected]