AS AgentScopeAPI 手册 / API Reference
包package 2.x

service-dataplane

AgentScope Java - Service Data Plane · 2.0.4

Data plane: session turns, HarnessAgent runtime, SSE events, HITL, work queue server

groupIdGroupIdio.agentscope
版本Version2.0.4
版本线Line2.x
分类Categoryservice
包Packages9
类型Types46 top-level / 66 total

包Packages

io.agentscope.builder1
io.agentscope.builder.control5
io.agentscope.builder.web.api7
io.agentscope.builder.web.catalog2
io.agentscope.builder.web.config3
io.agentscope.builder.web.coord2
io.agentscope.builder.web.managed19
io.agentscope.builder.web.managed.selfhosted3
io.agentscope.builder.web.toolbus4

类型Types

类型Type种类Kind包Package说明Description
DataApp类classio.agentscope.builder
数据应用,承载智能体的部署、调度与服务化运行。
Entry point for the builder **data plane**.
ControlPlaneClient类classio.agentscope.builder.control
控制面客户端,封装与远端服务的连接和调用。
Data-plane HTTP client for control-plane (aistiod) internal APIs.
ControlPlaneSessionEventMirror类classio.agentscope.builder.control
控制面会话事件镜像,承载智能体的部署、调度与服务化运行。
Projects data-plane session events into the aistiod runtime event store.
DataPlaneSelfRegistration类classio.agentscope.builder.control
数据面自身注册,承载智能体的部署、调度与服务化运行。
Optionally self-registers this Java data plane with aistiod and heartbeats so the control plane can poll `/agentscope/*` without Kubernetes discovery.
SessionListItem记录recordio.agentscope.builder.control
承载会话列表条目数据的记录类型。
Lightweight session row from `GET /api/internal/sessions` on the control plane (product schema).
SessionResolveResult记录recordio.agentscope.builder.control
承载会话解析结果数据的记录类型。
One-shot session materialization returned by `GET /api/internal/sessions/{id}/resolve` on the control plane (aistiod).
AgentScopeContractController类classio.agentscope.builder.web.api
AgentScope 契约控制器,承载智能体的部署、调度与服务化运行。
aistio data-plane HTTP contract (`/agentscope/*`).
DataSessionApiController类classio.agentscope.builder.web.api
数据会话 API 控制器,承载智能体的部署、调度与服务化运行。
Data-plane session API: inbound user events (message / interrupt / tool confirmation / tool results), the persisted event log, SSE streaming and hands metrics.
HandsObservabilityController类classio.agentscope.builder.web.api
Hands 可观测性控制器,承载智能体的部署、调度与服务化运行。
Observability for Hands workers, turn coordination, and lease health.
InternalManagedAttemptController类classio.agentscope.builder.web.api
内部托管尝试控制器,承载智能体的部署、调度与服务化运行。
Fenced control-plane abort delivery for one physical Managed AgentTask Attempt.
InternalToolConfirmationController类classio.agentscope.builder.web.api
内部工具确认控制器,承载智能体的部署、调度与服务化运行。
Internal control-plane callback that resolves one fully fenced Managed AgentTask HITL ticket.
SelfHostedWorkerController类classio.agentscope.builder.web.api
自身托管工作进程控制器,承载智能体的部署、调度与服务化运行。
Outbound-worker data plane for `self_hosted`: pending tool_use listing, tool_result resume, and skills download.
WorkerEnvironmentController类classio.agentscope.builder.web.api
工作进程环境控制器,承载智能体的部署、调度与服务化运行。
REST surface for out-of-process Environment Workers on `self_hosted` environments.
HarnessAgentBuildService类classio.agentscope.builder.web.catalog
Harness 智能体构建服务,承载智能体的部署、调度与服务化运行。
Data-plane agent factory: instantiates (and caches) `HarnessAgent` instances for managed sessions.
ManagedDefinitionMaterializer类classio.agentscope.builder.web.catalog
托管定义物化器,承载智能体的部署、调度与服务化运行。
Materializes a CP definition into a session-private workspace, including deletions.
DataPlaneConfig类classio.agentscope.builder.web.config
数据面配置,保存相关配置项。
Bean assembly for the builder data plane.
DataSecurityConfig类classio.agentscope.builder.web.config
数据 Security 配置,保存相关配置项。
WebFlux Security configuration for the builder data plane.
DpSchemaInitializer类classio.agentscope.builder.web.config
Dp 模式 Initializer,承载智能体的部署、调度与服务化运行。
Ensures the dataplane JDBC schema `dp` exists before Hibernate validates / updates tables.
CoordinationReconciler类classio.agentscope.builder.web.coord
Coordination Reconciler,承载智能体的部署、调度与服务化运行。
Reconciles expired turn leases and HITL tickets so multi-replica Brain fleets do not leave sessions stuck in `running` / `requires_action`.
TurnLeaseService类classio.agentscope.builder.web.coord
轮次 Lease 服务,承载智能体的部署、调度与服务化运行。
Acquires and heartbeats the in-flight turn lease for a managed session.
AgentRunRegistry类classio.agentscope.builder.web.managed
智能体运行注册表,承载智能体的部署、调度与服务化运行。
Local execution ownership.
DataEnvironmentService类classio.agentscope.builder.web.managed
数据环境服务,承载智能体的部署、调度与服务化运行。
Data-plane read access to environment templates.
DataSessionService类classio.agentscope.builder.web.managed
数据会话服务,承载智能体的部署、调度与服务化运行。
Data-plane session service: status transitions, override merges and turn execution for sessions that were created (and version-pinned) by the control plane.
EnvironmentSpecFactory类classio.agentscope.builder.web.managed
环境规格工厂,承载智能体的部署、调度与服务化运行。
Maps Managed Agents `EnvironmentDto` onto harness filesystem / sandbox specs.
EnvironmentWorkQueue类classio.agentscope.builder.web.managed
环境 Work 队列,承载智能体的部署、调度与服务化运行。
Hands work-queue facade.
ExternalSandboxRegistry类classio.agentscope.builder.web.managed
外部沙箱注册表,承载智能体的部署、调度与服务化运行。
Live `sessionId -> Sandbox` handles registered by an Environment Worker (a remote worker calling the worker REST API).
HandsLeaseService类classio.agentscope.builder.web.managed
Hands Lease 服务,承载智能体的部署、调度与服务化运行。
Brokers hands work-queue signaling for `self_hosted` managed sessions.
ManagedMemoryTools类classio.agentscope.builder.web.managed
托管记忆工具,封装可被智能体调用的能力。
Direct CP memory operations also usable when filesystem tools execute on an external Worker.
ManagedSessionIdentity记录recordio.agentscope.builder.web.managed
承载托管会话身份数据的记录类型。
Root Session identity retained when a subagent uses its own conversation session key.
ManagedTurnContext记录recordio.agentscope.builder.web.managed
承载托管轮次上下文数据的记录类型。
Immutable managed Attempt and continuation lease captured at physical-turn admission.
MemoryDocumentStore接口interfaceio.agentscope.builder.web.managed
定义记忆文档存储契约的接口。
Live document access, scoped to one authorized session mount.
MemoryMountService类classio.agentscope.builder.web.managed
记忆 Mount 服务,承载智能体的部署、调度与服务化运行。
Resolves session-bound memory stores into `MemoryStoreFilesystem` routes mounted under `memory-stores/{storeName}/` in the harness filesystem (see `MemoryStoreFilesystem#routePrefix` and `EnvironmentSpecFactory#applyMemoryStoreRoutes`).
MemoryStoreFilesystem类classio.agentscope.builder.web.managed
记忆存储文件系统,承载智能体的部署、调度与服务化运行。
`AbstractFilesystem` view over a single `MemoryStoreService` store, mounted under `memory-stores/{storeName}/` via `io.agentscope.harness.agent.HarnessAgent.Builder#filesystemRoute`.
SessionEventMapper类classio.agentscope.builder.web.managed
会话事件 Mapper,承载智能体的部署、调度与服务化运行。
Maps harness `AgentEvent`s onto persisted session event types / payloads and stream-only preview frames.
SessionEventPreviewBus类classio.agentscope.builder.web.managed
会话事件预览总线,承载智能体的部署、调度与服务化运行。
Process-local stream-only preview bus for `event_start` / `event_delta`.
SessionResourceMountService类classio.agentscope.builder.web.managed
会话资源 Mount 服务,承载智能体的部署、调度与服务化运行。
Mounts session-level `resources[]` entries (see ` ManagedSessionService.CreateSessionRequest#resources`) into a managed session's workspace at agent-build time.
SessionTurnRunner类classio.agentscope.builder.web.managed
会话轮次运行器,承载智能体的部署、调度与服务化运行。
Executes a managed session turn against the harness agent and records session events.
VaultCredentialResolver类classio.agentscope.builder.web.managed
Vault 凭证解析器,承载智能体的部署、调度与服务化运行。
Resolves vault credentials into MCP `ToolsConfig` env substitutions so session vault mounts actually reach MCP server processes.
WorkspaceSandbox类classio.agentscope.builder.web.managed
工作区沙箱,承载智能体的部署、调度与服务化运行。
Docker-less `Sandbox` backed by a plain host directory, registered by an Environment Worker (via the worker REST API) as the Priority-1 `externalSandbox` for a `self_hosted` managed session.
PendingHandsToolService类classio.agentscope.builder.web.managed.selfhosted
待处理 Hands 工具服务,承载智能体的部署、调度与服务化运行。
Resolves pending `agent.tool_use` events that still lack a matching tool result.
SelfHostedToolSchemas类classio.agentscope.builder.web.managed.selfhosted
自身托管工具模式,承载智能体的部署、调度与服务化运行。
Schema definitions for the self-hosted external toolset.
SkillsBundleService类classio.agentscope.builder.web.managed.selfhosted
技能 Bundle 服务,承载智能体的部署、调度与服务化运行。
Packs agent skills into a Worker-downloadable manifest (Claude-style skills sync for self-hosted).
ToolConfirmationCoordinator类classio.agentscope.builder.web.toolbus
工具确认 Coordinator,承载智能体的部署、调度与服务化运行。
Coordinates human-in-the-loop tool confirmations.
ToolConfirmationMiddleware类classio.agentscope.builder.web.toolbus
工具确认中间件,在智能体执行流程中提供横切扩展。
Harness middleware that enforces per-tool permission policies.
ToolEventBus类classio.agentscope.builder.web.toolbus
工具事件总线,承载智能体的部署、调度与服务化运行。
Singleton in-memory event bus for tool-call events emitted by HarnessAgent hooks.
ToolNotificationMiddleware类classio.agentscope.builder.web.toolbus
工具通知中间件,在智能体执行流程中提供横切扩展。
`MiddlewareBase` implementation that publishes tool-call events to `ToolEventBus` before each tool-call execution, enabling real-time SSE streaming of tool calls in `io.agentscope.builder.web.api.DataSessionApiController`.