包package
io.agentscope.extensions.agentprotocolio.agentscope.extensions.agentprotocol
package io.agentscope.extensions.agentprotocol
io.agentscope.extensions.agentprotocol 属于基础设施,类型、异常、传输与工具函数。 该包共收录 12 个公开类型。
io.agentscope.extensions.agentprotocol belongs to the Infrastructure layer and contains 12 public types.
接口Interfaces
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AgentFactory | 接口interface | 定义智能体工厂契约的接口。 Resolves the `HarnessAgent` that executes an Agent Protocol task. |
AgentProtocolEventBus | 接口interface | 定义智能体协议事件总线契约的接口。 Event bus abstraction used by Agent Protocol task SSE endpoints. |
ProtocolTaskRepository | 接口interface | 定义协议任务仓库契约的接口。 Control-plane persistence for Agent Protocol `TaskRecord`s. |
RuntimeContextCustomizer | 接口interface | 定义运行时上下文 Customizer契约的接口。 Hook for shaping the `RuntimeContext` of an Agent Protocol task run. |
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AgentProtocolAutoConfiguration | 类class | 智能体协议 Auto 配置,保存相关配置项。 Registers task protocol REST endpoints when enabled. |
AgentProtocolConstants | 类class | 智能体协议 Constants,为框架提供通用类型与基础能力。 Workspace partitioning for persisted task records served by the protocol endpoints, plus the
contract for caller-supplied context attributes. |
AgentProtocolController | 类class | 智能体协议控制器,为框架提供通用类型与基础能力。 Internal AgentScope task protocol (`/tasks/...`). |
AgentProtocolProperties | 类class | 智能体协议属性,为框架提供通用类型与基础能力。 Configuration for the AgentScope task HTTP protocol endpoints. |
AgentProtocolTaskEventBus | 类class | 智能体协议任务事件总线,为框架提供通用类型与基础能力。 Per-task event bus for Agent Protocol SSE streaming. |
AgentProtocolTaskStore | 类class | 智能体协议任务存储,负责持久化与读取数据。 In-memory execution handles with control-plane `TaskRecord` persistence. |
WorkspaceProtocolTaskRepository | 类class | 工作区协议任务仓库,负责持久化与读取数据。 `ProtocolTaskRepository` backed by a dedicated `WorkspaceManager` writing into the
synthetic `AgentProtocolConstants#PROTOCOL_AGENT_ID` /
`AgentProtocolConstants#PROTOCOL_SESSION_ID` bucket. |
记录Records
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AgentRequest | 记录record | 承载智能体请求数据的记录类型。 Everything an `AgentFactory` needs to pick or build the agent for one task run. |