AI Agent Hub
AI エージェント / プラグイン情報メディア
← 一覧へ
AgentScope
OTHER

AgentScope

AgentScope

アリババ系チームが開発するマルチエージェントプラットフォーム。LLM ベースのエージェント設計・通信・分散実行に対応する研究/プロダクション両用フレームワーク。

原文: Build and run agents you can see, understand and trust.
#マルチエージェント#Alibaba#分散#agent#chatbot#large-language-models#llm#llm-agent#mcp#multi-agent#multi-modal#react-agent
REPO STATS

リポジトリ統計

⭐ Stars
24.7k
🍴 Forks
2.7k
⚠️ Open Issues
223
🌿 Language
Python
📄 License
Apache-2.0
🕒 最終更新
2026.05.07 (今日)
📅 公開日
2024.01.12
🌿 Branch
main
README

ドキュメント

— AI による自動翻訳 (2026.05.07 更新)

AgentScope Logo

中文サイト | チュートリアル | ロードマップ(2026年1月以降) | よくある質問

arxiv pypi pypi discord docs license

agentscope-ai%2Fagentscope | Trendshift

AgentScopeとは?

AgentScopeは、モデル能力の向上に対応する本質的な抽象化と、組み込みのファインチューニング支援を備えた、本番環境対応で使いやすいエージェントフレームワークです。

より自律的なLLMを想定して設計しています。 厳密なプロンプトや固定的なオーケストレーションで制限するのではなく、モデルの推論能力とツール使用能力を活かすアプローチを採用しています。

AgentScopeを使う理由は?

  • シンプル:組み込みのReActエージェント、ツール、スキル、人間介入ステアリング、メモリ、計画、リアルタイム音声、評価、モデルファインチューニングにより、5分でエージェント開発を始められます。
  • 拡張可能:ツール、メモリ、可観測性の多数のエコシステム統合。MCPとA2Aの組み込みサポート。柔軟なマルチエージェントオーケストレーションとワークフロー用のメッセージハブ。
  • 本番環境対応:組み込みのOTelサポートを備え、ローカル、クラウドのサーバーレス、またはK8sクラスタ上でエージェントをデプロイして提供できます。


AgentScopeエコシステム

ニュース

さらに詳しい情報 →

コミュニティ

以下のコミュニティにご参加ください

Discord DingTalk

📑 目次

クイックスタート

インストール

AgentScope には Python 3.10 以上が必要です。

PyPI から

pip install agentscope

または uv で:

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

pip install -e .
# or with uv:
# uv pip install -e .

AgentScope へようこそ!

ユーザーと ReAct エージェント 🤖 「Friday」との会話を始めましょう!

from agentscope.agent import ReActAgent, UserAgent
from agentscope.model import DashScopeChatModel
from agentscope.formatter import DashScopeChatFormatter
from agentscope.memory import InMemoryMemory
from agentscope.tool import Toolkit, execute_python_code, execute_shell_command
import os, asyncio


async def main():
    toolkit = Toolkit()
    toolkit.register_tool_function(execute_python_code)
    toolkit.register_tool_function(execute_shell_command)

    agent = ReActAgent(
        name="Friday",
        sys_prompt="You're a helpful assistant named Friday.",
        model=DashScopeChatModel(
            model_name="qwen-max",
            api_key=os.environ["DASHSCOPE_API_KEY"],
            stream=True,
        ),
        memory=InMemoryMemory(),
        formatter=DashScopeChatFormatter(),
        toolkit=toolkit,
    )

    user = UserAgent(name="user")

    msg = None
    while True:
        msg = await agent(msg)
        msg = await user(msg)
        if msg.get_text_content() == "exit":
            break

asyncio.run(main())

音声エージェント

音声入出力機能を備えたReActエージェントを作成して、音声を理解・応答できます。マルチエージェント人狼ゲームを音声インタラクションで遊ぶこともできます。

werewolf_voice_agent.mp4

リアルタイム音声エージェント

Webインターフェース付きのリアルタイム音声エージェントを構築して、ユーザーが音声入出力によってインタラクションできます。

リアルタイムチャットボット | リアルタイムマルチエージェント例

multi_agent_realtime_voice.mp4

ヒューマンインザループ

ReActAgentでのリアルタイム割り込みに対応します。会話はリアルタイムでキャンセルによって割り込むことができ、堅牢なメモリ保存を通じてシームレスに再開できます。

リアルタイム操舵

柔軟なMCP使用法

個別のMCPツールをローカル呼び出し可能な関数として使用して、ツールキットを構成したり、より複雑なツールにラップできます。

— GitHub から取得した原文(一部省略の場合あり)

AgentScope Logo

中文主页 | Tutorial | Roadmap (Jan 2026 -) | FAQ

arxiv pypi pypi discord docs license

agentscope-ai%2Fagentscope | Trendshift

What is AgentScope?

AgentScope is a production-ready, easy-to-use agent framework with essential abstractions that work with rising model capability and built-in support for finetuning.

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.

Why use AgentScope?

  • Simple: start building your agents in 5 minutes with built-in ReAct agent, tools, skills, human-in-the-loop steering, memory, planning, realtime voice, evaluation and model finetuning
  • Extensible: large number of ecosystem integrations for tools, memory and observability; built-in support for MCP and A2A; message hub for flexible multi-agent orchestration and workflows
  • Production-ready: deploy and serve your agents locally, as serverless in the cloud, or on your K8s cluster with built-in OTel support


The AgentScope Ecosystem

News

More news →

Community

Welcome to join our community on

Discord DingTalk

📑 Table of Contents

Quickstart

Installation

AgentScope requires Python 3.10 or higher.

From PyPI

pip install agentscope

Or with uv:

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

pip install -e .
# or with uv:
# uv pip install -e .

Example

Hello AgentScope!

Start with a conversation between user and a ReAct agent 🤖 named "Friday"!

from agentscope.agent import ReActAgent, UserAgent
from agentscope.model import DashScopeChatModel
from agentscope.formatter import DashScopeChatFormatter
from agentscope.memory import InMemoryMemory
from agentscope.tool import Toolkit, execute_python_code, execute_shell_command
import os, asyncio


async def main():
    toolkit = Toolkit()
    toolkit.register_tool_function(execute_python_code)
    toolkit.register_tool_function(execute_shell_command)

    agent = ReActAgent(
        name="Friday",
        sys_prompt="You're a helpful assistant named Friday.",
        model=DashScopeChatModel(
            model_name="qwen-max",
            api_key=os.environ["DASHSCOPE_API_KEY"],
            stream=True,
        ),
        memory=InMemoryMemory(),
        formatter=DashScopeChatFormatter(),
        toolkit=toolkit,
    )

    user = UserAgent(name="user")

    msg = None
    while True:
        msg = await agent(msg)
        msg = await user(msg)
        if msg.get_text_content() == "exit":
            break

asyncio.run(main())

Voice Agent

Create a voice-enabled ReAct agent that can understand and respond with speech, even playing a multi-agent werewolf game with voice interactions.

werewolf_voice_agent.mp4

Realtime Voice Agent

Build a realtime voice agent with web interface that can interact with users via voice input and output.

Realtime chatbot | Realtime Multi-Agent Example

multi_agent_realtime_voice.mp4

Human-in-the-loop

Support realtime interruption in ReActAgent: conversation can be interrupted via cancellation in realtime and resumed seamlessly via robust memory preservation.

Realtime Steering

Flexible MCP Usage

Use individual MCP tools as local callable functions to compose toolkits or wrap into a more complex tool.