包package 2.x
agentscope-extensions-a2a-client
AgentScope Java - Extensions - A2A Client · 2.0.4
AgentScope Extensions - Agent to call remote Agent by A2A protocol
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.4 |
| 版本线Line | 2.x |
| 分类Category | extension |
| 包Packages | 5 |
| 类型Types | 30 top-level / 35 total |
包Packages
io.agentscope.core.a2a.agent | 2 |
io.agentscope.core.a2a.agent.card | 3 |
io.agentscope.core.a2a.agent.event | 6 |
io.agentscope.core.a2a.agent.message | 17 |
io.agentscope.core.a2a.agent.utils | 2 |
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
A2aAgent | 类class | io.agentscope.core.a2a.agent | A 2 a 智能体,支持智能体之间的发现、委派与协作。 The implementation of Agent for A2A(Agent2Agent). |
A2aAgentConfig | 记录record | io.agentscope.core.a2a.agent | A2A 智能体的配置。 Config of A2A Agent. |
AgentCardResolver | 接口interface | io.agentscope.core.a2a.agent.card | A2A的解析器用于 AgentCard。 The Resolver for AgentCard of A2A. |
FixedAgentCardResolver | 类class | io.agentscope.core.a2a.agent.card | Fixed 智能体卡片解析器,支持智能体之间的发现、委派与协作。 Agent Card Producer for Fixed AgentCard. |
WellKnownAgentCardResolver | 类class | io.agentscope.core.a2a.agent.card | Well Known 智能体卡片解析器,支持智能体之间的发现、委派与协作。 Agent Card Producer from well known url. |
ClientEventContext | 类class | io.agentscope.core.a2a.agent.event | 用于处理器`io.a2a.client.ClientEvent`的上下文。 Context for handler `io.a2a.client.ClientEvent`. |
ClientEventHandler | 接口interface | io.agentscope.core.a2a.agent.event | 定义客户端事件处理器契约的接口。 Handler Interface to handle Different `ClientEvent`. |
ClientEventHandlerRouter | 类class | io.agentscope.core.a2a.agent.event | 客户端事件处理器路由器,支持智能体之间的发现、委派与协作。 The Strategy router for `ClientEventHandler`. |
MessageEventHandler | 类class | io.agentscope.core.a2a.agent.event | 用于`MessageEvent`的处理器。 Handler for `MessageEvent`. |
TaskEventHandler | 类class | io.agentscope.core.a2a.agent.event | 用于`TaskEvent`的处理器。 Handler for `TaskEvent`. |
TaskUpdateEventHandler | 类class | io.agentscope.core.a2a.agent.event | 用于`TaskUpdateEvent`的处理器。 Handler for `TaskUpdateEvent`. |
AudioBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`AudioBlock`到`io.a2a.spec.FilePart`的解析器。 Parser for `AudioBlock` to `io.a2a.spec.FilePart`. |
BaseMediaBlockParser | 类class | io.agentscope.core.a2a.agent.message | 基类 Media 块解析器,支持智能体之间的发现、委派与协作。 Abstract base parser for media content blocks to `FilePart`. |
ContentBlockParser | 接口interface | io.agentscope.core.a2a.agent.message | 定义内容块解析器契约的接口。 `ContentBlock` parser interface, used to parse `ContentBlock` and convert to `Part` . |
ContentBlockParserRouter | 类class | io.agentscope.core.a2a.agent.message | 内容块解析器路由器,支持智能体之间的发现、委派与协作。 The router for `ContentBlockParser` according to class type of `ContentBlock`. |
DataPartParser | 类class | io.agentscope.core.a2a.agent.message | 用于`DataPart`到`ContentBlock`的解析器。 Parser for `DataPart` to `ContentBlock`. |
FilePartParser | 类class | io.agentscope.core.a2a.agent.message | 用于`FilePart`到`ContentBlock`的解析器。 Parser for `FilePart` to `ContentBlock`. |
HintBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`HintBlock`到`TextPart`的解析器。 Parser for `HintBlock` to `TextPart`. |
ImageBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`ImageBlock`到`io.a2a.spec.FilePart`的解析器。 Parser for `ImageBlock` to `io.a2a.spec.FilePart`. |
MessageConstants | 类class | io.agentscope.core.a2a.agent.message | 消息 Constants,支持智能体之间的发现、委派与协作。 Message Constants. |
PartParser | 接口interface | io.agentscope.core.a2a.agent.message | 定义片段解析器契约的接口。 `Part` parser interface, used to parse `Part` and convert to
`ContentBlock`. |
PartParserRouter | 类class | io.agentscope.core.a2a.agent.message | 片段解析器路由器,支持智能体之间的发现、委派与协作。 The router for `PartParser` according to the `Part#getKind()`. |
TextBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`TextBlock`到`TextPart`的解析器。 Parser for `TextBlock` to `TextPart`. |
TextPartParser | 类class | io.agentscope.core.a2a.agent.message | 用于`TextPart`到`TextBlock`或`ThinkingBlock`的解析器。 Parser for `TextPart` to `TextBlock` or
`ThinkingBlock`. |
ThinkingBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`ThinkingBlock`到`TextPart`的解析器。 Parser for `ThinkingBlock` to `TextPart`. |
ToolResultBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`ToolResultBlock`到`DataPart`的解析器。 Parser for `ToolResultBlock` to `DataPart`. |
ToolUseBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`ToolUseBlock`到`DataPart`的解析器。 Parser for `ToolUseBlock` to `DataPart`. |
VideoBlockParser | 类class | io.agentscope.core.a2a.agent.message | 用于`VideoBlock`到`io.a2a.spec.FilePart`的解析器。 Parser for `VideoBlock` to `io.a2a.spec.FilePart`. |
LoggerUtil | 类class | io.agentscope.core.a2a.agent.utils | 日志记录器 Util,支持智能体之间的发现、委派与协作。 A2A agent logger util. |
MessageConvertUtil | 类class | io.agentscope.core.a2a.agent.utils | 消息转换 Util,支持智能体之间的发现、委派与协作。 Message Converter between Agentscope `Msg` and A2A `Message` or `Artifact`. |