AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.builder.web.managed

io.agentscope.builder.web.managed

package io.agentscope.builder.web.managed

io.agentscope.builder.web.managed 属于运行时与部署,服务化、调度、控制面与 Web 应用。 该包共收录 46 个公开类型。

io.agentscope.builder.web.managed belongs to the Runtime & deployment layer and contains 46 public types.

接口Interfaces

类型Type种类Kind说明Description
MemoryDocumentStore接口interface
定义记忆文档存储契约的接口。
Live document access, scoped to one authorized session mount.

类Classes

类型Type种类Kind说明Description
AgentOverrideMerger类class
智能体 Override Merger,承载智能体的部署、调度与服务化运行。
Shared merge helper for session-scoped agent overrides.
AgentRunRegistry类class
智能体运行注册表,承载智能体的部署、调度与服务化运行。
Local execution ownership.
ChannelExternalKeys类class
渠道外部密钥,承载智能体的部署、调度与服务化运行。
Builds stable `externalKey` values for managed-session find-or-create, aligned with channel `dmScope`: - MAIN DMs → `{channelId}|main` - PER_PEER DMs / groups → `{channelId}|{peerKind}|{peerId}` from the outbound address - Groups always use the group peer id even under MAIN (so group and DM never share a slot)
ChannelWorkBridge类class
渠道 Work Bridge,承载智能体的部署、调度与服务化运行。
Authenticated, durable work intake.
CronDeploymentScheduler类class
Cron 部署调度器,承载智能体的部署、调度与服务化运行。
Scheduler-plane cron loop: every minute, finds due cron deployments, acquires a shared fire lease, and asks the control plane to fire (create session + kick data-plane turn).
DataEnvironmentService类class
数据环境服务,承载智能体的部署、调度与服务化运行。
Data-plane read access to environment templates.
DataSessionService类class
数据会话服务,承载智能体的部署、调度与服务化运行。
Data-plane session service: status transitions, override merges and turn execution for sessions that were created (and version-pinned) by the control plane.
EnvironmentSpecFactory类class
环境规格工厂,承载智能体的部署、调度与服务化运行。
Maps Managed Agents `EnvironmentDto` onto harness filesystem / sandbox specs.
EnvironmentTypes类class
环境类型,承载智能体的部署、调度与服务化运行。
Environment template type constants, shared across planes.
EnvironmentWorkQueue类class
环境 Work 队列,承载智能体的部署、调度与服务化运行。
Hands work-queue facade.
ExternalSandboxRegistry类class
外部沙箱注册表,承载智能体的部署、调度与服务化运行。
Live `sessionId -> Sandbox` handles registered by an Environment Worker (a remote worker calling the worker REST API).
HandsLeaseService类class
Hands Lease 服务,承载智能体的部署、调度与服务化运行。
Brokers hands work-queue signaling for `self_hosted` managed sessions.
ManagedMemoryTools类class
托管记忆工具,封装可被智能体调用的能力。
Direct CP memory operations also usable when filesystem tools execute on an external Worker.
ManagedSessionChannelBridge类class
托管会话渠道 Bridge,承载智能体的部署、调度与服务化运行。
Bridges inbound IM channel turns (DingTalk, Feishu, WeCom, GitHub, GitLab, ...) into the managed-session model across plane boundaries: - `POST /api/internal/sessions/find-or-create` on the **control plane** resolves (or creates and version-pins) the session for the channel conversation; - `POST /api/sessions/{id}/events` on the **data plane** posts the user message, which schedules the harness turn asynchronously; - `GET /api/sessions/{id}/events?after=seq` on the **data plane** is polled until the turn reaches a terminal status, and the last `agent.message` text is returned as the channel reply.
MemoryMountService类class
记忆 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类class
记忆存储文件系统,承载智能体的部署、调度与服务化运行。
`AbstractFilesystem` view over a single `MemoryStoreService` store, mounted under `memory-stores/{storeName}/` via `io.agentscope.harness.agent.HarnessAgent.Builder#filesystemRoute`.
SessionEventMapper类class
会话事件 Mapper,承载智能体的部署、调度与服务化运行。
Maps harness `AgentEvent`s onto persisted session event types / payloads and stream-only preview frames.
SessionEventPreviewBus类class
会话事件预览总线,承载智能体的部署、调度与服务化运行。
Process-local stream-only preview bus for `event_start` / `event_delta`.
SessionEventTypes类class
会话事件类型,承载智能体的部署、调度与服务化运行。
Canonical session event type names (persisted + stream-only).
SessionResourceMountService类class
会话资源 Mount 服务,承载智能体的部署、调度与服务化运行。
Mounts session-level `resources[]` entries (see ` ManagedSessionService.CreateSessionRequest#resources`) into a managed session's workspace at agent-build time.
SessionStatuses类class
会话 Statuses,承载智能体的部署、调度与服务化运行。
Shared session status vocabulary.
SessionTurnRunner类class
会话轮次运行器,承载智能体的部署、调度与服务化运行。
Executes a managed session turn against the harness agent and records session events.
VaultCredentialResolver类class
Vault 凭证解析器,承载智能体的部署、调度与服务化运行。
Resolves vault credentials into MCP `ToolsConfig` env substitutions so session vault mounts actually reach MCP server processes.
WorkspaceSandbox类class
工作区沙箱,承载智能体的部署、调度与服务化运行。
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.

记录Records

类型Type种类Kind说明Description
AgentVersionSnapshot记录record
承载智能体版本快照数据的记录类型。
Immutable snapshot of versioned agent configuration fields persisted in `io.agentscope.builder.web.persistence.jpa.AgentVersionEntity`.
DeploymentDto记录record
承载部署 Dto数据的记录类型。
API representation of a deployment: agent + version + environment + trigger.
EnvironmentDto记录record
承载环境 Dto数据的记录类型。
API representation of an execution environment template.
ManagedSessionDto记录record
承载托管会话 Dto数据的记录类型。
API representation of a managed agent session.
ManagedSessionIdentity记录record
承载托管会话身份数据的记录类型。
Root Session identity retained when a subagent uses its own conversation session key.
ManagedTurnContext记录record
承载托管轮次上下文数据的记录类型。
Immutable managed Attempt and continuation lease captured at physical-turn admission.
MemoryDto记录record
承载记忆 Dto数据的记录类型。
API representation of a path-addressed memory document.
MemoryStoreDto记录record
承载记忆存储 Dto数据的记录类型。
API representation of a cross-session memory store.
MemoryVersionDto记录record
承载记忆版本 Dto数据的记录类型。
API representation of an immutable memory document version.
ResourceShareDto记录record
承载资源 Share Dto数据的记录类型。
API view of a `io.agentscope.builder.web.persistence.jpa.ResourceShareEntity` grant.
SessionAgentBuildSpec记录record
承载会话智能体构建规格数据的记录类型。
Runtime build parameters for a managed-session `io.agentscope.harness.agent.HarnessAgent`.
SessionEventDto记录record
承载会话事件 Dto数据的记录类型。
API representation of a single append-only session event.
VaultCredentialDto记录record
承载 Vault 凭证 Dto数据的记录类型。
API representation of a vault credential entry (no plaintext).
VaultDto记录record
承载 Vault Dto数据的记录类型。
API representation of a credential vault (no secrets).
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.