AgentScope
ActiveDescription
Open-source multi-agent framework from Alibaba, enabling the construction of observable and interpretable agents with rich distributed capabilities.
Key Features
- Built-in ReAct Agent — Create agents with reasoning and tool-use capabilities in 5 minutes
- Tool & Skill System — Built-in Bash, Grep, file I/O tools with custom extension support
- Multi-Agent Orchestration — Flexible multi-agent collaboration via Message Hub
- MCP/A2A Native Support — Compatible with Model Context Protocol and Agent-to-Agent communication
- Agent-as-Service — FastAPI-based multi-tenant, multi-session agent service deployment
- Real-time Streaming — Event-based streaming output for real-time UI rendering
Use Cases
Categories
Quick Start
pip install agentscope
from agentscope.agent import Agent
from agentscope.tool import Toolkit, Bash, Read, Write
from agentscope.model import DashScopeChatModel
from agentscope.message import UserMsg
import os, asyncio
agent = Agent(
name="Friday",
system_prompt="You are a helpful assistant.",
model=DashScopeChatModel(
api_key=os.environ["DASHSCOPE_API_KEY"],
model="qwen3.6-plus",
),
toolkit=Toolkit(tools=[Bash(), Read(), Write()]),
)
async def main():
async for evt in agent.reply_stream(UserMsg("Tony", "Hi!")):
print(evt)
asyncio.run(main())