中文主页 | Documentation | Roadmap
What is AgentScope 2.0?
AgentScope 2.0 is a production-ready, easy-to-use agent framework with essential abstractions that keep up with rising model capability.
We design for increasingly agentic LLMs. Our approach leverages the models' reasoning and tool use abilities rather than constraining them with strict prompts and opinionated orchestrations.

News
- [2026-09]
FEAT: agentscope-skill now supports AgentScope v2. - [2026-09]
INTE: Support DashScope, OpenAI, Gemini and xAI realtime APIs inRealtimeAgent. Example | Docs - [2026-09]
FEATExperimental: Realtime voice agent supported. Example | Docs - [2026-09]
FEAT: A2A protocol supported — chat with any remote A2A agent viaA2AAgent. Example | Docs - [2026-08]
FEAT: Pipeline supported — run multiple agents by a fixed logic behind one event stream. Example | Docs - [2026-08]
INTE: DingTalk channel supported. Docs - [2026-08]
FEAT: Console supported — test and debug agents in the terminal. Example | Docs - [2026-08]
INTE: Feishu (Lark) and Discord channels supported. Feishu | Discord - [2026-08]
FEAT: Channels supported — connect agents to IM platforms in agent service. Example | Docs - [2026-08]
INTE: GitHub MCP Registry and ClawHub supported as built-in hubs. Example | Docs
Community
Welcome to join our community on
| Discord | DingTalk |
|---|---|
![]() |
![]() |
Quickstart
Installation
AgentScope requires Python 3.11 or higher.
From PyPI
uv pip install agentscope
From source
# Pull the source code from GitHub
git clone -b main https://github.com/agentscope-ai/agentscope.git
# Install the package in editable mode
cd agentscope
uv pip install -e .
Agent
The SDK layer — compose an agent from a rich set of building blocks:
| Building block | What's inside |
|---|---|
| ReAct | Reasoning-acting loop with structured output, realtime interruption & resume, and batched (sequential / concurrent) tool acting |
| Toolkit | Agentic tool management over Python tools, MCP servers, and skills; ships with built-in coding tools (shell, file edit, search) and task/plan tools |
| Model | LLM, embedding, and TTS across major providers (OpenAI, Anthropic, Gemini, DashScope, DeepSeek, Moonshot, Volcengine, xAI, Ollama) |
| Context | Automatic compaction, tool-result offload, and context injection (system prompt, RAG, memory) via built-in middleware |
| Event System | Unified event bus streaming reasoning, tool calls, and multimodal content (text, image, audio) to the frontend |
| Permission & HITL | Fine-grained control over tools and resources, confirmation, bypass mode |
| Middleware | Composable hooks across the loop — reply, reasoning, acting, model calling, permission checking, context compression, system prompt |
| Memory | Agentic memory with switchable backends (ReMe, Mem0) |
| Workspace / Sandbox | Isolated tool & code execution — local, Docker, Apple Container, Bubble |

