agentscope is a free, open source ai interaction & interfaces project written in Python and released under Apache-2.0. It has 31,878 GitHub stars, 3,514 forks and 369 open issues, and was last pushed 13 hours ago. On this registry it ranks #18 of 76 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available. It gained 150 stars over the last 3 tracked days.

What is agentscope?

What it is

AgentScope 2.0 is a production-ready agent framework written in Python and released under the Apache-2.0 licence. It provides a set of essential abstractions for building agents, and it is designed explicitly for increasingly agentic large language models. Rather than wrapping models in strict prompts and opinionated orchestrations, the framework leans on the reasoning and tool use abilities the models already have, so the agent logic follows rising model capability instead of fighting it. The project lives in the Python AI and machine learning ecosystem, with a documented homepage at docs.agentscope.io and a repository that has accumulated 31,686 stars and 3,508 forks over roughly three years.

The concrete problem it solves is the gap between a raw model API and a working agent that can be inspected, debugged and deployed. AgentScope supplies the SDK layer for composing agents out of building blocks: a ReAct reasoning-acting loop with structured output, realtime interruption and resume, and batched sequential or concurrent tool acting; a Toolkit that manages Python tools, MCP servers and skills, including built-in coding tools for shell access, file editing and search plus task and planning tools; and a Model layer spanning LLM, embedding and text-to-speech providers such as OpenAI, Anthropic and Gemini. On top of that layer it addresses the deployment side through channels, pipelines, a terminal console and protocol bridges, so an agent can move from a local script to a service reachable from group chat platforms.

Key capabilities

  • ReAct agent loop with structured output, realtime interruption and resume, and batched tool acting run either sequentially or concurrently.
  • Toolkit for agentic tool management over Python tools, MCP servers and skills, shipping built-in coding tools (shell, file edit, search) and task/plan tools.
  • Model abstraction covering LLM, embedding and TTS across major providers including OpenAI, Anthropic and Gemini.
  • RealtimeAgent with support for DashScope, OpenAI, Gemini and xAI realtime APIs, and an experimental realtime voice agent.
  • A2A protocol support through A2AAgent, which allows chatting with any remote A2A agent.
  • Pipeline building block that runs multiple agents under a fixed logic behind one event stream.
  • Channels that connect agents to IM platforms, with DingTalk, Feishu (Lark) and Discord integrations, plus GitHub MCP Registry and ClawHub as built-in hubs.

Who uses it and how

  • Developers prototyping agents locally use the console building block to test and debug agents directly in the terminal.
  • Teams building multi-agent systems compose several agents into a pipeline so a fixed orchestration logic emits a single event stream.
  • Teams wiring agents into workplace chat deploy the agent service and attach channels such as DingTalk, Feishu or Discord.
  • Builders of voice interfaces adopt RealtimeAgent against a supported realtime API for speech-to-speech interaction.
  • Integ
project readme (upstream, from github) — read inline

AgentScope Logo

中文主页 | Documentation | Roadmap

arxiv pypi pypi discord docs license Ask DeepWiki

agentscope-ai%2Fagentscope | Trendshift

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 in RealtimeAgent. Example | Docs
  • [2026-09] FEAT Experimental: Realtime voice agent supported. Example | Docs
  • [2026-09] FEAT: A2A protocol supported — chat with any remote A2A agent via A2AAgent. 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

More news →

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

readme truncated — read the full docs on github

Frequently asked questions

Is agentscope free to use?

agentscope is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does agentscope do?

Build and run agents you can see, understand and trust.

What is agentscope written in?

agentscope is primarily written in Python. Its source is publicly available at https://github.com/agentscope-ai/agentscope, and it has 31,878 GitHub stars.