包package 2.x
agentscope-core
AgentScope Java - Core · 2.0.4
AgentScope Core
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.4 |
| 版本线Line | 2.x |
| 分类Category | core |
| 包Packages | 36 |
| 类型Types | 289 top-level / 364 total |
包Packages
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
ReActAgent | 类class | io.agentscope.core | 响应式 ReAct 智能体 ReAct (Reasoning and Acting) Agent implementation. |
Version | 类class | io.agentscope.core | 版本,驱动智能体的推理、工具调用与会话执行。 AgentScope version and User-Agent information. |
Agent | 接口interface | io.agentscope.core.agent | 定义智能体契约的接口。 Complete agent interface combining all capabilities. |
AgentBase | 类class | io.agentscope.core.agent | 智能体生命周期基类 Abstract base class for all agents in the AgentScope framework. |
AgentRun | 类class | io.agentscope.core.agent | 智能体运行,驱动智能体的推理、工具调用与会话执行。 A single-use, lazy execution handle. |
CallableAgent | 接口interface | io.agentscope.core.agent | 定义 Callable 智能体契约的接口。 Interface for agents that can be called to process messages. |
Event | 类class | io.agentscope.core.agent | 事件,描述执行过程中的事件。 An event emitted during streaming agent execution. |
EventSource | 类class | io.agentscope.core.agent | 事件来源,驱动智能体的推理、工具调用与会话执行。 @deprecated since 2.0.0. |
EventType | 枚举enum | io.agentscope.core.agent | 定义事件类型的枚举。 Types of events emitted during agent execution. |
ObservableAgent | 接口interface | io.agentscope.core.agent | 定义 Observable 智能体契约的接口。 Interface for agents that can observe messages without generating replies. |
RunControl | 类class | io.agentscope.core.agent | 运行 Control,驱动智能体的推理、工具调用与会话执行。 Runtime-only control for one execution; never stored in conversation state. |
RuntimeContext | 类class | io.agentscope.core.agent | 单次调用上下文 Per-call metadata for an agent run: session-scoped fields plus a thread-safe attribute bag and
an optional `ToolExecutionContext` (tool-POJO / DI layer). |
StreamOptions | 类class | io.agentscope.core.agent | 用于`Agent#stream`API的配置选项。 Configuration options for the `Agent#stream` API. |
StreamableAgent | 接口interface | io.agentscope.core.agent | 定义 Streamable 智能体契约的接口。 Interface for agents that support streaming events during execution. |
StreamingHook | 类class | io.agentscope.core.agent | 流式钩子,驱动智能体的推理、工具调用与会话执行。 Internal hook implementation for streaming events. |
SubagentEventBus | 接口interface | io.agentscope.core.agent | 定义子智能体事件总线契约的接口。 A lightweight channel that allows synchronously-invoked subagents to push their `Event`s
into the parent agent's `Flux<Event>` stream. |
ContentAccumulator | 接口interface | io.agentscope.core.agent.accumulator | 定义内容 Accumulator契约的接口。 Content accumulator interface for accumulating streaming content blocks. |
ReasoningContext | 类class | io.agentscope.core.agent.accumulator | 推理上下文,驱动智能体的推理、工具调用与会话执行。 Reasoning context that manages all state and content accumulation for a single reasoning round. |
TextAccumulator | 类class | io.agentscope.core.agent.accumulator | 文本 Accumulator,驱动智能体的推理、工具调用与会话执行。 Text content accumulator for accumulating streaming text chunks. |
ThinkingAccumulator | 类class | io.agentscope.core.agent.accumulator | Thinking Accumulator,驱动智能体的推理、工具调用与会话执行。 Thinking content accumulator for accumulating streaming thinking chunks. |
ToolCallsAccumulator | 类class | io.agentscope.core.agent.accumulator | 工具调用 Accumulator,驱动智能体的推理、工具调用与会话执行。 Tool calls accumulator for accumulating streaming tool call chunks. |
FailoverListener | 接口interface | io.agentscope.core.agent.config | 定义故障转移监听器契约的接口。 Observer notified when a fallback model (`ModelConfig#fallbackModel()`) takes over from a
failed primary model. |
ModelConfig | 记录record | io.agentscope.core.agent.config | 承载模型配置数据的记录类型。 Model invocation configuration. |
ReactConfig | 记录record | io.agentscope.core.agent.config | 承载 ReAct 配置数据的记录类型。 Reasoning-loop configuration. |
StreamUserInput | 类class | io.agentscope.core.agent.user | 流用户输入,驱动智能体的推理、工具调用与会话执行。 Stream-based user input implementation that reads from any InputStream and writes to any
OutputStream. |
UserAgent | 类class | io.agentscope.core.agent.user | 用户智能体,驱动智能体的推理、工具调用与会话执行。 UserAgent class for handling user interaction within the agent framework. |
UserInputBase | 接口interface | io.agentscope.core.agent.user | 定义用户输入基类契约的接口。 Strategy interface for handling user input from different sources. |
UserInputData | 类class | io.agentscope.core.agent.user | 用户输入数据,驱动智能体的推理、工具调用与会话执行。 Data class that holds user input information with dual representation. |
CredentialBase | 类class | io.agentscope.core.credential | 用于模型提供者的凭证元数据。 Credential metadata for a model provider. |
DeepSeekCredential | 类class | io.agentscope.core.credential | 用于DeepSeek API的凭证。 Credential for the DeepSeek API. |
KimiCredential | 类class | io.agentscope.core.credential | Kimi 凭证,与模型服务通信并返回生成或向量化结果。 Credential for the Kimi (Moonshot AI) API. |
ModelCard | 记录record | io.agentscope.core.credential | 承载模型卡片数据的记录类型。 Description of one candidate chat model under a provider. |
XAICredential | 类class | io.agentscope.core.credential | 用于xAI API的凭证。 Credential for the xAI API. |
AgentEndEvent | 类class | io.agentscope.core.event | 智能体结束事件,描述执行过程中的事件。 Emitted when an agent finishes processing an invocation. |
AgentEvent | 类class | io.agentscope.core.event | 智能体事件,描述执行过程中的事件。 Base class for all fine-grained agent events. |
AgentEventEmitter | 接口interface | io.agentscope.core.event | 定义智能体事件 Emitter契约的接口。 Public interface for emitting `AgentEvent`s into the parent agent's `streamEvents()`
event stream from within tool execution code. |
AgentEventType | 枚举enum | io.agentscope.core.event | 定义智能体事件类型的枚举。 Fine-grained event types emitted during agent execution. |
AgentResultEvent | 类class | io.agentscope.core.event | 智能体结果事件,描述执行过程中的事件。 Emitted when an agent successfully finishes processing an invocation, carrying the final result
message. |
AgentStartEvent | 类class | io.agentscope.core.event | 智能体启动事件,描述执行过程中的事件。 Emitted when an agent begins processing an invocation. |
AllToolsDeniedEvent | 类class | io.agentscope.core.event | 所有工具已拒绝事件,描述执行过程中的事件。 Emitted during the acting phase when all tool calls from the most recent reasoning step were
denied (by user HITL confirmation or by permission rules). |
ConfirmResult | 类class | io.agentscope.core.event | 确认结果,在智能体、模型与前端之间传递结构化消息和事件。 Represents the result of a single user confirmation decision for a tool call. |
CustomEvent | 类class | io.agentscope.core.event | 自定义事件,描述执行过程中的事件。 Generic extensible event for signals that don't fit a specific `AgentEvent` subtype. |
DataBlockDeltaEvent | 类class | io.agentscope.core.event | 数据块增量事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
DataBlockEndEvent | 类class | io.agentscope.core.event | 数据块结束事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
DataBlockStartEvent | 类class | io.agentscope.core.event | 数据块启动事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ExceedMaxItersEvent | 类class | io.agentscope.core.event | 超出最大迭代次数事件,描述执行过程中的事件。 Emitted when the agent's ReAct loop exceeds the configured maximum iterations. |
ExternalExecutionResultEvent | 类class | io.agentscope.core.event | 外部执行结果事件,描述执行过程中的事件。 Emitted after externally-executed tool results are provided back to the agent. |
HintBlockEvent | 类class | io.agentscope.core.event | Hint 块事件,描述执行过程中的事件。 One-shot hint block event. |
ModelCallEndEvent | 类class | io.agentscope.core.event | 模型调用结束事件,描述执行过程中的事件。 Emitted when the agent finishes a model (LLM) call. |
ModelCallStartEvent | 类class | io.agentscope.core.event | 模型调用启动事件,描述执行过程中的事件。 Emitted when the agent starts a model (LLM) call. |
RequestStopEvent | 类class | io.agentscope.core.event | 请求停止事件,描述执行过程中的事件。 Requests the agent to pause execution after the current phase completes. |
RequireExternalExecutionEvent | 类class | io.agentscope.core.event | Require 外部执行事件,描述执行过程中的事件。 Emitted when tool calls require external (out-of-process) execution. |
RequireUserConfirmEvent | 类class | io.agentscope.core.event | Require 用户确认事件,描述执行过程中的事件。 Emitted when the agent requires user confirmation before executing tool calls (HITL). |
SubagentExposedEvent | 类class | io.agentscope.core.event | 子智能体 Exposed 事件,描述执行过程中的事件。 Emitted when a spawned subagent is exposed as a user-addressable entry point via
`agent_spawn(expose_to_user=true)`. |
TextBlockDeltaEvent | 类class | io.agentscope.core.event | 文本块增量事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
TextBlockEndEvent | 类class | io.agentscope.core.event | 文本块结束事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
TextBlockStartEvent | 类class | io.agentscope.core.event | 文本块启动事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ThinkingBlockDeltaEvent | 类class | io.agentscope.core.event | Thinking 块增量事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ThinkingBlockEndEvent | 类class | io.agentscope.core.event | Thinking 块结束事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ThinkingBlockStartEvent | 类class | io.agentscope.core.event | Thinking 块启动事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolCallDeltaEvent | 类class | io.agentscope.core.event | 工具调用增量事件,描述执行过程中的事件。 Emitted as tool call input arguments are streamed incrementally. |
ToolCallEndEvent | 类class | io.agentscope.core.event | 工具调用结束事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolCallStartEvent | 类class | io.agentscope.core.event | 工具调用启动事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolResultDataDeltaEvent | 类class | io.agentscope.core.event | 工具结果数据增量事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolResultEndEvent | 类class | io.agentscope.core.event | 工具结果结束事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolResultStartEvent | 类class | io.agentscope.core.event | 工具结果启动事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
ToolResultTextDeltaEvent | 类class | io.agentscope.core.event | 工具结果文本增量事件,描述执行过程中的事件。 A class in io.agentscope.core.event that carries structured messages and events between agents, models and UIs. |
UserConfirmResultEvent | 类class | io.agentscope.core.event | 用户确认结果事件,描述执行过程中的事件。 Emitted after the user has responded to a `RequireUserConfirmEvent`. |
CompositeAgentException | 类class | io.agentscope.core.exception | Composite 智能体异常,表示执行过程中的错误。 A class in io.agentscope.core.exception that provides shared types and foundational utilities. |
AbstractBaseFormatter | 类class | io.agentscope.core.formatter | 抽象基类格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Abstract base formatter providing common functionality for all formatter implementations. |
Formatter | 接口interface | io.agentscope.core.formatter | 请求与响应格式转换器 Formatter interface for converting between AgentScope and provider-specific formats. |
FormatterException | 类class | io.agentscope.core.formatter | 格式化器异常,表示执行过程中的错误。 Exception thrown when formatter encounters an error during message formatting or response parsing. |
JsonSchema | 类class | io.agentscope.core.formatter | JSON 模式,在智能体、模型与前端之间传递结构化消息和事件。 JSON Schema definition for structured outputs. |
MediaUtils | 类class | io.agentscope.core.formatter | Media Utils,在智能体、模型与前端之间传递结构化消息和事件。 Utility class for handling media files in multimodal content. |
ResponseFormat | 类class | io.agentscope.core.formatter | 用于模型 APIs的响应格式配置。 Response format configuration for model APIs. |
ActingChunkEvent | 类class | io.agentscope.core.hook | 执行分块事件,描述执行过程中的事件。 Event fired during tool execution streaming. |
ActingEvent | 类class | io.agentscope.core.hook | 执行事件,描述执行过程中的事件。 Base class for tool execution (acting) related events. |
ErrorEvent | 类class | io.agentscope.core.hook | 错误事件,描述执行过程中的事件。 Event fired when an error occurs during agent execution. |
Hook | 接口interface | io.agentscope.core.hook | 定义钩子契约的接口。 Hook interface for monitoring and intercepting agent execution. |
HookEvent | 类class | io.agentscope.core.hook | 所有钩子事件的基类。 Base class for all hook events. |
HookEventType | 枚举enum | io.agentscope.core.hook | 定义钩子事件类型的枚举。 Enum representing all hook event types. |
LegacyHookDispatcher | 类class | io.agentscope.core.hook | Legacy 钩子调度器,驱动智能体的推理、工具调用与会话执行。 Encapsulates all legacy `HookEvent` construction and dispatch logic. |
PostActingEvent | 类class | io.agentscope.core.hook | 后置执行事件,描述执行过程中的事件。 Event fired after tool execution completes. |
PostCallEvent | 类class | io.agentscope.core.hook | 后置调用事件,描述执行过程中的事件。 Event fired after agent completes processing. |
PostReasoningEvent | 类class | io.agentscope.core.hook | 后置推理事件,描述执行过程中的事件。 Event fired after LLM reasoning completes. |
PostSummaryEvent | 类class | io.agentscope.core.hook | 后置摘要事件,描述执行过程中的事件。 Event fired after summary generation completes. |
PreActingEvent | 类class | io.agentscope.core.hook | 前置执行事件,描述执行过程中的事件。 Event fired before tool execution. |
PreCallEvent | 类class | io.agentscope.core.hook | 前置调用事件,描述执行过程中的事件。 Event fired before agent starts processing. |
PreReasoningEvent | 类class | io.agentscope.core.hook | 前置推理事件,描述执行过程中的事件。 Event fired before LLM reasoning. |
PreSummaryEvent | 类class | io.agentscope.core.hook | 前置摘要事件,描述执行过程中的事件。 Event fired before summary generation when max iterations is reached. |
ReasoningChunkEvent | 类class | io.agentscope.core.hook | 推理分块事件,描述执行过程中的事件。 Event fired during reasoning streaming. |
ReasoningEvent | 类class | io.agentscope.core.hook | 推理事件,描述执行过程中的事件。 Base class for reasoning-related events. |
SummaryChunkEvent | 类class | io.agentscope.core.hook | 摘要分块事件,描述执行过程中的事件。 Event fired during summary streaming. |
SummaryEvent | 类class | io.agentscope.core.hook | 摘要事件,描述执行过程中的事件。 Base class for summary-related events. |
JsonlTraceExporter | 类class | io.agentscope.core.hook.recorder | Jsonl 追踪导出器,驱动智能体的推理、工具调用与会话执行。 A built-in, out-of-the-box JSONL trace exporter based on the Hook event system. |
InterruptContext | 类class | io.agentscope.core.interruption | 中断上下文,为框架提供通用类型与基础能力。 Context information about an interruption. |
InterruptControl | 类class | io.agentscope.core.interruption | 中断 Control,为框架提供通用类型与基础能力。 A runtime-only cooperative interrupt signal owned by one execution, never by a session. |
InterruptSource | 枚举enum | io.agentscope.core.interruption | 定义中断来源相关取值的枚举。 Enum representing the source of an interruption. |
AgentStateMemoryView | 类class | io.agentscope.core.memory | 智能体状态记忆 View,在多次调用之间保存和恢复会话与记忆数据。 Read-only `Memory` adapter that proxies `#getMessages()` to a live
`AgentState#getContext()` resolved at call time. |
InMemoryMemory | 类class | io.agentscope.core.memory | In 记忆记忆,在多次调用之间保存和恢复会话与记忆数据。 In-memory implementation of Memory with state persistence support. |
LongTermMemory | 接口interface | io.agentscope.core.memory | 定义 Long Term 记忆契约的接口。 Abstract base class for long-term memory implementations. |
LongTermMemoryMode | 枚举enum | io.agentscope.core.memory | 定义Long Term 记忆模式相关取值的枚举。 Defines how long-term memory is integrated with agent behavior. |
LongTermMemoryTools | 类class | io.agentscope.core.memory | Long Term 记忆工具,封装可被智能体调用的能力。 Tool adapter that exposes long-term memory operations as agent-callable tools. |
Memory | 接口interface | io.agentscope.core.memory | 定义记忆契约的接口。 Interface for memory components that store and manage conversation history. |
StateBackedMemory | 类class | io.agentscope.core.memory | 状态 Backed 记忆,在多次调用之间保存和恢复会话与记忆数据。 A `Memory` implementation that delegates all reads and writes to
`AgentState#contextMutable()`. |
StaticLongTermMemoryHook | 类class | io.agentscope.core.memory | Static Long Term 记忆钩子,在多次调用之间保存和恢复会话与记忆数据。 Static Long-Term Memory Hook for automatic memory management. |
AssistantMessage | 类class | io.agentscope.core.message | Assistant 消息,在智能体、模型与前端之间传递结构化消息和事件。 A `Msg` with `MsgRole#ASSISTANT` pinned at construction time. |
AudioBlock | 类class | io.agentscope.core.message | 表示音频内容 in 消息。 Represents audio content in a message. |
Base64Source | 类class | io.agentscope.core.message | 基类 64 来源,在智能体、模型与前端之间传递结构化消息和事件。 Represents Base64-encoded media content with media type and data. |
ContentBlock | 类class | io.agentscope.core.message | 内容块,在智能体、模型与前端之间传递结构化消息和事件。 Base sealed class for all content blocks in messages. |
DataBlock | 类class | io.agentscope.core.message | 数据块,在智能体、模型与前端之间传递结构化消息和事件。 Unified data block for arbitrary binary media (image / audio / video / file). |
GenerateReason | 枚举enum | io.agentscope.core.message | 定义Generate 推理相关取值的枚举。 Represents the reason why a message was generated by an agent. |
HintBlock | 类class | io.agentscope.core.message | Hint 块,在智能体、模型与前端之间传递结构化消息和事件。 A content block that provides hints to the LLM during reasoning. |
ImageBlock | 类class | io.agentscope.core.message | 表示图像内容 in 消息使用 URL 或 Base64 来源。 Represents image content in a message with URL or Base64 source. |
MessageMetadataKeys | 类class | io.agentscope.core.message | 消息元数据密钥,在智能体、模型与前端之间传递结构化消息和事件。 Constants for well-known message metadata keys. |
Msg | 类class | io.agentscope.core.message | Java 消息模型 Represents a message in the AgentScope framework. |
MsgRole | 枚举enum | io.agentscope.core.message | 定义消息角色相关取值的枚举。 Defines the role of a message participant in agent conversations. |
Source | 类class | io.agentscope.core.message | 来源,在智能体、模型与前端之间传递结构化消息和事件。 Base class for media sources (URL or Base64). |
SystemMessage | 类class | io.agentscope.core.message | 系统消息,在智能体、模型与前端之间传递结构化消息和事件。 A `Msg` with `MsgRole#SYSTEM` pinned at construction time. |
TextBlock | 类class | io.agentscope.core.message | 文本块,在智能体、模型与前端之间传递结构化消息和事件。 Represents plain text content in a message. |
ThinkingBlock | 类class | io.agentscope.core.message | Thinking 块,在智能体、模型与前端之间传递结构化消息和事件。 Represents reasoning or thinking content in a message. |
ToolCallState | 枚举enum | io.agentscope.core.message | 定义工具调用状态的枚举。 A enum in io.agentscope.core.message that defines enum values used when components carries structured messages and events between agents, models and UIs. |
ToolResultBlock | 类class | io.agentscope.core.message | 表示结果的工具执行。 Represents the result of a tool execution. |
ToolResultMessage | 类class | io.agentscope.core.message | 工具结果消息,在智能体、模型与前端之间传递结构化消息和事件。 A `Msg` with `MsgRole#TOOL` pinned at construction time. |
ToolResultState | 枚举enum | io.agentscope.core.message | 定义工具结果状态的枚举。 A enum in io.agentscope.core.message that defines enum values used when components carries structured messages and events between agents, models and UIs. |
ToolUseBlock | 类class | io.agentscope.core.message | 工具使用块,在智能体、模型与前端之间传递结构化消息和事件。 Represents a tool use request within a message. |
URLSource | 类class | io.agentscope.core.message | URL 来源,在智能体、模型与前端之间传递结构化消息和事件。 Represents URL-based media content. |
UserMessage | 类class | io.agentscope.core.message | 用户消息,在智能体、模型与前端之间传递结构化消息和事件。 A `Msg` with `MsgRole#USER` pinned at construction time. |
VideoBlock | 类class | io.agentscope.core.message | 表示视频内容 in 消息。 Represents video content in a message. |
ActingInput | 记录record | io.agentscope.core.middleware | 用于`MiddlewareBase#onActing`的输入上下文。 Input context for `MiddlewareBase#onActing`. |
AgentInput | 记录record | io.agentscope.core.middleware | 用于`MiddlewareBase#onAgent`的输入上下文。 Input context for `MiddlewareBase#onAgent`. |
FinalAnswerFilterMiddleware | 类class | io.agentscope.core.middleware | 最终答案过滤中间件,在智能体执行流程中提供横切扩展。 Exposes only the text from the final reasoning round of a ReAct stream. |
MiddlewareBase | 接口interface | io.agentscope.core.middleware | 响应式中间件接口 Middleware provides interception mechanisms at 5 key execution points
in the Agent lifecycle. |
MiddlewareChain | 类class | io.agentscope.core.middleware | 中间件 Chain,驱动智能体的推理、工具调用与会话执行。 Builds an onion-style middleware chain for a given interception point. |
ModelCallInput | 记录record | io.agentscope.core.middleware | 用于`MiddlewareBase#onModelCall`的输入上下文。 Input context for `MiddlewareBase#onModelCall`. |
ReasoningInput | 记录record | io.agentscope.core.middleware | 用于`MiddlewareBase#onReasoning`的输入上下文。 Input context for `MiddlewareBase#onReasoning`. |
TaskReminderMiddleware | 类class | io.agentscope.core.middleware | 任务 Reminder 中间件,在智能体执行流程中提供横切扩展。 Keeps the agent's todo list in front of the model so long-running tasks don't drift. |
CachePolicy | 枚举enum | io.agentscope.core.model | 定义缓存策略相关取值的枚举。 Controls whether `ModelRegistry` caches models created with a
`ModelCreationContext`. |
ChatModelBase | 类class | io.agentscope.core.model | 响应式模型抽象基类 Abstract base class for all models in the AgentScope framework. |
ChatResponse | 类class | io.agentscope.core.model | 聊天响应,与模型服务通信并返回生成或向量化结果。 Represents a chat completion response from a language model. |
ChatUsage | 类class | io.agentscope.core.model | 聊天用量,与模型服务通信并返回生成或向量化结果。 Represents token usage information for chat completion responses. |
ExecutionConfig | 类class | io.agentscope.core.model | 用于超时和重试行为的统一执行配置。 Unified execution configuration for timeout and retry behavior. |
GenerateOptions | 类class | io.agentscope.core.model | Generate 选项,保存相关配置项。 Immutable generation options for LLM models. |
Model | 接口interface | io.agentscope.core.model | 定义模型契约的接口。 An interface in io.agentscope.core.model that defines the contract for components that talks to model services and returns generated or embedded output. |
ModelContextWindows | 类class | io.agentscope.core.model | 模型上下文 Windows,与模型服务通信并返回生成或向量化结果。 Known context window sizes for popular models. |
ModelCreationContext | 类class | io.agentscope.core.model | 模型 Creation 上下文,与模型服务通信并返回生成或向量化结果。 Provider-neutral model creation context used by `ModelRegistry` and model provider SPI
implementations. |
ModelException | 类class | io.agentscope.core.model | 模型异常,表示执行过程中的错误。 Exception thrown when model operations fail. |
ModelHttpException | 接口interface | io.agentscope.core.model | 定义模型 HTTP 异常契约的接口。 Exception contract for model providers that can expose an HTTP status code. |
ModelProviderSupport | 类class | io.agentscope.core.model | 模型提供者 Support,与模型服务通信并返回生成或向量化结果。 Shared helpers for model providers. |
ModelRegistry | 类class | io.agentscope.core.model | 模型注册表,与模型服务通信并返回生成或向量化结果。 Registry for resolving `Model` instances from string identifiers (named instances or
`provider:model` patterns). |
ModelUtils | 类class | io.agentscope.core.model | 模型 Utils,与模型服务通信并返回生成或向量化结果。 Utility class for common Model operations. |
StructuredOutputReminder | 枚举enum | io.agentscope.core.model | 定义结构化输出 Reminder相关取值的枚举。 Configuration for how to ensure the model calls generate_response tool in structured output
mode. |
ToolChoice | 接口interface | io.agentscope.core.model | 表示工具选项行为用于大模型模型调用。 Represents the tool choice behavior for LLM model calls. |
ToolSchema | 类class | io.agentscope.core.model | 工具模式,与模型服务通信并返回生成或向量化结果。 Immutable tool schema definition. |
ModelProvider | 接口interface | io.agentscope.core.model.spi | 定义模型提供者契约的接口。 Service Provider Interface for model adapters discovered from extension modules. |
HttpRequest | 类class | io.agentscope.core.model.transport | HTTP 请求,与模型服务通信并返回生成或向量化结果。 HTTP request encapsulation for the transport layer. |
HttpResponse | 类class | io.agentscope.core.model.transport | HTTP 响应,与模型服务通信并返回生成或向量化结果。 HTTP response encapsulation for the transport layer. |
HttpTransport | 接口interface | io.agentscope.core.model.transport | 定义 HTTP 传输层契约的接口。 HTTP transport layer interface for making HTTP requests. |
HttpTransportConfig | 类class | io.agentscope.core.model.transport | HTTP 传输层配置,保存相关配置项。 Configuration for HTTP transport layer. |
HttpTransportException | 类class | io.agentscope.core.model.transport | HTTP 传输层异常,表示执行过程中的错误。 Exception thrown when HTTP transport operations fail. |
HttpTransportFactory | 类class | io.agentscope.core.model.transport | HTTP 传输层工厂,与模型服务通信并返回生成或向量化结果。 Factory for managing HttpTransport instances. |
HttpVersion | 枚举enum | io.agentscope.core.model.transport | 定义HTTP 版本相关取值的枚举。 HTTP version. |
JdkHttpTransport | 类class | io.agentscope.core.model.transport | Jdk HTTP 传输层,与模型服务通信并返回生成或向量化结果。 Pure JDK implementation of the HttpTransport interface. |
OkHttpTransport | 类class | io.agentscope.core.model.transport | Ok HTTP 传输层,与模型服务通信并返回生成或向量化结果。 OkHttp implementation of the HttpTransport interface. |
ProxyConfig | 类class | io.agentscope.core.model.transport | 用于HTTP 和 SOCKS 代理的配置。 Configuration for HTTP and SOCKS proxy. |
ProxyType | 枚举enum | io.agentscope.core.model.transport | 定义代理类型的枚举。 Enumeration of supported proxy types. |
TransportConstants | 类class | io.agentscope.core.model.transport | 传输层 Constants,与模型服务通信并返回生成或向量化结果。 Constants for HTTP transport layer. |
WebSocketTransport | 接口interface | io.agentscope.core.model.transport | WebSocket 客户端。 WebSocket client interface. |
CloseInfo | 记录record | io.agentscope.core.model.transport.websocket | 承载关闭信息数据的记录类型。 WebSocket connection close information. |
JdkWebSocketConnection | 类class | io.agentscope.core.model.transport.websocket | Jdk WebSocket 连接,与模型服务通信并返回生成或向量化结果。 WebSocket connection implementation based on JDK WebSocket. |
JdkWebSocketTransport | 类class | io.agentscope.core.model.transport.websocket | Jdk WebSocket 传输层,与模型服务通信并返回生成或向量化结果。 WebSocket client implementation based on JDK 11+ HttpClient. |
OkHttpWebSocketConnection | 类class | io.agentscope.core.model.transport.websocket | Ok HTTP WebSocket 连接,与模型服务通信并返回生成或向量化结果。 WebSocket connection implementation based on OkHttp WebSocket. |
OkHttpWebSocketTransport | 类class | io.agentscope.core.model.transport.websocket | Ok HTTP WebSocket 传输层,与模型服务通信并返回生成或向量化结果。 WebSocket client implementation based on OkHttp. |
WebSocketConnection | 接口interface | io.agentscope.core.model.transport.websocket | WebSocket 连接。 WebSocket connection interface. |
WebSocketRequest | 类class | io.agentscope.core.model.transport.websocket | WebSocket 请求,与模型服务通信并返回生成或向量化结果。 WebSocket connection request configuration. |
WebSocketTransportConfig | 类class | io.agentscope.core.model.transport.websocket | 用于WebSocket 客户端的配置。 Configuration for WebSocket clients. |
WebSocketTransportException | 类class | io.agentscope.core.model.transport.websocket | WebSocket 传输层异常,表示执行过程中的错误。 WebSocket transport layer exception. |
AdditionalWorkingDirectory | 记录record | io.agentscope.core.permission | 承载 Additional Working 目录数据的记录类型。 A directory included in a permission context's working scope. |
PermissionBehavior | 枚举enum | io.agentscope.core.permission | 定义权限行为相关取值的枚举。 Outcome of a permission rule or tool self-check. |
PermissionContextState | 类class | io.agentscope.core.permission | 权限上下文状态,驱动智能体的推理、工具调用与会话执行。 Permission evaluation context: mode + working directories + three rule tables. |
PermissionDecision | 类class | io.agentscope.core.permission | 权限决策,驱动智能体的推理、工具调用与会话执行。 Decision returned by a permission rule match or a tool self-check. |
PermissionEngine | 类class | io.agentscope.core.permission | 权限引擎,驱动智能体的推理、工具调用与会话执行。 Evaluates tool execution requests against configured permission rules. |
PermissionMode | 枚举enum | io.agentscope.core.permission | 定义权限模式相关取值的枚举。 Permission mode controlling how the engine evaluates tool execution requests. |
PermissionRule | 记录record | io.agentscope.core.permission | 承载权限规则数据的记录类型。 A single permission rule pinned to a tool name. |
GenericRAGHook | 类class | io.agentscope.core.rag | 泛型 RAG 钩子,把私有文档转化为可检索的知识。 Generic RAG Hook for automatic knowledge retrieval before reasoning. |
Knowledge | 接口interface | io.agentscope.core.rag | 定义知识库契约的接口。 Interface for knowledge bases. |
KnowledgeRetrievalTools | 类class | io.agentscope.core.rag | 知识库检索工具,封装可被智能体调用的能力。 Knowledge retrieval tools for Agentic RAG mode. |
RAGMode | 枚举enum | io.agentscope.core.rag | 定义RAG 模式相关取值的枚举。 RAG (Retrieval-Augmented Generation) mode enumeration. |
Document | 类class | io.agentscope.core.rag.model | 文档,与模型服务通信并返回生成或向量化结果。 Document class representing a document chunk in the RAG system. |
DocumentMetadata | 类class | io.agentscope.core.rag.model | 文档元数据,与模型服务通信并返回生成或向量化结果。 Document metadata containing content and chunking information. |
RetrieveConfig | 类class | io.agentscope.core.rag.model | 检索配置,保存相关配置项。 Configuration for document retrieval operations. |
AgentScopeJvmShutdownHook | 类class | io.agentscope.core.shutdown | AgentScope Jvm Shutdown 钩子,为框架提供通用类型与基础能力。 JVM hook for SIGTERM graceful shutdown entry. |
AgentShuttingDownException | 类class | io.agentscope.core.shutdown | 智能体 Shutting Down 异常,表示执行过程中的错误。 Exception thrown when request is rejected or interrupted during shutdown. |
GracefulShutdownConfig | 记录record | io.agentscope.core.shutdown | 承载 Graceful Shutdown 配置数据的记录类型。 Configuration for graceful shutdown behavior of the agent system. |
GracefulShutdownManager | 类class | io.agentscope.core.shutdown | Graceful Shutdown 管理器,为框架提供通用类型与基础能力。 Global manager for graceful shutdown lifecycle and active request tracking. |
GracefulShutdownMiddleware | 类class | io.agentscope.core.shutdown | Graceful Shutdown 中间件,在智能体执行流程中提供横切扩展。 System middleware that integrates graceful shutdown into the agent lifecycle. |
PartialReasoningPolicy | 枚举enum | io.agentscope.core.shutdown | 定义Partial 推理策略相关取值的枚举。 Policy for handling incomplete reasoning content on shutdown interruption. |
ShutdownSessionBinding | 记录record | io.agentscope.core.shutdown | 承载 Shutdown 会话绑定数据的记录类型。 AgentStateStore binding used for shutdown checkpoint persistence. |
ShutdownState | 枚举enum | io.agentscope.core.shutdown | 定义Shutdown 状态的枚举。 Global framework shutdown state. |
ShutdownStateSaver | 接口interface | io.agentscope.core.shutdown | 定义 Shutdown 状态 Saver契约的接口。 Strategy for persisting `AgentState` during graceful shutdown. |
AgentSkill | 类class | io.agentscope.core.skill | 智能体技能,让智能体以受控方式调用外部能力。 Represents an agent skill that can be loaded and used by agents. |
AgentSkillPromptProvider | 类class | io.agentscope.core.skill | 智能体技能提示词提供者,让智能体以受控方式调用外部能力。 Generates skill system prompts for agents to understand available skills. |
DynamicSkillMiddleware | 类class | io.agentscope.core.skill | Dynamic 技能中间件,在智能体执行流程中提供横切扩展。 Dynamically composes skills from an ordered list of repositories (`AgentSkillRepository`)
on every `call()` via `#onSystemPrompt(Agent, RuntimeContext, String)`, replacing the static
skill prompt with a per-call view that supports per-user skill isolation and one-click
marketplace integration. |
SkillBox | 类class | io.agentscope.core.skill | 技能 Box,让智能体以受控方式调用外部能力。 Manages a collection of `AgentSkill` instances and exposes them as tools. |
SkillFileFilter | 接口interface | io.agentscope.core.skill | 定义技能文件过滤器契约的接口。 Filter for deciding whether a skill resource should be uploaded. |
SkillFilter | 类class | io.agentscope.core.skill | 技能过滤器,让智能体以受控方式调用外部能力。 Immutable filter that decides which skills are allowed in a prompt. |
SkillHook | 类class | io.agentscope.core.skill | 技能钩子,让智能体以受控方式调用外部能力。 Injects the skill catalog prompt into the unified system message on `PreCallEvent` via
`PreCallEvent#appendSystemContent(String)`. |
AgentSkillRepository | 接口interface | io.agentscope.core.skill.repository | 定义智能体技能仓库契约的接口。 Repository interface for AgentSkill persistence operations. |
AgentSkillRepositoryInfo | 类class | io.agentscope.core.skill.repository | 智能体技能仓库信息,让智能体以受控方式调用外部能力。 Metadata about a skill repository. |
ClasspathSkillRepository | 类class | io.agentscope.core.skill.repository | Classpath 技能仓库,负责持久化与读取数据。 ClasspathSkillRepository - Loads skills from classpath resources and JAR files. |
FileSystemSkillRepository | 类class | io.agentscope.core.skill.repository | 文件系统技能仓库,负责持久化与读取数据。 File system based implementation of AgentSkillRepository. |
RuntimeContextSkillRepository | 接口interface | io.agentscope.core.skill.repository | 定义运行时上下文技能仓库契约的接口。 A skill repository whose visible contents depend on the current request context. |
MarkdownSkillParser | 类class | io.agentscope.core.skill.util | Markdown 技能解析器,让智能体以受控方式调用外部能力。 Utility for parsing and generating Markdown files with YAML frontmatter. |
SkillFileSystemHelper | 类class | io.agentscope.core.skill.util | 技能文件系统 Helper,让智能体以受控方式调用外部能力。 Utility class for file system operations related to skills. |
SkillUtil | 类class | io.agentscope.core.skill.util | 技能 Util,让智能体以受控方式调用外部能力。 Utility class for creating AgentSkill instances. |
AgentState | 类class | io.agentscope.core.state | 会话状态 Mutable per-agent runtime state. |
AgentStateStore | 接口interface | io.agentscope.core.state | 定义智能体状态存储契约的接口。 Persistent storage interface for AgentScope agent state. |
ConcurrentSessionModificationException | 类class | io.agentscope.core.state | Concurrent 会话 Modification 异常,表示执行过程中的错误。 Thrown when an optimistic-concurrency save fails because another writer changed the same
session slot since it was loaded. |
ConflictPolicy | 枚举enum | io.agentscope.core.state | 定义Conflict 策略相关取值的枚举。 Policy applied when an optimistic-concurrency save of agent session state conflicts with
another writer's update. |
InMemoryAgentStateStore | 类class | io.agentscope.core.state | In 记忆智能体状态存储,负责持久化与读取数据。 In-memory implementation of the `AgentStateStore` interface. |
JsonFileAgentStateStore | 类class | io.agentscope.core.state | JSON 文件状态存储 JSON file-based `AgentStateStore` implementation. |
LegacyStateLoader | 类class | io.agentscope.core.state | Legacy 状态加载器,在多次调用之间保存和恢复会话与记忆数据。 Utility for loading v1 session data into the 2.0 `AgentState` format. |
ListHashUtil | 类class | io.agentscope.core.state | 列表 Hash Util,在多次调用之间保存和恢复会话与记忆数据。 Utility class for computing hash values of state lists. |
PlanModeContextState | 类class | io.agentscope.core.state | 计划模式上下文状态,在多次调用之间保存和恢复会话与记忆数据。 Persisted plan-mode flag for an agent. |
ReadCacheEntry | 记录record | io.agentscope.core.state | 承载读取缓存条目数据的记录类型。 Snapshot of a file's contents kept in the tool read cache. |
SessionInfo | 类class | io.agentscope.core.state | 会话信息,在多次调用之间保存和恢复会话与记忆数据。 Information about a session. |
State | 接口interface | io.agentscope.core.state | 定义状态契约的接口。 Marker interface for persistable state objects. |
Task | 类class | io.agentscope.core.state | 任务,在多次调用之间保存和恢复会话与记忆数据。 Persistent agent task record carried inside `TaskContextState`. |
TaskContextState | 类class | io.agentscope.core.state | 任务上下文状态,在多次调用之间保存和恢复会话与记忆数据。 Mutable bag of `Task`s carried by `AgentState`. |
ToolContextState | 类class | io.agentscope.core.state | 工具上下文状态,在多次调用之间保存和恢复会话与记忆数据。 Read-cache backing for file-touching tools (Read / Write / Edit). |
VersionedState | 记录record | io.agentscope.core.state | 承载 Versioned 状态数据的记录类型。 A state value paired with its optimistic-concurrency version from an `AgentStateStore`. |
ToolkitState | 记录record | io.agentscope.core.state.legacy | 承载工具包状态数据的记录类型。 Deserialization shape for the v1 `toolkit_activeGroups` session entry. |
AgentTool | 接口interface | io.agentscope.core.tool | 定义智能体工具契约的接口。 Interface for agent tools that can be called by models. |
ContextStore | 接口interface | io.agentscope.core.tool | 定义上下文存储契约的接口。 Storage layer abstraction for tool execution context. |
DefaultToolResultConverter | 类class | io.agentscope.core.tool | 默认工具结果转换器,让智能体以受控方式调用外部能力。 Default implementation of ToolResultConverter. |
ExtendedModel | 接口interface | io.agentscope.core.tool | 定义 Extended 模型契约的接口。 Interface for extended model that adds properties to tool parameters. |
NoOpToolEmitter | 类class | io.agentscope.core.tool | 无 Op 工具 Emitter,让智能体以受控方式调用外部能力。 A no-op implementation of ToolEmitter that silently discards all emitted chunks. |
SchemaOnlyTool | 类class | io.agentscope.core.tool | 模式 Only 工具,封装可被智能体调用的能力。 An external tool implementation that only contains schema definition without execution logic. |
SimpleExtendedModel | 类class | io.agentscope.core.tool | 简单 Extended 模型,让智能体以受控方式调用外部能力。 Simple implementation of ExtendedModel using maps. |
SkillToolGroup | 类class | io.agentscope.core.tool | 技能工具组,让智能体以受控方式调用外部能力。 A `ToolGroup` that is bound to a specific skill. |
Tool | 注解annotation | io.agentscope.core.tool | 用于标记工具相关元数据的注解。 Annotation to mark a method as a tool that can be invoked by AI agents. |
ToolBase | 类class | io.agentscope.core.tool | 工具基类,让智能体以受控方式调用外部能力。 Abstract base class for tools that participate in permission evaluation and ReAct execution. |
ToolCallParam | 类class | io.agentscope.core.tool | 工具调用参数,让智能体以受控方式调用外部能力。 Parameters for tool invocation. |
ToolDangerousPathConstants | 类class | io.agentscope.core.tool | 工具 Dangerous 路径 Constants,让智能体以受控方式调用外部能力。 Defaults for the dangerous-path and dangerous-command lists consulted by tool self-checks. |
ToolEmitter | 接口interface | io.agentscope.core.tool | 定义工具 Emitter契约的接口。 Interface for emitting streaming responses during tool execution. |
ToolExecutionContext | 类class | io.agentscope.core.tool | 工具执行上下文,让智能体以受控方式调用外部能力。 Facade for passing custom POJOs to tool methods via priority-based resolution. |
ToolExecutionContextProvider | 接口interface | io.agentscope.core.tool | 定义工具执行上下文提供者契约的接口。 @deprecated Part of the {@link ToolExecutionContext} layer which is superseded by {@link io.agentscope.core.agent.RuntimeContext}. |
ToolGroup | 类class | io.agentscope.core.tool | 工具组,让智能体以受控方式调用外部能力。 Represents a named group of tools with activation state. |
ToolGroupScope | 枚举enum | io.agentscope.core.tool | 定义工具组范围相关取值的枚举。 Defines who manages a `ToolGroup`'s activation lifecycle. |
ToolMergeMode | 枚举enum | io.agentscope.core.tool | 定义工具 Merge 模式相关取值的枚举。 Enum defining how externally injected tools (e.g. |
ToolParam | 注解annotation | io.agentscope.core.tool | 用于标记工具参数相关元数据的注解。 Annotation to describe parameters of a tool method. |
ToolRequestConfig | 记录record | io.agentscope.core.tool | 承载工具请求配置数据的记录类型。 Immutable per-call tool request config. |
ToolResultConverter | 接口interface | io.agentscope.core.tool | 定义工具结果转换器契约的接口。 Converts tool method return values to ToolResultBlock. |
ToolResultMessageBuilder | 类class | io.agentscope.core.tool | 工具结果消息构建器,用于构建并配置目标实例。 Utility class for building tool result messages from ToolResultBlock objects. |
ToolSchemaModule | 类class | io.agentscope.core.tool | 工具模式 Module,让智能体以受控方式调用外部能力。 A victools JSON Schema `Module` that reads `ToolParam` annotations
to populate `"description"` and `"required"` in the generated schema. |
ToolSuspendException | 类class | io.agentscope.core.tool | 工具 Suspend 异常,表示执行过程中的错误。 Exception thrown to signal that a tool execution should be suspended and handled externally. |
ToolValidator | 类class | io.agentscope.core.tool | 工具校验器,让智能体以受控方式调用外部能力。 Unified validator for tool-related operations. |
Toolkit | 类class | io.agentscope.core.tool | 工具注册表 Toolkit manages the registration, retrieval, and execution of agent tools. |
ToolkitConfig | 类class | io.agentscope.core.tool | 用于工具包执行行为的配置。 Configuration for Toolkit execution behavior. |
TodoTools | 类class | io.agentscope.core.tool.builtin | Todo 工具,封装可被智能体调用的能力。 Built-in task-list tool that lets the agent maintain a structured todo list for the current
session, mirroring opencode's `todowrite`. |
CommandValidator | 接口interface | io.agentscope.core.tool.coding | 定义命令校验器契约的接口。 Interface for validating shell commands before execution. |
ShellCommandTool | 类class | io.agentscope.core.tool.coding | Shell 命令工具,封装可被智能体调用的能力。 Tool for executing shell commands with security validation. |
UnixCommandValidator | 类class | io.agentscope.core.tool.coding | Unix 命令校验器,让智能体以受控方式调用外部能力。 Command validator for Unix-like systems (Linux, macOS). |
WindowsCommandValidator | 类class | io.agentscope.core.tool.coding | Windows 命令校验器,让智能体以受控方式调用外部能力。 Command validator for Windows systems. |
FileToolUtils | 类class | io.agentscope.core.tool.file | 文件工具 Utils,让智能体以受控方式调用外部能力。 Utility methods shared by text file tools. |
ReadFileTool | 类class | io.agentscope.core.tool.file | 读取文件工具,封装可被智能体调用的能力。 Tool for viewing text file content with optional line range specification and listing directory
contents. |
WriteFileTool | 类class | io.agentscope.core.tool.file | 写入文件工具,封装可被智能体调用的能力。 Text file writing and insertion tools. |
McpAsyncClientWrapper | 类class | io.agentscope.core.tool.mcp | MCP 异步客户端包装器,让智能体以受控方式调用外部能力。 Wrapper for asynchronous MCP clients using Project Reactor. |
McpClientBuilder | 类class | io.agentscope.core.tool.mcp | MCP 客户端构建器 Builder for creating MCP client wrappers with fluent configuration. |
McpClientWrapper | 类class | io.agentscope.core.tool.mcp | 用于MCP(模型上下文协议)客户端的抽象包装器。 Abstract wrapper for MCP (Model Context Protocol) clients. |
McpContentConverter | 类class | io.agentscope.core.tool.mcp | MCP 内容转换器,让智能体以受控方式调用外部能力。 Utility class for converting between MCP content types and AgentScope content blocks. |
McpMeta | 记录record | io.agentscope.core.tool.mcp | 承载 MCP 元数据数据的记录类型。 Type-namespace marker for MCP (Model Context Protocol) request metadata. |
McpSyncClientWrapper | 类class | io.agentscope.core.tool.mcp | MCP 同步客户端包装器,让智能体以受控方式调用外部能力。 Wrapper for synchronous MCP clients that converts blocking calls to reactive Mono types. |
McpTool | 类class | io.agentscope.core.tool.mcp | MCP 工具,封装可被智能体调用的能力。 `ToolBase` subclass that wraps an MCP (Model Context Protocol) tool. |
SubAgentConfig | 类class | io.agentscope.core.tool.subagent | 子智能体配置,保存相关配置项。 Configuration for sub-agent registration. |
SubAgentProvider | 接口interface | io.agentscope.core.tool.subagent | 定义子智能体提供者契约的接口。 Factory interface for creating agent instances. |
SubAgentTool | 类class | io.agentscope.core.tool.subagent | 子智能体工具,封装可被智能体调用的能力。 AgentTool implementation that wraps a sub-agent for multi-turn conversation. |
NoopTracer | 类class | io.agentscope.core.tracing | Noop 追踪器,对智能体行为进行评测、追踪与可观测性分析。 @deprecated since 2.0.0. |
OtelTracingMiddleware | 类class | io.agentscope.core.tracing | Otel 追踪中间件,在智能体执行流程中提供横切扩展。 Middleware that adds OpenTelemetry tracing to the agent lifecycle. |
Tracer | 接口interface | io.agentscope.core.tracing | 定义追踪器契约的接口。 @deprecated since 2.0.0. |
TracerRegistry | 类class | io.agentscope.core.tracing | 追踪器注册表,对智能体行为进行评测、追踪与可观测性分析。 Registry for the global `Tracer` instance. |
ExceptionUtils | 类class | io.agentscope.core.util | 异常 Utils,为框架提供通用类型与基础能力。 Utility methods for exception handling. |
JacksonJsonCodec | 类class | io.agentscope.core.util | Jackson JSON 编解码器,为框架提供通用类型与基础能力。 Jackson-based implementation of `JsonCodec`. |
JsonCodec | 接口interface | io.agentscope.core.util | 定义 JSON 编解码器契约的接口。 Interface for JSON serialization and deserialization operations. |
JsonException | 类class | io.agentscope.core.util | JSON 异常,表示执行过程中的错误。 Runtime exception for JSON processing errors. |
JsonSchemaUtils | 类class | io.agentscope.core.util | JSON 模式 Utils,为框架提供通用类型与基础能力。 Utility class for JSON Schema operations. |
JsonUtils | 类class | io.agentscope.core.util | JSON Utils,为框架提供通用类型与基础能力。 Utility class for accessing the global `JsonCodec` instance. |
MessageUtils | 类class | io.agentscope.core.util | 消息 Utils,为框架提供通用类型与基础能力。 Utility methods for message processing and extraction. |
TypeUtils | 类class | io.agentscope.core.util | 类型 Utils,为框架提供通用类型与基础能力。 Utility class for type-safe operations. |