agentscope
View on GitHubBuild and run agents you can see, understand and trust.
AgentScope 2.0 is Alibaba Tongyi's Python framework for building and running production agents: ReAct agents, toolkits over Python/MCP/skills, multi-agent teams, realtime voice, sandboxed execution, HITL, memory, plus a FastAPI agent service with web UI and IM channels.
Use Cases
Build ReAct agents with structured output and interruption/resumeRun multi-agent teams with leader-worker orchestrationDeploy a multi-tenant agent service with FastAPI backend and Web UIConnect agents to IM channels (Feishu, Discord, DingTalk, custom)Serve multi-tenant RAG with blob storage and index workersBuild realtime speech-to-speech voice agentsExecute agent tools in sandboxes (Docker, E2B, Daytona, Bubblewrap, K8s)Add human-in-the-loop tool confirmation and permission controlInstall and use MCP servers and skills from hubsChat with remote agents over the A2A protocolDebug and test agents in a terminal consoleAdd long-term agent memory with switchable backendsCompress and offload agent context automatically via middlewareSchedule background agent tasks and wakeups
Built With
- Language
- Python
- Frameworks
- FastAPI · MCP · A2A protocol · AG-UI protocol · OpenTelemetry · SQLAlchemy · Alembic · Redis · Docker · E2B · Daytona · Kubernetes · Mem0 · ReMe · Socket.IO · Uvicorn
Tags
multi-agent · agent-framework · react-agent · mcp · rag · realtime · voice-agent · a2a · hitl · sandbox · memory · middleware · multimodal · agent-service · tool-use · python