Build and run agents you can see, understand and trust.
# Add to your Claude Code skills
git clone https://github.com/agentscope-ai/agentscopeagentscope is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by agentscope-ai. Build and run agents you can see, understand and trust. It has 36,999 GitHub stars.
agentscope's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/agentscope-ai/agentscope" and add it to your Claude Code skills directory (see the Installation section above).
agentscope is primarily written in Python. It is open-source under agentscope-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agentscope against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
中文主页 | Documentation | Roadmap
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.
FEAT: Voice profile management and voice cloning supported — select saved voices in chat, with DashScope and OpenAI voice cloning clients available in the Python SDK.FEAT Experimental: Agent service supports realtime voice conversations over WebRTC, with text and voice sharing the same session history.FEAT Experimental: SOP supported — run multi-step tasks as standard operating procedures, in both the framework and agent service. Docs | ServiceFEAT: TeamPipeline supported — a leader agent delegates tasks to member agents. DocsINTE: MiniMax chat models supported via MiniMaxChatModel (MiniMax-M3 by default).FEAT: Model routing supported — use ModelRouterMiddleware to select an appropriate chat model for each reply.INTE: Jev classifier model supported through the TypeSafe SDK via JevClassifierModel.FEAT: agentscope-skill now supports AgentScope v2.INTE: Support DashScope, OpenAI, Gemini and xAI realtime APIs in RealtimeAgent. Example | DocsFEAT Experimental: Realtime voice agent supported. Example | DocsWelcome to join our community on
| Discord | DingTalk |
|---|---|
AgentScope requires Python 3.11 or higher.
uv pip install agentscope
# 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 .
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())
AgentScope ships a batteries-included agent service — a FastAPI backend with a pre-built Web UI (examples/web_ui) that turns your agents into a multi-tenant, multi-session applicati