> ## Documentation Index
> Fetch the complete documentation index at: https://java.agentscope.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 概览

AgentScope 在 Java 侧提供了多种"让 Agent 与外部交互"的协议适配器。它们各自解决一个不同的问题：

| 扩展                                                           | 协议                                                        | 解决的问题                         |
| ------------------------------------------------------------ | --------------------------------------------------------- | ----------------------------- |
| [A2A](/v2/zh/integration/protocol/a2a)                       | [Agent-to-Agent](https://a2aproject.github.io/A2A/)       | Agent 之间互相调用、组成工作流            |
| [AG-UI](/v2/zh/integration/protocol/agui)                    | [AG-UI Protocol](https://github.com/ag-ui-protocol/ag-ui) | 把 Agent 的事件流标准化输出给前端 UI       |
| [Agent Protocol](/v2/zh/integration/protocol/agent-protocol) | [Agent Protocol](https://agentprotocol.ai/)               | HTTP 标准接口，方便其他系统提交"任务"给 Agent |

> 还有 [Chat Completions Web](/v2/zh/integration/ecosystem/chat-completions-web)：把 Agent 包装成 OpenAI Chat Completions 兼容接口，让现有客户端可以直接接入。

## 怎么选

* **想被前端 UI 实时消费 Agent 事件流（含 ThinkingBlock）** → AG-UI
* **想让其他业务系统通过 REST 调度 Agent / 托管远程子 agent** → Agent Protocol
* **想让多个 Agent / Agent 与外部 Agent 系统互相调用** → A2A

> 分层：AG-UI 面向用户；Agent Protocol 是内部远程子 agent / 任务 HTTP 面；A2A 用于外部互操作。
