agentscope
Build and run agents you can see, understand and trust.
- 33.7k estrellas
- 3.7k forks
- 660 issues abiertos
- Lenguaje: Python
- Licencia: Apache-2.0
- actualizado
Instalación
git clone https://github.com/agentscope-ai/agentscope && cp agentscope/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Nota editorial
AgentScope is a Python framework for building and deploying LLM-based agents, with version 2.0 targeting production environments through multi-tenancy, multi-session service isolation, and workspace sandboxing backed by local, Docker, or E2B runtimes. Agents are constructed with a Toolkit abstraction that includes built-in tools such as Bash, Grep, Glob, Read, Write, and Edit, and the framework exposes a streaming event bus covering lifecycle events like REPLY_START, MODEL_CALL_START, and TEXT_BLOCK_DELTA, enabling real-time frontend updates and human-in-the-loop workflows. A permission system provides fine-grained control over which tools and resources an agent can access, while a composable middleware system allows developers to hook into the reasoning-acting loop. The framework connects to LLMs through model adapters, including DashScopeChatModel, and carries MCP compatibility for broader tool ecosystems. Developers building multi-agent pipelines, SaaS platforms, or coding assistants who need observable, tenant-isolated agent infrastructure will find it most useful. The recently added Agent Team feature extends coordination to grouped agent setups.
Resumen de Subagents
src="https://img.alicdn.com/imgextra/i1/O1CN01nTg6w21NqT5qFKH1u_!!6000000001621-55-tps-550-550.svg" alt="AgentScope Logo" width="200" />
中文主页 | Documentation | Roadmap
src="https://img.shields.io/badge/cs.MA-2402.14034-B31C1C?logo=arxiv&logoColor=B31C1C" alt="arxiv" /> src="https://img.shields.io/badge/python-3.11+-blue?logo=python" alt="pypi" /> src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fpypi.org%2Fpypi%2Fagentscope%2Fjson&query=%24.info.version&prefix=v&logo=pypi&label=version" alt="pypi" /> src="https://img.shields.io/badge/Discord-Join%20Us-5865F2?logo=discord&logoColor=white" alt="discord" /> src="https://img.shields.io/badge/Docs-English%7C%E4%B8%AD%E6%96%87-blue?logo=markdown" alt="docs" /> src="https://img.shields.io/badge/license-Apache--2.0-black" alt="license" /> src="https://img.shields.io/badge/DeepWiki-Ask_Devin-navy.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==)" alt="Ask DeepWiki" />
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-10]
FEATExperimental: Agent service supports realtime voice conversations over WebRTC, with text and voice sharing the same session history.[2026-09]
FEATExperimental: SOP supported — run multi-step tasks as standard operating procedures, in both the framework and agent service. Docs | Service[2026-09]
FEAT:TeamPipelinesupported — a leader agent delegates tasks to member agents. Docs[2026-09]
INTE: MiniMax chat models supported viaMiniMaxChatModel(MiniMax-M3 by default).[2026-09]
FEAT: Model routing supported — useModelRouterMiddlewareto select an appropriate chat model for each reply.[2026-09]
INTE: Jev classifier model supported through the TypeSafe SDK viaJevClassifierModel.[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
Community
Welcome to join our community on
| Discord | DingTalk |
|---|---|
Quickstart
Installation
AgentScope requires Python 3.11 or higher.
From PyPI
uv pip install agentscopeFrom 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, Bubblewrap, E2B, OpenSandbox, Daytona, K8s |
Start your first agent with AgentScope 2.0 in console:
from agentscope.agent import Agent
from agentscope.console import launch_console
from agentscope.tool import Toolkit, Bash, Grep, Glob, Read, Write, Edit
from agentscope.credential import DashScopeCredential
from agentscope.model import DashScopeChatModel
import os, asyncio
async def main() -> None:
agent = Agent(
name="Friday",
system_prompt="You're a helpful assistant named Friday.",
model=DashScopeChatModel(
credential=DashScopeCredential(
api_key=os.environ["DASHSCOPE_API_KEY"]
),
model="qwen3.6-plus",
),
toolkit=Toolkit(
tools=[
Bash(),
Grep(),
Glob(),
Read(),
Write(),
Edit(),
]
),
)
# Chat with the agent in the terminal — streamed output, tool-call
# confirmation and Ctrl+C interruption are all handled for you
await launch_console(agent)
asyncio.run(main())Agent Service — All You Need to Build Your App
Lo que la gente pregunta sobre agentscope
¿Qué es agentscope-ai/agentscope?
agentscope-ai/agentscope es subagents para el ecosistema de Claude AI. Build and run agents you can see, understand and trust. Tiene 33.7k estrellas en GitHub y su última actualización registrada es del 2026-10-23.
¿Cómo se instala agentscope?
Puedes instalar agentscope clonando el repositorio (https://github.com/agentscope-ai/agentscope) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar agentscope-ai/agentscope?
Nuestro agente de seguridad ha analizado agentscope-ai/agentscope y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene agentscope-ai/agentscope?
agentscope-ai/agentscope es mantenido por agentscope-ai. La última actividad registrada en GitHub es del 2026-10-23, con 660 issues abiertos.
¿Hay alternativas a agentscope?
Sí. En ClaudeWave puedes explorar subagents similares en /categories/agents, ordenados por popularidad o actividad reciente.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/agentscope-ai-agentscope)<a href="https://claudewave.com/en/repo/agentscope-ai-agentscope"><img src="https://claudewave.com/api/badge/agentscope-ai-agentscope" alt="ClaudeWave Trust Score for agentscope-ai/agentscope" width="320" height="64"></a>