包package 2.x
agentscope-harness
AgentScope Java - Harness · 2.0.4
AgentScope Harness - Enhanced agent runtime with workspace context, subagent orchestration, memory management, and backend abstraction
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.4 |
| 版本线Line | 2.x |
| 分类Category | integration |
| 包Packages | 36 |
| 类型Types | 264 top-level / 345 total |
包Packages
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
DistributedStore | 接口interface | io.agentscope.harness.agent | 定义分布式存储契约的接口。 One-stop configuration for distributed and persistent storage components. |
HarnessAgent | 类class | io.agentscope.harness.agent | Harness 智能体,承载智能体的部署、调度与服务化运行。 HarnessAgent is the user-facing harness API that wraps a `ReActAgent` with workspace /
filesystem / sandbox / subagent / skill / plan-mode / MCP orchestration. |
IsolationScope | 枚举enum | io.agentscope.harness.agent | 定义隔离范围相关取值的枚举。 Controls how agent state is isolated and shared across calls. |
ArtifactDeliveryRequest | 记录record | io.agentscope.harness.agent.artifact | 承载 Artifact Delivery 请求数据的记录类型。 A single artifact delivery request issued by the `deliver_artifact` tool. |
ArtifactDeliveryResult | 记录record | io.agentscope.harness.agent.artifact | `ArtifactDeliveryTarget#deliver`尝试的结果。 Result of an `ArtifactDeliveryTarget#deliver` attempt. |
ArtifactDeliveryTarget | 接口interface | io.agentscope.harness.agent.artifact | 定义 Artifact Delivery 目标契约的接口。 SPI for delivering artifacts produced by an agent (typically inside a sandbox) to a destination
outside the agent filesystem — the host, a project artifact store, an object store, WebDAV, etc. |
AsyncToolRecord | 记录record | io.agentscope.harness.agent.bus | 承载异步工具记录数据的记录类型。 Tracks the lifecycle of an async tool execution that has been offloaded to the background. |
AsyncToolRegistry | 接口interface | io.agentscope.harness.agent.bus | 定义异步工具注册表契约的接口。 Registry for tracking async tool executions that have been offloaded to the background. |
BusEntry | 记录record | io.agentscope.harness.agent.bus | 承载总线条目数据的记录类型。 A single entry read from a `MessageBus` queue or log. |
MessageBus | 接口interface | io.agentscope.harness.agent.bus | 定义消息总线契约的接口。 Live message transport for coordinating work across sessions and processes. |
WorkspaceAsyncToolRegistry | 类class | io.agentscope.harness.agent.bus | 工作区异步工具注册表,承载智能体的部署、调度与服务化运行。 `AsyncToolRegistry` backed by `AbstractFilesystem`. |
WorkspaceMessageBus | 类class | io.agentscope.harness.agent.bus | 工作区消息总线,承载智能体的部署、调度与服务化运行。 `MessageBus` implementation backed by `AbstractFilesystem`. |
LocalPeriodicGate | 类class | io.agentscope.harness.agent.coordination | 本地 Periodic Gate,承载智能体的部署、调度与服务化运行。 JVM-local `PeriodicGate` backed by a process-wide `ConcurrentHashMap` and CAS
updates. |
PeriodicGate | 接口interface | io.agentscope.harness.agent.coordination | 定义 Periodic Gate契约的接口。 Coordinates periodic background work across callers (and optionally across nodes) using a
minimum-gap throttle. |
StoreBackedPeriodicGate | 类class | io.agentscope.harness.agent.coordination | 存储 Backed Periodic Gate,承载智能体的部署、调度与服务化运行。 Distributed `PeriodicGate` backed by `BaseStore#putIfVersion`. |
AbstractFilesystem | 接口interface | io.agentscope.harness.agent.filesystem | 定义抽象文件系统契约的接口。 Abstract filesystem API for agents: list, read, write, edit, grep, glob, upload, download. |
BakedContextFilesystem | 类class | io.agentscope.harness.agent.filesystem | Baked 上下文文件系统,承载智能体的部署、调度与服务化运行。 Filesystem wrapper that substitutes a fixed `RuntimeContext` on every delegated call,
ignoring whatever RC the caller supplies. |
CompositeFilesystem | 类class | io.agentscope.harness.agent.filesystem | Composite 文件系统,承载智能体的部署、调度与服务化运行。 Routes file operations to different `AbstractFilesystem` stores by path prefix. |
OverlayFilesystem | 类class | io.agentscope.harness.agent.filesystem | Overlay 文件系统,承载智能体的部署、调度与服务化运行。 A layered filesystem that overlays a user-specific "upper" layer on top of a shared "lower"
layer, providing copy-on-write semantics. |
ProjectAwareOverlay | 类class | io.agentscope.harness.agent.filesystem | Project Aware Overlay,承载智能体的部署、调度与服务化运行。 Overlay variant that routes writes to the *project* directory for non-workspace paths,
while keeping workspace metadata (memory, sessions, skills, etc.) in the upper (workspace) layer. |
RoutedSandboxFilesystem | 类class | io.agentscope.harness.agent.filesystem | Routed 沙箱文件系统,承载智能体的部署、调度与服务化运行。 Prefix-routed filesystem that preserves shell execution on the primary sandbox backend. |
LocalFilesystem | 类class | io.agentscope.harness.agent.filesystem.local | 本地文件系统,承载智能体的部署、调度与服务化运行。 `AbstractFilesystem` implementation that reads and writes files on the local disk. |
LocalFilesystemWithShell | 类class | io.agentscope.harness.agent.filesystem.local | 本地文件系统使用 Shell,承载智能体的部署、调度与服务化运行。 Filesystem with unrestricted local shell command execution. |
EditResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载 Edit 结果数据的记录类型。 Result of a file edit (string replacement) operation. |
ExecuteResponse | 记录record | io.agentscope.harness.agent.filesystem.model | 承载执行响应数据的记录类型。 Result of code/shell execution. |
FileData | 记录record | io.agentscope.harness.agent.filesystem.model | 承载文件数据数据的记录类型。 Data structure for storing file contents with metadata. |
FileDownloadResponse | 记录record | io.agentscope.harness.agent.filesystem.model | 承载文件下载响应数据的记录类型。 Result of a single file download operation. |
FileInfo | 记录record | io.agentscope.harness.agent.filesystem.model | 承载文件信息数据的记录类型。 Structured file listing info. |
FileUploadResponse | 记录record | io.agentscope.harness.agent.filesystem.model | 承载文件上传响应数据的记录类型。 Result of a single file upload operation. |
GlobResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载 Glob 结果数据的记录类型。 Result from abstract filesystem glob operations. |
GrepMatch | 记录record | io.agentscope.harness.agent.filesystem.model | 承载 Grep Match数据的记录类型。 A single match from a grep search. |
GrepResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载 Grep 结果数据的记录类型。 Result from abstract filesystem grep operations. |
LsResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载 Ls 结果数据的记录类型。 Result from abstract filesystem ls (directory listing) operations. |
ReadResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载读取结果数据的记录类型。 Result from abstract filesystem read operations. |
WriteResult | 记录record | io.agentscope.harness.agent.filesystem.model | 承载写入结果数据的记录类型。 Result of a file write operation. |
RemoteFilesystem | 类class | io.agentscope.harness.agent.filesystem.remote | 远程文件系统,承载智能体的部署、调度与服务化运行。 `AbstractFilesystem` backed by a `BaseStore` (persistent, cross-thread). |
BaseStore | 接口interface | io.agentscope.harness.agent.filesystem.remote.store | 定义基类存储契约的接口。 Abstract interface for a namespace-based key-value store. |
InMemoryStore | 类class | io.agentscope.harness.agent.filesystem.remote.store | In 记忆存储,负责持久化与读取数据。 Thread-safe in-memory implementation of `BaseStore`. |
NamespaceFactory | 接口interface | io.agentscope.harness.agent.filesystem.remote.store | 定义命名空间工厂契约的接口。 Factory that produces a namespace tuple for `BaseStore` operations at call time. |
StoreItem | 记录record | io.agentscope.harness.agent.filesystem.remote.store | 承载存储条目数据的记录类型。 A single item retrieved from a `BaseStore`. |
AbstractSandboxFilesystem | 接口interface | io.agentscope.harness.agent.filesystem.sandbox | 定义抽象沙箱文件系统契约的接口。 Filesystem abstraction that adds shell command execution (sandbox or remote host). |
BaseSandboxFilesystem | 类class | io.agentscope.harness.agent.filesystem.sandbox | 基类沙箱文件系统,承载智能体的部署、调度与服务化运行。 Abstract base sandbox implementation with `#execute` as the core abstract method. |
PinnedSandboxFilesystem | 类class | io.agentscope.harness.agent.filesystem.sandbox | Pinned 沙箱文件系统,承载智能体的部署、调度与服务化运行。 `SandboxBackedFilesystem` that holds a fixed `Sandbox` reference for the lifetime of
the instance. |
SandboxBackedFilesystem | 类class | io.agentscope.harness.agent.filesystem.sandbox | 沙箱 Backed 文件系统,承载智能体的部署、调度与服务化运行。 A `BaseSandboxFilesystem` that delegates execution to a live `Sandbox`. |
LocalFilesystemSpec | 类class | io.agentscope.harness.agent.filesystem.spec | 本地文件系统规格,承载智能体的部署、调度与服务化运行。 Specification for the local filesystem mode (with shell execution). |
RemoteFilesystemSpec | 类class | io.agentscope.harness.agent.filesystem.spec | 远程文件系统规格,承载智能体的部署、调度与服务化运行。 Specification for the non-sandbox "composite" filesystem mode. |
SandboxFilesystemSpec | 类class | io.agentscope.harness.agent.filesystem.spec | 沙箱文件系统规格,承载智能体的部署、调度与服务化运行。 Declarative sandbox filesystem configuration. |
FilesystemUtils | 类class | io.agentscope.harness.agent.filesystem.util | 文件系统 Utils,承载智能体的部署、调度与服务化运行。 Shared utility functions for filesystem implementations. |
ChannelManager | 类class | io.agentscope.harness.agent.gateway | 渠道管理器,承载智能体的部署、调度与服务化运行。 Registry and lifecycle manager for `Channel` adapters. |
Gateway | 接口interface | io.agentscope.harness.agent.gateway | 定义网关契约的接口。 Gateway-style entrypoint: route inbound turns by `MsgContext`, and bind the primary `HarnessAgent` for announce delivery. |
GatewayBootstrap | 类class | io.agentscope.harness.agent.gateway | 网关 Bootstrap,承载智能体的部署、调度与服务化运行。 Multi-agent + channel routing bootstrap. |
HarnessGateway | 类class | io.agentscope.harness.agent.gateway | Harness 网关,承载智能体的部署、调度与服务化运行。 Default `Gateway` implementation. |
InMemorySubagentRegistry | 类class | io.agentscope.harness.agent.gateway | In 记忆子智能体注册表,承载智能体的部署、调度与服务化运行。 Default single-process `SubagentRegistry`. |
LocalSessionTurnGate | 类class | io.agentscope.harness.agent.gateway | 本地会话轮次 Gate,承载智能体的部署、调度与服务化运行。 Process-local fair per-key mutual exclusion for gateway turns. |
MsgContext | 记录record | io.agentscope.harness.agent.gateway | 承载消息上下文数据的记录类型。 Routing context for inbound turns (direct API, channel adapter, group/room/thread). |
SessionIdUtils | 类class | io.agentscope.harness.agent.gateway | 会话标识 Utils,承载智能体的部署、调度与服务化运行。 Deterministic session-ID derivation. |
SessionTurnGate | 接口interface | io.agentscope.harness.agent.gateway | 定义会话轮次 Gate契约的接口。 Per-key mutual exclusion for gateway turns (user/channel inbound runs and subagent notification). |
StoreBackedSubagentRegistry | 类class | io.agentscope.harness.agent.gateway | 存储 Backed 子智能体注册表,承载智能体的部署、调度与服务化运行。 Distributed `SubagentRegistry` backed by a `BaseStore`. |
SubagentGatewayBridge | 接口interface | io.agentscope.harness.agent.gateway | 定义子智能体网关 Bridge契约的接口。 Bridge between `io.agentscope.harness.agent.tool.AgentSpawnTool` and the gateway layer. |
SubagentMaterializer | 接口interface | io.agentscope.harness.agent.gateway | 定义子智能体物化器契约的接口。 Rebuilds a subagent `Agent` instance from its type id. |
SubagentRecord | 记录record | io.agentscope.harness.agent.gateway | 承载子智能体记录数据的记录类型。 Durable, recovery-oriented descriptor of an exposed subagent. |
SubagentRegistry | 接口interface | io.agentscope.harness.agent.gateway | 定义子智能体注册表契约的接口。 Durable registry of exposed subagents, keyed by `subagentId`. |
TurnBusyException | 类class | io.agentscope.harness.agent.gateway | 轮次 Busy 异常,表示执行过程中的错误。 Thrown when a session turn gate cannot be acquired because another turn holds the lock. |
TurnLease | 接口interface | io.agentscope.harness.agent.gateway | 定义轮次 Lease契约的接口。 A handle representing an acquired session turn slot. |
WakeupDispatcher | 类class | io.agentscope.harness.agent.gateway | Wakeup 调度器,承载智能体的部署、调度与服务化运行。 Per-process dispatcher that wakes idle sessions when background work completes. |
Channel | 接口interface | io.agentscope.harness.agent.gateway.channel | 定义渠道契约的接口。 Channel adapter — ingests inbound messages from one messaging platform (or a programmatic
caller), routes them through `ChannelRouter` to resolve the target agent and session, and
delegates execution to `Gateway`. |
ChannelBinding | 记录record | io.agentscope.harness.agent.gateway.channel | 承载渠道绑定数据的记录类型。 One routing rule that maps a set of inbound-message conditions to a target `agentId`. |
ChannelConfig | 记录record | io.agentscope.harness.agent.gateway.channel | 承载渠道配置数据的记录类型。 Per-channel routing configuration: default agent fallback, DM session scope, and ordered binding
rules evaluated by `ChannelRouter`. |
ChannelFactory | 接口interface | io.agentscope.harness.agent.gateway.channel | 定义渠道工厂契约的接口。 Constructs a `Channel` instance from the resolved routing config and provider-specific
properties. |
ChannelRouter | 类class | io.agentscope.harness.agent.gateway.channel | 渠道路由器,承载智能体的部署、调度与服务化运行。 Resolves the target `agentId` and stable `MsgContext` for an `InboundMessage`
by evaluating `ChannelBinding` rules in deterministic priority order. |
ChannelRuntimeContextRequest | 记录record | io.agentscope.harness.agent.gateway.channel | 承载渠道运行时上下文请求数据的记录类型。 Inputs available to a `ChannelRuntimeContextResolver` when resolving caller context for a
Gateway turn. |
ChannelRuntimeContextResolver | 接口interface | io.agentscope.harness.agent.gateway.channel | 定义渠道运行时上下文解析器契约的接口。 Resolves a caller-provided `RuntimeContext` for a Channel / Gateway turn. |
DmScope | 枚举enum | io.agentscope.harness.agent.gateway.channel | 定义Dm 范围相关取值的枚举。 Controls how DM (`PeerKind#DIRECT`) session keys are scoped. |
InboundMessage | 记录record | io.agentscope.harness.agent.gateway.channel | 承载入站消息数据的记录类型。 Normalized inbound message produced by a `Channel` adapter before routing. |
OutboundAddress | 记录record | io.agentscope.harness.agent.gateway.channel | 承载出站 Address数据的记录类型。 Delivery target for outbound (proactive) messages. |
Peer | 记录record | io.agentscope.harness.agent.gateway.channel | 承载对端数据的记录类型。 Identifies the conversation peer: who or what is being messaged (a user DM, a channel, a group,
or a thread). |
PeerKind | 枚举enum | io.agentscope.harness.agent.gateway.channel | 定义对端种类相关取值的枚举。 Classification of the conversation peer, used for session key construction and DM-scope
resolution. |
RouteResult | 记录record | io.agentscope.harness.agent.gateway.channel | 承载路由结果数据的记录类型。 Output of `ChannelRouter#resolveRoute`: the resolved agent id, the `MsgContext` to
pass to `io.agentscope.harness.agent.gateway.Gateway#run`, a diagnostic `matchedBy`
label indicating which binding tier (or fallback) produced the result, and the `OutboundAddress` for delivering replies back to the originating channel/peer. |
ChatUiChannel | 类class | io.agentscope.harness.agent.gateway.channel.chatui | 聊天 Ui 渠道,承载智能体的部署、调度与服务化运行。 Default `Channel` implementation for direct Chat UI interactions: no external transport,
no webhook, no websocket — the caller submits a `ChatUiRequest` programmatically and
receives the agent reply reactively. |
ChatUiRequest | 记录record | io.agentscope.harness.agent.gateway.channel.chatui | 用于`ChatUiChannel`的请求对象。 Request object for `ChatUiChannel`. |
OutboundEnvelope | 记录record | io.agentscope.harness.agent.gateway.channel.chatui | 承载出站 Envelope数据的记录类型。 A buffered proactive outbound message delivered to `ChatUiChannel` by the gateway. |
SendOptions | 记录record | io.agentscope.harness.agent.gateway.channel.chatui | 承载发送选项数据的记录类型。 Routing identity for `ChatUiChannel` requests. |
MemoryBackgroundTasks | 类class | io.agentscope.harness.agent.memory | 记忆 Background 任务,在多次调用之间保存和恢复会话与记忆数据。 Tracks in-flight fire-and-forget memory background tasks (flush, maintenance) so
`HarnessAgent.close()` can wait for them to quiesce before releasing resources. |
MemoryConfig | 类class | io.agentscope.harness.agent.memory | 记忆配置,保存相关配置项。 Unified configuration for the long-term memory pipeline (flush + consolidation +
maintenance). |
MemoryConsolidator | 类class | io.agentscope.harness.agent.memory | 记忆 Consolidator,在多次调用之间保存和恢复会话与记忆数据。 LLM-based consolidation of daily memory ledgers into the curated `MEMORY.md`. |
MemoryFlushManager | 类class | io.agentscope.harness.agent.memory | 记忆刷新管理器,在多次调用之间保存和恢复会话与记忆数据。 Manages memory flush operations: extracting long-term memories from a conversation
window and appending them to today's daily memory ledger. |
CompactionConfig | 类class | io.agentscope.harness.agent.memory.compaction | 压缩配置,保存相关配置项。 Configuration for conversation compaction (summarization). |
ConversationCompactor | 类class | io.agentscope.harness.agent.memory.compaction | 会话 Compactor,在多次调用之间保存和恢复会话与记忆数据。 Algorithm |
TokenCounterUtil | 类class | io.agentscope.harness.agent.memory.compaction | 令牌 Counter Util,在多次调用之间保存和恢复会话与记忆数据。 Utility class for estimating token count in messages. |
ToolResultEvictionConfig | 类class | io.agentscope.harness.agent.memory.compaction | 工具结果淘汰配置,保存相关配置项。 Configuration for per-tool-result eviction of oversized outputs. |
SessionEntry | 类class | io.agentscope.harness.agent.memory.session | 会话条目,在多次调用之间保存和恢复会话与记忆数据。 Base class for all session tree entries (pi-mono-inspired JSONL session model). |
SessionFreshnessEvaluator | 类class | io.agentscope.harness.agent.memory.session | 会话 Freshness 评估器,在多次调用之间保存和恢复会话与记忆数据。 Evaluates whether a session is still "fresh" or should be reset. |
SessionTranscriptWriter | 类class | io.agentscope.harness.agent.memory.session | 会话 Transcript Writer,在多次调用之间保存和恢复会话与记忆数据。 Independent writer for the session transcript JSONL (`.jsonl` / `.log.jsonl`). |
SessionTree | 类class | io.agentscope.harness.agent.memory.session | 会话树,在多次调用之间保存和恢复会话与记忆数据。 Manages an append-only JSONL session tree (pi-mono-inspired). |
AgentTraceMiddleware | 类class | io.agentscope.harness.agent.middleware | 智能体追踪中间件,在智能体执行流程中提供横切扩展。 Observability middleware that logs the reasoning and execution trace of an agent. |
AsyncToolMiddleware | 类class | io.agentscope.harness.agent.middleware | 异步工具中间件,在智能体执行流程中提供横切扩展。 Middleware that offloads long-running tool calls to background execution. |
AtPathExpansionMiddleware | 类class | io.agentscope.harness.agent.middleware | At 路径 Expansion 中间件,在智能体执行流程中提供横切扩展。 Expands `@path` references in user messages by reading the referenced files through the
active `AbstractFilesystem` and appending an `<attached_file>` block at the end of
the message. |
CompactionMiddleware | 类class | io.agentscope.harness.agent.middleware | 压缩中间件,在智能体执行流程中提供横切扩展。 Middleware that performs conversation compaction before each LLM reasoning call. |
DynamicSubagentsMiddleware | 类class | io.agentscope.harness.agent.middleware | Dynamic Subagents 中间件,在智能体执行流程中提供横切扩展。 Dynamic counterpart to `SubagentsMiddleware` that re-resolves the registered subagent
set on every reasoning step, supporting per-user isolation through the workspace
`AbstractFilesystem` (e.g. |
HarnessRuntimeMiddleware | 接口interface | io.agentscope.harness.agent.middleware | 定义 Harness 运行时中间件契约的接口。 Marker for middleware installed by harness runtime wiring. |
HarnessSkillMiddleware | 类class | io.agentscope.harness.agent.middleware | Harness 技能中间件,在智能体执行流程中提供横切扩展。 Harness-native skill middleware. |
InboxMiddleware | 类class | io.agentscope.harness.agent.middleware | 收件箱中间件,在智能体执行流程中提供横切扩展。 Middleware that drains the message bus inbox before each reasoning step and injects the messages
as `HintBlock`s into the agent's context. |
MemoryFlushMiddleware | 类class | io.agentscope.harness.agent.middleware | 记忆刷新中间件,在智能体执行流程中提供横切扩展。 Middleware that triggers memory flush and message offload at the end of each agent call. |
MemoryMaintenanceMiddleware | 类class | io.agentscope.harness.agent.middleware | 记忆维护中间件,在智能体执行流程中提供横切扩展。 Middleware that performs periodic memory maintenance after each agent call. |
PlanModeMiddleware | 类class | io.agentscope.harness.agent.middleware | 计划模式中间件,在智能体执行流程中提供横切扩展。 Enforces plan mode: while `AgentState.planModeContext.planActive` is `true`, mutating
tool calls are denied so the agent can only read / investigate and draft a plan. |
SandboxLifecycleMiddleware | 类class | io.agentscope.harness.agent.middleware | 沙箱生命周期中间件,在智能体执行流程中提供横切扩展。 Middleware that manages the sandbox session lifecycle around each agent call. |
SkillCuratorMiddleware | 类class | io.agentscope.harness.agent.middleware | 技能 Curator 中间件,在智能体执行流程中提供横切扩展。 Schedules `SkillCurator` runs after the main `call()` completes. |
SkillUsageMiddleware | 类class | io.agentscope.harness.agent.middleware | 技能用量中间件,在智能体执行流程中提供横切扩展。 Bumps `SkillUsageStore` counters whenever the agent invokes a SkillBox-registered skill
loader (e.g. |
SubagentEntry | 记录record | io.agentscope.harness.agent.middleware | 承载子智能体条目数据的记录类型。 Descriptor for a subagent identified by agent id, with its description,
`SubagentFactory`, and optional `SubagentDeclaration` (for
remote URL and headers). |
SubagentsMiddleware | 类class | io.agentscope.harness.agent.middleware | Subagents 中间件,在智能体执行流程中提供横切扩展。 Middleware that provides the managed subagent mechanism. |
TeamsMiddleware | 类class | io.agentscope.harness.agent.middleware | Teams 中间件,在智能体执行流程中提供横切扩展。 Injects AgentTeams context into the system prompt and exposes a role-clipped `TeamTool`. |
ToolResultEvictionMiddleware | 类class | io.agentscope.harness.agent.middleware | 工具结果淘汰中间件,在智能体执行流程中提供横切扩展。 Middleware that evicts oversized tool results to the `AbstractFilesystem` before
downstream reasoning sees the bloated message list. |
TranscriptMiddleware | 类class | io.agentscope.harness.agent.middleware | Transcript 中间件,在智能体执行流程中提供横切扩展。 Persists the conversation transcript at the end of every agent call. |
WorkspaceContextMiddleware | 类class | io.agentscope.harness.agent.middleware | 工作区上下文中间件,在智能体执行流程中提供横切扩展。 Appends workspace context (session info, AGENTS.md, MEMORY.md, knowledge) to the
system prompt via `#onSystemPrompt(Agent, RuntimeContext, String)`. |
AbstractBaseSandbox | 类class | io.agentscope.harness.agent.sandbox | 抽象基类沙箱,承载智能体的部署、调度与服务化运行。 Abstract base implementation of `Sandbox` with the 4-branch workspace start logic. |
ExecResult | 记录record | io.agentscope.harness.agent.sandbox | 沙箱命令执行的结果。 Result of a sandbox command execution. |
Sandbox | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱契约的接口。 An active sandbox with a fully isolated workspace. |
SandboxAcquireResult | 类class | io.agentscope.harness.agent.sandbox | 沙箱 Acquire 结果,承载智能体的部署、调度与服务化运行。 Result of acquiring a `Sandbox` from `SandboxManager`. |
SandboxAware | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱 Aware契约的接口。 Marks a filesystem that can have its backing `Sandbox` injected at runtime. |
SandboxClient | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱客户端契约的接口。 Factory for creating and resuming `Sandbox` instances. |
SandboxClientOptions | 类class | io.agentscope.harness.agent.sandbox | 沙箱客户端配置选项的基类。 Base class for sandbox client configuration options. |
SandboxContext | 类class | io.agentscope.harness.agent.sandbox | 用于沙箱行为的不可变配置。 Immutable configuration for sandbox behavior. |
SandboxErrorCode | 枚举enum | io.agentscope.harness.agent.sandbox | 定义沙箱错误 Code相关取值的枚举。 Error codes for sandbox operations, used in `SandboxException` and its subclasses. |
SandboxException | 类class | io.agentscope.harness.agent.sandbox | 沙箱异常,表示执行过程中的错误。 Base exception for all sandbox operations. |
SandboxExecutionGuard | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱执行守卫契约的接口。 Pluggable concurrency guard for sandbox execution slots. |
SandboxFileTransfer | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱文件 Transfer契约的接口。 Optional capability for `Sandbox` backends that support native (non-exec) file
transfer, e.g. |
SandboxIsolationKey | 类class | io.agentscope.harness.agent.sandbox | 沙箱隔离键,承载智能体的部署、调度与服务化运行。 Immutable key that uniquely identifies a sandbox state slot for a given
`IsolationScope`. |
SandboxLease | 接口interface | io.agentscope.harness.agent.sandbox | 定义沙箱 Lease契约的接口。 A handle that represents a held execution right on a sandbox isolation slot. |
SandboxManager | 类class | io.agentscope.harness.agent.sandbox | 沙箱管理器,承载智能体的部署、调度与服务化运行。 Manages the lifecycle of `Sandbox` instances for the current call. |
SandboxState | 类class | io.agentscope.harness.agent.sandbox | 沙箱状态,承载智能体的部署、调度与服务化运行。 Serializable state of a sandbox, persisted by `SessionSandboxStateStore` so a sandbox can
be resumed across calls. |
SessionSandboxStateStore | 类class | io.agentscope.harness.agent.sandbox | 会话沙箱状态存储,负责持久化与读取数据。 Sandbox state store backed by the generic AgentScope `AgentStateStore` abstraction. |
WorkspaceArchiveExtractor | 类class | io.agentscope.harness.agent.sandbox | 工作区归档 Extractor,承载智能体的部署、调度与服务化运行。 Securely extracts tar archives into a target directory. |
WorkspaceMountSupport | 类class | io.agentscope.harness.agent.sandbox | 工作区 Mount Support,承载智能体的部署、调度与服务化运行。 Helpers for `io.agentscope.harness.agent.sandbox.layout.BindMountEntry` handling. |
WorkspaceProjectionApplier | 类class | io.agentscope.harness.agent.sandbox | 工作区 Projection Applier,承载智能体的部署、调度与服务化运行。 Builds a deterministic archive payload for workspace projection entries. |
WorkspaceSpec | 类class | io.agentscope.harness.agent.sandbox | 工作区规格,承载智能体的部署、调度与服务化运行。 Describes the desired initial state of a sandbox workspace: root path, materialized
file/directory entries, and per-exec environment variables. |
WorkspaceSpecApplier | 类class | io.agentscope.harness.agent.sandbox | 工作区规格 Applier,承载智能体的部署、调度与服务化运行。 Applies a `WorkspaceSpec` to a target directory by materializing declared entries
(files, directories, local copies). |
DockerFilesystemSpec | 类class | io.agentscope.harness.agent.sandbox.impl.docker | Docker 文件系统规格,承载智能体的部署、调度与服务化运行。 Sandbox filesystem spec for Docker store. |
DockerSandbox | 类class | io.agentscope.harness.agent.sandbox.impl.docker | Docker 沙箱,承载智能体的部署、调度与服务化运行。 Docker `io.agentscope.harness.agent.sandbox.Sandbox` that runs commands in a container. |
DockerSandboxClient | 类class | io.agentscope.harness.agent.sandbox.impl.docker | Docker 沙箱客户端,封装与远端服务的连接和调用。 `SandboxClient` implementation for the Docker sandbox store. |
DockerSandboxClientOptions | 类class | io.agentscope.harness.agent.sandbox.impl.docker | Docker 沙箱客户端选项,保存相关配置项。 Configuration options for the Docker sandbox client. |
DockerSandboxState | 类class | io.agentscope.harness.agent.sandbox.impl.docker | Docker 沙箱状态,承载智能体的部署、调度与服务化运行。 Serializable state for a Docker-backed `io.agentscope.harness.agent.sandbox.Sandbox`. |
HarnessSandboxJacksonModule | 类class | io.agentscope.harness.agent.sandbox.json | Harness 沙箱 Jackson Module,承载智能体的部署、调度与服务化运行。 Registers Jackson polymorphic subtypes for `io.agentscope.harness.agent.sandbox.SandboxState`. |
BindMountEntry | 类class | io.agentscope.harness.agent.sandbox.layout | Bind Mount 条目,承载智能体的部署、调度与服务化运行。 Declares a host directory (or file on Kubernetes) bind-mounted into the sandbox workspace at
the map key path under `io.agentscope.harness.agent.sandbox.WorkspaceSpec#getRoot()`. |
DirEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 目录条目,承载智能体的部署、调度与服务化运行。 Layout entry that creates a directory, optionally with nested child entries. |
FileEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 文件条目,承载智能体的部署、调度与服务化运行。 Layout entry that creates a file with inline text content. |
GitRepoEntry | 类class | io.agentscope.harness.agent.sandbox.layout | Git 仓库条目,承载智能体的部署、调度与服务化运行。 Layout entry that clones a Git repository into the sandbox workspace. |
LocalDirEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 本地目录条目,承载智能体的部署、调度与服务化运行。 Layout entry that recursively copies a directory from the host filesystem into the sandbox
workspace. |
LocalFileEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 本地文件条目,承载智能体的部署、调度与服务化运行。 Layout entry that copies a single file from the host filesystem into the sandbox workspace. |
WorkspaceEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 条目 in`io.agentscope.harness.agent.sandbox.WorkspaceSpec`的基类。 Base class for entries in a `io.agentscope.harness.agent.sandbox.WorkspaceSpec`. |
WorkspaceProjectionEntry | 类class | io.agentscope.harness.agent.sandbox.layout | 工作区 Projection 条目,承载智能体的部署、调度与服务化运行。 Layout entry that projects selected files/directories from host workspace into sandbox
workspace when the `io.agentscope.harness.agent.sandbox.Sandbox` starts. |
LocalSandboxSnapshot | 类class | io.agentscope.harness.agent.sandbox.snapshot | 本地沙箱快照,承载智能体的部署、调度与服务化运行。 Snapshot that persists workspace archives as tar files on the local filesystem. |
LocalSnapshotSpec | 类class | io.agentscope.harness.agent.sandbox.snapshot | 本地快照规格,承载智能体的部署、调度与服务化运行。 Snapshot spec that creates `LocalSandboxSnapshot` instances stored in a local directory. |
NoopSandboxSnapshot | 类class | io.agentscope.harness.agent.sandbox.snapshot | Noop 沙箱快照,承载智能体的部署、调度与服务化运行。 No-op snapshot that does not persist anything. |
NoopSnapshotSpec | 类class | io.agentscope.harness.agent.sandbox.snapshot | Noop 快照规格,承载智能体的部署、调度与服务化运行。 Snapshot spec that creates `NoopSandboxSnapshot` instances. |
RemoteSandboxSnapshot | 类class | io.agentscope.harness.agent.sandbox.snapshot | 远程沙箱快照,承载智能体的部署、调度与服务化运行。 Snapshot backed by a `RemoteSnapshotClient` (e.g. |
RemoteSnapshotClient | 接口interface | io.agentscope.harness.agent.sandbox.snapshot | 定义远程快照客户端契约的接口。 User-implemented interface for uploading and downloading snapshot archives to/from remote
storage (e.g. |
RemoteSnapshotSpec | 类class | io.agentscope.harness.agent.sandbox.snapshot | 远程快照规格,承载智能体的部署、调度与服务化运行。 Snapshot spec that creates `RemoteSandboxSnapshot` instances backed by a
`RemoteSnapshotClient`. |
SandboxSnapshot | 接口interface | io.agentscope.harness.agent.sandbox.snapshot | 定义沙箱快照契约的接口。 Represents a persisted snapshot of a sandbox workspace. |
SandboxSnapshotSpec | 接口interface | io.agentscope.harness.agent.sandbox.snapshot | 定义沙箱快照规格契约的接口。 Factory that creates `SandboxSnapshot` instances for a given session ID. |
LazyResourceCapable | 接口interface | io.agentscope.harness.agent.skill | 定义 Lazy 资源 Capable契约的接口。 Optional marker for `io.agentscope.core.skill.repository.AgentSkillRepository`
implementations that can supply a `SkillResources` accessor in addition to the
in-memory `AgentSkill.resources` map. |
SkillResources | 接口interface | io.agentscope.harness.agent.skill | 定义技能 Resources契约的接口。 Lazy resource accessor for a single skill. |
WorkspaceSkillRepository | 类class | io.agentscope.harness.agent.skill | 工作区技能仓库,负责持久化与读取数据。 `AgentSkillRepository` backed by an `AbstractFilesystem`, with lazy resource
access via `LazyResourceCapable`. |
AbstractAgentCreatedFilter | 类class | io.agentscope.harness.agent.skill.curator | 抽象智能体已创建过滤器,让智能体以受控方式调用外部能力。 Base class for visibility filters that should ONLY constrain agent-authored skills. |
AllowListFilter | 类class | io.agentscope.harness.agent.skill.curator | Allow 列表过滤器,让智能体以受控方式调用外部能力。 Visible only when the agent-created skill's name is in the allow-list. |
CanaryFilter | 类class | io.agentscope.harness.agent.skill.curator | Canary 过滤器,让智能体以受控方式调用外部能力。 Percentage-based rollout for agent-authored skills. |
CompositeFilter | 类class | io.agentscope.harness.agent.skill.curator | Composite 过滤器,让智能体以受控方式调用外部能力。 Chains multiple `SkillVisibilityFilter`s with AND semantics: the output is the
intersection of every filter's output, applied in order. |
EnvironmentFilter | 类class | io.agentscope.harness.agent.skill.curator | 环境过滤器,让智能体以受控方式调用外部能力。 Filter that admits a skill only when its sidecar's `environments` list contains the
configured environment (`prod`, `staging`, …). |
LocalApprovalGate | 类class | io.agentscope.harness.agent.skill.curator | 本地 Approval Gate,让智能体以受控方式调用外部能力。 Single-replica HITL gate. |
NotificationSink | 接口interface | io.agentscope.harness.agent.skill.curator | 定义通知 Sink契约的接口。 Pushes `SkillCandidate` metadata to an external system (Slack webhook, ticket service,
Nacos config item, …). |
NotifyAndWaitGate | 类class | io.agentscope.harness.agent.skill.curator | Notify 和 Wait Gate,让智能体以受控方式调用外部能力。 Multi-replica gate. |
RejectAllGate | 类class | io.agentscope.harness.agent.skill.curator | 拒绝所有 Gate,让智能体以受控方式调用外部能力。 Always returns `SkillPromotionGate.PromotionDecision.Defer` — promotion can only
happen via an explicit `HarnessAgent.promoteSkill(...)` call from outside the gate. |
SkillAuditLog | 类class | io.agentscope.harness.agent.skill.curator | 技能 Audit 日志,让智能体以受控方式调用外部能力。 Append-only audit log for the skill self-learning loop. |
SkillCandidate | 记录record | io.agentscope.harness.agent.skill.curator | 承载技能 Candidate数据的记录类型。 Material handed to a `SkillPromotionGate` when a draft skill is being considered for
promotion. |
SkillCurator | 类class | io.agentscope.harness.agent.skill.curator | 技能 Curator,让智能体以受控方式调用外部能力。 Background skill maintenance orchestrator. |
SkillCuratorConfig | 类class | io.agentscope.harness.agent.skill.curator | 技能 Curator 配置,保存相关配置项。 Configuration knobs for `SkillCurator`. |
SkillCuratorState | 记录record | io.agentscope.harness.agent.skill.curator | 承载技能 Curator 状态数据的记录类型。 Persistent state for `SkillCurator` — kept in `skills/.curator_state.json`. |
SkillPromoter | 类class | io.agentscope.harness.agent.skill.curator | 技能 Promoter,让智能体以受控方式调用外部能力。 Orchestrates the promotion pipeline: locate draft → run security scan → call gate →
physically move `_drafts/<name>/` to `skills/<name>/` → update sidecar. |
SkillPromotionGate | 接口interface | io.agentscope.harness.agent.skill.curator | 定义技能 Promotion Gate契约的接口。 Decides whether a draft skill is allowed to be promoted into the live skills directory. |
SkillSecurityScanner | 类class | io.agentscope.harness.agent.skill.curator | 技能 Security Scanner,让智能体以受控方式调用外部能力。 Static-analysis scanner for SKILL.md and skill support files. |
SkillUsageRecord | 记录record | io.agentscope.harness.agent.skill.curator | 承载技能用量记录数据的记录类型。 Per-skill operational telemetry plus enterprise-staging audit fields. |
SkillUsageStore | 类class | io.agentscope.harness.agent.skill.curator | 技能用量存储,负责持久化与读取数据。 Sidecar telemetry store for per-skill usage and provenance. |
SkillVisibilityFilter | 接口interface | io.agentscope.harness.agent.skill.curator | 定义技能 Visibility 过滤器契约的接口。 Runtime gate that decides which skills are exposed to the model on a per-call basis. |
HarnessSkillEntry | 记录record | io.agentscope.harness.agent.skill.runtime | 承载 Harness 技能条目数据的记录类型。 Per-call wrapper around an `AgentSkill` carrying harness-only metadata that does not
belong on the core data type. |
MarketplaceStager | 类class | io.agentscope.harness.agent.skill.runtime | 市场 Stager,让智能体以受控方式调用外部能力。 Materialises non-workspace skill resources (Layer 1 / Layer 2 / marketplace) to
`<wsRoot>/.skills-cache/<source-ns>/<skill-name>/` so that:
- shell-mode HarnessAgents (sandbox or Local-with-shell) can execute the staged scripts
via absolute paths
- sandbox projection (which includes `.skills-cache` in
`DEFAULT_WORKSPACE_PROJECTION_ROOTS`) hydrates the staged content into the
sandbox at start time |
ShellPathPolicy | 类class | io.agentscope.harness.agent.skill.runtime | Shell 路径策略,让智能体以受控方式调用外部能力。 Resolves the absolute `filesRoot` path emitted in `<available_skills>` and
`load_skill_through_path` responses, given a skill's `StageResult` and the
current shell mode. |
SkillCatalog | 类class | io.agentscope.harness.agent.skill.runtime | 技能目录,让智能体以受控方式调用外部能力。 Immutable snapshot of the skills visible to a single `onSystemPrompt` pass. |
SkillLoadTool | 类class | io.agentscope.harness.agent.skill.runtime | 技能加载工具,封装可被智能体调用的能力。 The harness-native `load_skill_through_path` `AgentTool`. |
SkillPromptBuilder | 类class | io.agentscope.harness.agent.skill.runtime | 技能提示词构建器,用于构建并配置目标实例。 Renders the harness `<available_skills>` system-prompt block from a `SkillCatalog`. |
SkillRuntime | 类class | io.agentscope.harness.agent.skill.runtime | 技能运行时,让智能体以受控方式调用外部能力。 Aggregates the singleton `SkillLoadTool` and the `SkillPromptBuilder`. |
AgentSpecLoader | 类class | io.agentscope.harness.agent.subagent | 智能体规格加载器,支持智能体之间的发现、委派与协作。 Loads `SubagentDeclaration` instances from Markdown files with YAML front matter placed
in the `subagents/` directory of a workspace. |
DefaultAgentManager | 类class | io.agentscope.harness.agent.subagent | 默认智能体管理器,支持智能体之间的发现、委派与协作。 Pure agent factory and invoker — knows how to create agents from registered factories and invoke
them with a prompt. |
RemoteAskPolicy | 枚举enum | io.agentscope.harness.agent.subagent | 定义远程 Ask 策略相关取值的枚举。 Policy for resolving a remote subagent's tool-confirmation (HITL) requests when the parent
cannot forward the decision to an interactive human within this call. |
RemoteSubagentStub | 类class | io.agentscope.harness.agent.subagent | 远程子智能体存根,支持智能体之间的发现、委派与协作。 Placeholder `io.agentscope.core.agent.Agent` for remote (`SubagentDeclaration`)
subagents. |
SubagentDeclaration | 类class | io.agentscope.harness.agent.subagent | 子智能体 Declaration,支持智能体之间的发现、委派与协作。 Declares a subagent: its identity, workspace resolution strategy, and optional capability
allowlist. |
SubagentFactory | 接口interface | io.agentscope.harness.agent.subagent | 定义子智能体工厂契约的接口。 Creates a new subagent instance for a single spawn or session. |
SubagentSpecGenerator | 类class | io.agentscope.harness.agent.subagent | 子智能体规格 Generator,支持智能体之间的发现、委派与协作。 LLM-driven generator for `SubagentDeclaration` markdown specs. |
WorkspaceMode | 枚举enum | io.agentscope.harness.agent.subagent | 定义工作区模式相关取值的枚举。 Controls how a declared subagent's runtime workspace root is determined. |
RemoteAgentEvent | 类class | io.agentscope.harness.agent.subagent.protocol | 远程智能体事件,描述执行过程中的事件。 Stable Protocol DTO for remote subagent event streaming. |
RemoteConfirmDecision | 类class | io.agentscope.harness.agent.subagent.protocol | 用于远程待处理工具确认的用户决策。 User decision for a remote pending tool confirmation. |
RemoteEventCodec | 类class | io.agentscope.harness.agent.subagent.protocol | 远程事件编解码器,支持智能体之间的发现、委派与协作。 Bidirectional mapping between internal `AgentEvent`s and stable `RemoteAgentEvent`
wire DTOs. |
RemoteEventType | 枚举enum | io.agentscope.harness.agent.subagent.protocol | 定义远程事件类型的枚举。 Stable wire event types for remote subagent streaming over Agent Protocol. |
RemotePendingConfirm | 类class | io.agentscope.harness.agent.subagent.protocol | 远程待处理确认,支持智能体之间的发现、委派与协作。 A single remote tool call awaiting user confirmation (HITL). |
RemoteStreamDetail | 枚举enum | io.agentscope.harness.agent.subagent.protocol | 定义远程流详情相关取值的枚举。 How much of a remote subagent's event stream the caller wants, sent as `context.detail`. |
AgentProtocolTaskClient | 类class | io.agentscope.harness.agent.subagent.task | 智能体协议任务客户端,封装与远端服务的连接和调用。 Minimal HTTP client for the internal AgentScope task protocol (`POST/GET /tasks/...`). |
AgentProtocolTransport | 类class | io.agentscope.harness.agent.subagent.task | 智能体协议传输层,支持智能体之间的发现、委派与协作。 `RemoteSubagentTransport` backed by the Agent Protocol HTTP client. |
BackgroundTask | 类class | io.agentscope.harness.agent.subagent.task | Background 任务,支持智能体之间的发现、委派与协作。 Wraps a `CompletableFuture` to track background subagent task execution with status,
result, error, and lifecycle metadata. |
RemoteSubagentTransport | 接口interface | io.agentscope.harness.agent.subagent.task | 定义远程子智能体传输层契约的接口。 Transport abstraction for remote subagent execution (Agent Protocol today; A2A later). |
RemoteSubmitContext | 类class | io.agentscope.harness.agent.subagent.task | 远程提交上下文,支持智能体之间的发现、委派与协作。 Context sent with a remote task submission (permissions, streaming preferences, parent identity). |
RemoteTarget | 类class | io.agentscope.harness.agent.subagent.task | 远程目标,支持智能体之间的发现、委派与协作。 Remote endpoint identity: base URL plus optional auth/routing headers. |
RemoteTaskStatus | 记录record | io.agentscope.harness.agent.subagent.task | 承载远程任务状态数据的记录类型。 Status snapshot returned by the remote task HTTP API (`GET /tasks/{taskId}`). |
TaskDelivery | 记录record | io.agentscope.harness.agent.subagent.task | 承载任务 Delivery数据的记录类型。 Snapshot of a terminal-state subagent task awaiting (or undergoing) push delivery to the parent
agent's reasoning loop. |
TaskRecord | 类class | io.agentscope.harness.agent.subagent.task | 任务记录,支持智能体之间的发现、委派与协作。 Persistent metadata for a background subagent task, stored as JSON in the workspace under
`agents/<parentAgentId>/tasks/<parentSessionId>.json`. |
TaskRepository | 接口interface | io.agentscope.harness.agent.subagent.task | 定义任务仓库契约的接口。 Repository for managing background subagent tasks, scoped by session. |
TaskRunSpec | 接口interface | io.agentscope.harness.agent.subagent.task | 定义任务运行规格契约的接口。 Discriminated union describing how a background subagent task should execute. |
TaskStatus | 枚举enum | io.agentscope.harness.agent.subagent.task | 定义任务状态的枚举。 Lifecycle status of a background subagent task. |
WorkspaceTaskRepository | 类class | io.agentscope.harness.agent.subagent.task | 工作区任务仓库,负责持久化与读取数据。 Workspace-backed `TaskRepository` that uses `WorkspaceManager` as the authoritative
truth source for task state, while maintaining in-memory `BackgroundTask` handles as a
local performance overlay for tasks running on the current node. |
LocalTeamClient | 类class | io.agentscope.harness.agent.team | 本地团队客户端,封装与远端服务的连接和调用。 `TeamClient` backed by `BaseStore` CAS (Claude file-lock equivalent). |
TeamClient | 接口interface | io.agentscope.harness.agent.team | 定义团队客户端契约的接口。 Client for AgentTeams coordination (Claude-parity task board + mailbox). |
TeamConflictException | 类class | io.agentscope.harness.agent.team | 团队 Conflict 异常,表示执行过程中的错误。 Optimistic-lock / ownership conflict on the team task board. |
TeamContext | 记录record | io.agentscope.harness.agent.team | 承载团队上下文数据的记录类型。 Runtime context injected into a teammate session (mirrors Go TeamContext). |
TeamCreateSpec | 记录record | io.agentscope.harness.agent.team | 承载团队创建规格数据的记录类型。 Spec for creating a local or CP-backed team. |
TeamInfo | 记录record | io.agentscope.harness.agent.team | 承载团队信息数据的记录类型。 Lightweight team record. |
TeamMemberInfo | 记录record | io.agentscope.harness.agent.team | 承载团队成员信息数据的记录类型。 Team member roster entry. |
TeamMemberSpec | 记录record | io.agentscope.harness.agent.team | 承载团队成员规格数据的记录类型。 Member seed for team creation. |
TeamMessage | 记录record | io.agentscope.harness.agent.team | 承载团队消息数据的记录类型。 Team mailbox message. |
TeamTask | 记录record | io.agentscope.harness.agent.team | 承载团队任务数据的记录类型。 Shared team task board item. |
TeamWakeups | 类class | io.agentscope.harness.agent.team | 团队 Wakeups,支持智能体之间的发现、委派与协作。 Bridge from `TeamClient` implementations to whatever runtime owns teammate sessions. |
AgentGenerateTool | 类class | io.agentscope.harness.agent.tool | 智能体 Generate 工具,封装可被智能体调用的能力。 Tool that generates a new subagent spec from a natural-language description and either persists
it to `subagents/<name>.md` (where `io.agentscope.harness.agent.middleware.DynamicSubagentsMiddleware`
will pick it up on the next reasoning step) or returns the markdown for human review. |
AgentSpawnTool | 类class | io.agentscope.harness.agent.tool | 智能体 Spawn 工具,封装可被智能体调用的能力。 Simple subagent tool for agent-internal use. |
ArtifactDeliveryTool | 类class | io.agentscope.harness.agent.tool | Artifact Delivery 工具,封装可被智能体调用的能力。 Agent-callable `deliver_artifact` tool: downloads a file from the agent filesystem (e.g. |
FilesystemTool | 类class | io.agentscope.harness.agent.tool | 文件系统工具,封装可被智能体调用的能力。 File system tools backed by a `AbstractFilesystem`, exposing read/write/edit/grep/glob
operations as agent-callable tools. |
MemoryGetTool | 类class | io.agentscope.harness.agent.tool | 记忆读取工具,封装可被智能体调用的能力。 Tool for reading specific lines from memory files, typically used after
`MemorySearchTool` to fetch surrounding context. |
MemorySaveTool | 类class | io.agentscope.harness.agent.tool | 记忆保存工具,封装可被智能体调用的能力。 Dedicated tool for persisting user memories to both `MEMORY.md` and
today's daily ledger (`memory/YYYY-MM-DD.md`). |
MemorySearchTool | 类class | io.agentscope.harness.agent.tool | 记忆搜索工具,封装可被智能体调用的能力。 Tool for searching through persisted memories (MEMORY.md and memory/*.md files). |
PlanModeTools | 类class | io.agentscope.harness.agent.tool | 计划模式工具,封装可被智能体调用的能力。 The three model-facing tools that drive plan mode, all backed by a shared `PlanModeManager`. |
ProposeSkillTool | 类class | io.agentscope.harness.agent.tool | Propose 技能工具,封装可被智能体调用的能力。 Convenience tool that lets the agent propose a brand-new skill in one call: name +
description + body + optional scripts. |
SessionSearchTool | 类class | io.agentscope.harness.agent.tool | 会话搜索工具,封装可被智能体调用的能力。 Tool for searching past session transcripts and viewing session history. |
ShellExecuteTool | 类class | io.agentscope.harness.agent.tool | Shell 执行工具,封装可被智能体调用的能力。 Shell execution tool backed by a `AbstractSandboxFilesystem`. |
SkillManageConfig | 类class | io.agentscope.harness.agent.tool | 用于`SkillManageTool`的配置。 Configuration for `SkillManageTool`. |
SkillManageTool | 类class | io.agentscope.harness.agent.tool | 技能 Manage 工具,封装可被智能体调用的能力。 Agent-callable tool that lets a `ReActAgent` create, edit, patch, and archive skills in
its workspace. |
TaskTool | 类class | io.agentscope.harness.agent.tool | 任务工具,封装可被智能体调用的能力。 Unified tool for background task lifecycle management. |
TeamTool | 类class | io.agentscope.harness.agent.tool | 团队工具,封装可被智能体调用的能力。 Unified AgentTeams tool. |
WaitAsyncResultsTool | 类class | io.agentscope.harness.agent.tool | Wait 异步结果工具,封装可被智能体调用的能力。 Tool that blocks until async results arrive, either for a specific task barrier or (legacy)
until any message appears in the session inbox. |
WebTools | 类class | io.agentscope.harness.agent.tool | Web 工具,封装可被智能体调用的能力。 Builtin web tools (`web_fetch`, `web_search`) for Managed Agents / Harness. |
HarnessPlatformTools | 类class | io.agentscope.harness.agent.tools | Harness 平台工具,封装可被智能体调用的能力。 Harness platform / orchestration tool names that `ToolFilter` must not strip via an `
allow` list. |
McpConnectionException | 类class | io.agentscope.harness.agent.tools | MCP 连接异常,表示执行过程中的错误。 A connection failure whose public message never contains endpoint credentials. |
McpServerConfig | 类class | io.agentscope.harness.agent.tools | MCP 服务端配置,保存相关配置项。 One MCP server entry under `mcpServers.<name>` in `tools.json`. |
McpServerRegistrar | 类class | io.agentscope.harness.agent.tools | MCP 服务端 Registrar,让智能体以受控方式调用外部能力。 Registers MCP servers declared under `mcpServers` in `workspace/tools.json` into a
`Toolkit`. |
McpServerRegistrationListener | 接口interface | io.agentscope.harness.agent.tools | 定义 MCP 服务端注册监听器契约的接口。 Receives the terminal result of an MCP server registration attempt. |
McpServerRegistrationResult | 记录record | io.agentscope.harness.agent.tools | 承载 MCP 服务端注册结果数据的记录类型。 Terminal result of registering one MCP server entry. |
ToolFilter | 类class | io.agentscope.harness.agent.tools | 工具过滤器,让智能体以受控方式调用外部能力。 Applies the allow (`ToolsConfig#getAllow()`) / deny (`ToolsConfig#getDeny()`) lists from
`workspace/tools.json` (or Managed Agents toolset export) against a `Toolkit`. |
ToolsConfig | 类class | io.agentscope.harness.agent.tools | 工具配置,保存相关配置项。 Workspace-level tool configuration loaded from `workspace/tools.json`. |
ToolsConfigLoader | 类class | io.agentscope.harness.agent.tools | 工具配置加载器,让智能体以受控方式调用外部能力。 Loads `workspace/tools.json` into a `ToolsConfig`. |
FilesystemTranscriptStore | 类class | io.agentscope.harness.agent.transcript | 文件系统 Transcript 存储,负责持久化与读取数据。 `TranscriptStore` backed by a local / NAS filesystem directory. |
ObjectStoreTranscriptStore | 类class | io.agentscope.harness.agent.transcript | 对象存储 Transcript 存储,负责持久化与读取数据。 `TranscriptStore` that writes immutable segment objects through `AbstractFilesystem`
(S3/OSS/NAS/sandbox backends that implement upload). |
TranscriptRef | 记录record | io.agentscope.harness.agent.transcript | 承载 Transcript 引用数据的记录类型。 Identifies a session transcript in a multi-tenant layout:
`{tenant}/{agentId}/{sessionId}/...`. |
TranscriptStore | 接口interface | io.agentscope.harness.agent.transcript | 定义 Transcript 存储契约的接口。 Narrow append-oriented store for session transcripts. |
LocalFsMode | 枚举enum | io.agentscope.harness.agent.workspace | 定义本地 Fs 模式相关取值的枚举。 Path-resolution policy mode for host-rooted filesystems
(`io.agentscope.harness.agent.filesystem.local.LocalFilesystem` and friends). |
PathPolicy | 类class | io.agentscope.harness.agent.workspace | 路径策略,承载智能体的部署、调度与服务化运行。 Immutable allow-list of host directories that `LocalFsMode#ROOTED` accepts for absolute
paths. |
WorkspaceConstants | 类class | io.agentscope.harness.agent.workspace | 工作区 Constants,承载智能体的部署、调度与服务化运行。 Path constants for the workspace directory structure. |
WorkspaceIndex | 类class | io.agentscope.harness.agent.workspace | 工作区索引,承载智能体的部署、调度与服务化运行。 Best-effort SQLite index for the local workspace. |
WorkspaceManager | 类class | io.agentscope.harness.agent.workspace | 工作区管理器,承载智能体的部署、调度与服务化运行。 Stateless accessor for workspace content using a two-layer read architecture. |
WorkspacePathNormalizer | 类class | io.agentscope.harness.agent.workspace | 工作区路径 Normalizer,承载智能体的部署、调度与服务化运行。 Normalizes file paths to workspace-relative form by stripping the active mode's workspace
prefix. |
PlanModeManager | 类class | io.agentscope.harness.agent.workspace.plan | 计划模式管理器,把复杂任务拆分为可执行步骤并驱动流程。 Coordinates plan mode for a single agent. |