Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
docs(readme): update readme for the new service feature (#1789)
DavdGao9b074961ad94
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.mddeleted file mode 100644index cfd1697e7..000000000--- a/.github/ISSUE_TEMPLATE/bug_report.md+++ /dev/null@@ -1,35 +0,0 @@-----name: Bug Report-about: Create a report to help us improve-title: '[Bug]:'-labels: 'bug'-assignees: ''-------**<u>AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.</u>**--**Describe the bug**-A clear and concise description of what the bug is.--**To Reproduce**-Steps to reproduce the behavior:--1. You code-2. How to execute-3. See error--**Expected behavior**-A clear and concise description of what you expected to happen.--**Error messages**-Detailed error messages.--**Environment (please complete the following information):**--- AgentScope Version: [e.g. 1.0.0 via `print(agentscope.__version__)`]-- Python Version: [e.g. 3.10]-- OS: [e.g. macos, windows]--**Additional context**-Add any other context about the problem here.diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 000000000..bd6901067--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,67 @@+name: Bug Report+description: Report a bug to help us improve AgentScope.+title: "[Bug]: "+labels: ["bug"]+body:+ - type: markdown+ attributes:+ value: |+ **<u>AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.</u>**++ - type: checkboxes+ id: prerequisites+ attributes:+ label: Prerequisites+ description: Please confirm the following before submitting.+ options:+ - label: I have searched the existing [issues](https://github.com/agentscope-ai/agentscope/issues) and [discussions](https://github.com/agentscope-ai/agentscope/discussions), and this is not a duplicate.+ required: true+ - label: This is a bug, not a usage question. (For questions, please use [Discussions](https://github.com/agentscope-ai/agentscope/discussions/new?category=general) instead.)+ required: true++ - type: textarea+ id: description+ attributes:+ label: Background / Description+ description: A clear and concise description of the bug, including what you were trying to do and the expected behavior.+ placeholder: What were you trying to do, what did you expect, and what actually happened?+ validations:+ required: true++ - type: textarea+ id: error+ attributes:+ label: Error Messages+ description: Detailed error messages, stack traces, or logs.+ render: shell+ validations:+ required: true++ - type: textarea+ id: reproduce+ attributes:+ label: Steps to Reproduce+ description: Provide a minimal reproducible example (code + commands) so we can reproduce the bug.+ placeholder: |+ 1. Code:++ ```python+ ...+ ```++ 2. Run: `python ...`+ 3. See error+ validations:+ required: true++ - type: textarea+ id: environment+ attributes:+ label: Environment+ description: Run `import agentscope; print(agentscope.__version__)` to get the AgentScope version.+ value: |+ - AgentScope Version:+ - Python Version:+ - OS:+ validations:+ required: truediff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 000000000..0ec688ea7--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,8 @@+blank_issues_enabled: false+contact_links:+ - name: Feature Request / Idea+ url: https://github.com/agentscope-ai/agentscope/discussions/new?category=ideas+ about: Suggest a new feature or share an idea. Maintainers will turn accepted proposals into roadmap issues.+ - name: Question / Usage Help+ url: https://github.com/agentscope-ai/agentscope/discussions/new?category=general+ about: Ask a usage question or start a general discussion. Please do NOT open an issue for questions.\ No newline at end of filediff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.mddeleted file mode 100644index 8ff2e28ce..000000000--- a/.github/ISSUE_TEMPLATE/custom.md+++ /dev/null@@ -1,13 +0,0 @@-----name: Custom issue template-about: Describe this issue template's purpose here.-title: ''-labels: ''-assignees: ''-------**<u>AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.</u>**---diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.mddeleted file mode 100644index 6d6921243..000000000--- a/.github/ISSUE_TEMPLATE/feature_request.md+++ /dev/null@@ -1,23 +0,0 @@-----name: Feature Request-about: Suggest an idea for this project-title: '[Feature]: '-labels: 'enhancement'-assignees: ''-------**<u>AgentScope is an open-source project. To involve a broader community, we recommend asking your questions in English.</u>**---**Is your feature request related to a problem? Please describe.**-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]--**Describe the solution you'd like**-A clear and concise description of what you want to happen.--**Describe alternatives you've considered**-A clear and concise description of any alternative solutions or features you've considered.--**Additional context**-Add any other context or screenshots about the feature request here.\ No newline at end of filediff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdindex 9567ca028..b74281d65 100644--- a/.github/PULL_REQUEST_TEMPLATE.md+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -18,8 +18,8 @@ Please ensure your PR title follows the Conventional Commits format:Please check the following items before code is ready to be reviewed.-- [ ] Code has been formatted with `pre-commit run --all-files` command-- [ ] All tests are passing+- [ ] An issue has been created for this PR+- [ ] I have read the [CONTRIBUTING.md](https://github.com/agentscope-ai/agentscope/blob/main/CONTRIBUTING.md)- [ ] Docstrings are in Google style-- [ ] Related documentation has been updated (e.g. links, examples, etc.)+- [ ] Related documentation has been updated (e.g. links, examples, etc.) in [documentation repository](https://github.com/agentscope-ai/docs)- [ ] Code is ready for review\ No newline at end of filediff --git a/.github/workflows/toc.yml b/.github/workflows/toc.ymldeleted file mode 100644index 5f3efb550..000000000--- a/.github/workflows/toc.yml+++ /dev/null@@ -1,30 +0,0 @@-name: Generate TOC-on:- push:- paths:- - 'README.md'- - 'README_ZH.md'- branches-ignore:- - 'main'--# Prevent concurrent runs that modify README files-concurrency:- group: readme-updates-${{ github.ref }}- cancel-in-progress: false--jobs:- generateTOC:- name: TOC Generator- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v6-- - uses: technote-space/toc-generator@v4- with:- TOC_TITLE: "## 📑 Table of Contents"- CREATE_PR: false- TARGET_PATHS: "README.md,README_ZH.md"- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- TOC_TITLE_MAP: |- README.md: ## 📑 Table of Contents- README_ZH.md: ## 📑 目录\ No newline at end of filediff --git a/README.md b/README.mdindex e40070db7..7864362a7 100644--- a/README.md+++ b/README.md@@ -8,7 +8,7 @@<span align="center">-[**中文主页**](https://github.com/agentscope-ai/agentscope/blob/main/README_zh.md) | [**Tutorial**](https://docs.agentscope.io/) | [**Roadmap**](https://github.com/orgs/agentscope-ai/projects/2/views/1)+[**中文主页**](https://github.com/agentscope-ai/agentscope/blob/main/README_zh.md) | [**Documentation**](https://docs.agentscope.io/) | [**Roadmap**](https://github.com/orgs/agentscope-ai/projects/2/views/1)</span>@@ -33,7 +33,7 @@</a><a href="https://discord.gg/eYMpfnkG8h"><img- src="https://img.shields.io/discord/1194846673529213039?label=Discord&logo=discord"+ src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white"alt="discord"/></a>@@ -57,23 +57,23 @@## What is AgentScope 2.0?-AgentScope 2.0 is a production-ready, easy-to-use agent framework with essential abstractions that work with rising model capability and built-in support for finetuning.+AgentScope 2.0 is a production-ready, easy-to-use agent framework with essential abstractions that work with rising model capability and built-in support for .++- [**Event System** →](https://docs.agentscope.io/v2/building-blocks/message-and-event) A unified event bus to the frontend and human-in-the-loop support.+- [**Permission System** →](https://docs.agentscope.io/v2/building-blocks/permission-system) Fine-grained, configurable control over tools and resources.+- [**Multi-tenancy & Multi-session Service** →](https://docs.agentscope.io/v2/deploy/agent-service) Production-grade serving with isolation across tenants and sessions.+- [**Workspace / Sandbox Support** →](https://docs.agentscope.io/v2/building-blocks/workspace) Run tools and code in isolated environments, with built-in backends for local, Docker, and E2B.+- [**Extensible Middleware System** →](https://docs.agentscope.io/v2/building-blocks/middleware) Composable hooks to customize and extend the agent's reasoning-acting loop.We design for increasingly agentic LLMs.Our approach leverages the models' reasoning and tool use abilitiesrather than constraining them with strict prompts and opinionated orchestrations.-## Why use AgentScope?--- **Simple**: start building your agents in 5 minutes with built-in ReAct agent, tools, skills, human-in-the-loop steering, memory, planning, realtime voice, evaluation and model finetuning-- **Extensible**: large number of ecosystem integrations for tools, memory and observability; built-in support for MCP and A2A; message hub for flexible multi-agent orchestration and workflows-- **Production-ready**: deploy and serve your agents locally, as serverless in the cloud, or on your K8s cluster with built-in OTel support-<img src="assets/images/agentscope.png" alt="agentscope" width="100%"/>## News<!-- BEGIN NEWS -->-- **[2026-06] `FEAT`:** Agent Team support. [Example](https://github.com/agentscope-ai/agentscope/tree/main/examples/agent_service) | [Docs](https://docs.agentscope.io/v2/deploy/agent-team)+- **[2026-06] `FEAT`:** Agent Team supported. [Example](https://github.com/agentscope-ai/agentscope/tree/main/examples/agent_service) | [Docs](https://docs.agentscope.io/v2/deploy/agent-team)- **[2026-05] `RELS`:** AgentScope 2.0 released! [Docs](https://docs.agentscope.io/)<!-- END NEWS -->@@ -87,23 +87,6 @@ Welcome to join our community on|----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|| <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="./assets/images/dingtalk_qr_code.png" width="100" height="100"> |-<!-- START doctoc generated TOC please keep comment here to allow auto update -->-<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->-## 📑 Table of Contents--- [Quickstart](#quickstart)- - [Installation](#installation)- - [From PyPI](#from-pypi)- - [From source](#from-source)-- [Hello AgentScope!](#hello-agentscope)-- [Agent Service](#agent-service)-- [Contributing](#contributing)-- [License](#license)-- [Publications](#publications)-- [Contributors](#contributors)--<!-- END doctoc generated TOC please keep comment here to allow auto update -->-## Quickstart### Installation@@ -134,7 +117,7 @@ uv pip install -e .## Hello AgentScope!-Start your first agent in 5 minutes with AgentScope 2.0:+Start your first agent with AgentScope 2.0:```pythonfrom agentscope.agent import Agent@@ -188,13 +171,45 @@ async def main() -> None:asyncio.run(main())```-## Agent Service+## Hello Agent Service!An extensible FastAPI based **multi-tenancy**, **multi-session** agent service with pre-built Web UI in `examples/web_ui`-```bash-git clone https://github.com/agentscope-ai/agentscope+<table>+ <tr>+ <td align="center">+ <img src="assets/images/team.gif" alt="Agent team" width="100%"/>+ <br/>+ <sub><b>Agent team</b> — a leader agent spawns workers and coordinates them through the built-in team tools.</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/task.gif" alt="Task planning" width="100%"/>+ <br/>+ <sub><b>Task planning</b> — the agent breaks complex work into a tracked plan and updates it as it goes.</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/permission_bypass.gif" alt="Permission control in bypass mode" width="100%"/>+ <br/>+ <sub><b>Permission control in bypass mode</b> — the agent runs end-to-end without pausing for tool-call confirmations.</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/bg_tool.gif" alt="Background task offloading" width="100%"/>+ <br/>+ <sub><b>Background task offloading</b> — a long-running tool moves to the background; its result later wakes the agent up and the conversation resumes.</sub>+ </td>+ </tr>+</table>++Run the following commands to start the agent service backend and the web UI:+```bash+git clone -b main https://github.com/agentscope-ai/agentscope.gitcd agentscope/examples/agent_service# start the agent service backend@@ -211,10 +226,6 @@ pnpm installpnpm dev```-Experience a chat-style interface to interact with your agents.--<img src="https://gw.alicdn.com/imgextra/i1/O1CN01vGGiBw20agWwpzmjy_!!6000000006866-2-tps-2934-1732.png" alt="Permission System" width="100%">-## Contributingdiff --git a/README_zh.md b/README_zh.mdindex 6d6fbbdbe..260d2daa2 100644--- a/README_zh.md+++ b/README_zh.md@@ -8,7 +8,7 @@<span align="center">-[**English Homepage**](https://github.com/agentscope-ai/agentscope/blob/main/README.md) | [**教程**](https://docs.agentscope.io/) | [**路线图**](https://github.com/orgs/agentscope-ai/projects/2/views/1)+[**English Homepage**](https://github.com/agentscope-ai/agentscope/blob/main/README.md) | [**文档**](https://docs.agentscope.io/) | [**路线图**](https://github.com/orgs/agentscope-ai/projects/2/views/1)</span>@@ -32,11 +32,11 @@/></a><a href="https://discord.gg/eYMpfnkG8h">- <img- src="https://img.shields.io/discord/1194846673529213039?label=Discord&logo=discord"- alt="discord"- />- </a>+ <img+ src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white"+ alt="discord"+ />+ </a><a href="https://docs.agentscope.io/"><imgsrc="https://img.shields.io/badge/Docs-English%7C%E4%B8%AD%E6%96%87-blue?logo=markdown"@@ -57,7 +57,13 @@## 什么是 AgentScope 2.0?-AgentScope 2.0 是一款生产就绪、易于使用的智能体框架,提供与不断进化的模型能力相匹配的核心抽象,并内置对模型微调的支持。+AgentScope 2.0 是一款面向生产、易于使用的智能体框架,提供与不断进化的模型能力相匹配的核心抽象。++- [**事件系统** →](https://docs.agentscope.io/v2/building-blocks/message-and-event) 统一的事件总线,服务于前端智能体应用与 human-in-the-loop 协作。+- [**权限系统** →](https://docs.agentscope.io/v2/building-blocks/permission-system) 对工具和资源进行细粒度、可配置的控制。+- [**多租户与多会话服务** →](https://docs.agentscope.io/v2/deploy/agent-service) 提供生产级服务,在租户与会话之间实现隔离。+- [**工作区 / 沙箱支持** →](https://docs.agentscope.io/v2/building-blocks/workspace) 在隔离环境中运行工具和代码,内置支持本地文件系统、Docker 和 E2B 后端。+- [**可扩展中间件系统** →](https://docs.agentscope.io/v2/building-blocks/middleware) 可组合的钩子系统,用于自定义和扩展智能体的推理-行动循环。我们为日益自主的大语言模型而设计。我们的方法是充分发挥模型的推理与工具调用能力,@@ -192,9 +198,41 @@ asyncio.run(main())一个基于 FastAPI 的可扩展**多租户**、**多会话**智能体服务,并在 `examples/web_ui` 中提供预构建的 Web UI-```bash-git clone https://github.com/agentscope-ai/agentscope+<table>+ <tr>+ <td align="center">+ <img src="assets/images/team.gif" alt="智能体团队" width="100%"/>+ <br/>+ <sub><b>智能体团队</b> —— leader 智能体派生 worker,并通过内置的团队工具进行协调。</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/task.gif" alt="任务规划" width="100%"/>+ <br/>+ <sub><b>任务规划</b> —— 智能体将复杂工作拆解为可追踪的计划,并在执行过程中持续更新。</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/permission_bypass.gif" alt="bypass 模式下的权限控制" width="100%"/>+ <br/>+ <sub><b>bypass 模式下的权限控制</b> —— 智能体端到端运行,无需为工具调用确认而暂停。</sub>+ </td>+ </tr>+ <tr>+ <td align="center">+ <img src="assets/images/bg_tool.gif" alt="后台任务卸载" width="100%"/>+ <br/>+ <sub><b>工具后台执行</b> —— 长时间运行的工具被转入后台;其结果稍后唤醒智能体并恢复对话。</sub>+ </td>+ </tr>+</table>++运行以下命令启动智能体服务后端和 Web UI:+```bash+git clone -b main https://github.com/agentscope-ai/agentscope.gitcd agentscope/examples/agent_service# 启动智能体服务后端@@ -211,9 +249,6 @@ pnpm installpnpm dev```-体验聊天式界面,与你的智能体进行交互。--<img src="https://gw.alicdn.com/imgextra/i1/O1CN01vGGiBw20agWwpzmjy_!!6000000006866-2-tps-2934-1732.png" alt="Permission System" width="100%">## 贡献diff --git a/assets/images/bg_tool.gif b/assets/images/bg_tool.gifnew file mode 100644index 000000000..2a6eaa364Binary files /dev/null and b/assets/images/bg_tool.gif differdiff --git a/assets/images/permission_bypass.gif b/assets/images/permission_bypass.gifnew file mode 100644index 000000000..4a15b83e5Binary files /dev/null and b/assets/images/permission_bypass.gif differdiff --git a/assets/images/task.gif b/assets/images/task.gifnew file mode 100644index 000000000..d48729d42Binary files /dev/null and b/assets/images/task.gif differdiff --git a/assets/images/team.gif b/assets/images/team.gifnew file mode 100644index 000000000..77a97f5e9Binary files /dev/null and b/assets/images/team.gif differdiff --git a/docs/NEWS.md b/docs/NEWS.mdindex 3e2e1af6c..6fb47f2ed 100644--- a/docs/NEWS.md+++ b/docs/NEWS.md@@ -2,5 +2,5 @@<!-- The first 10 items are automatically synced to README.md and README_zh.md via GitHub Actions. --><!-- To update news in READMEs, modify this file and push to trigger the workflow. -->-- **[2026-06] `FEAT`:** Agent Team support. [Example](https://github.com/agentscope-ai/agentscope/tree/main/examples/agent_service) | [Docs](https://docs.agentscope.io/v2/deploy/agent-team)+- **[2026-06] `FEAT`:** Agent Team supported. [Example](https://github.com/agentscope-ai/agentscope/tree/main/examples/agent_service) | [Docs](https://docs.agentscope.io/v2/deploy/agent-team)- **[2026-05] `RELS`:** AgentScope 2.0 released! [Docs](https://docs.agentscope.io/)\ No newline at end of file