索引
常量字段值|所有程序包|所有类和接口|序列化表格
A
- abnormal(String) - 记录类中的静态方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
Create a CloseInfo for abnormal closure.
- ABNORMAL_CLOSURE - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
-
Abnormal closure (1006).
- AbstractBaseFormatter<TReq,
TResp, - io.agentscope.core.formatter中的类TParams> -
Abstract base formatter providing common functionality for all formatter implementations.
- AbstractBaseFormatter() - 类的构造器 io.agentscope.core.formatter.AbstractBaseFormatter
- accept(String) - 接口中的方法 io.agentscope.core.skill.SkillFileFilter
-
Determines whether a resource path should be accepted for upload.
- ACCEPT_EDITS - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
- acceptAll() - 接口中的静态方法 io.agentscope.core.skill.SkillFileFilter
-
Returns a filter that accepts all files.
- ACTING_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。During tool execution streaming
- ACTING_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Acting phase was stopped by a Hook (PostActingEvent.stopAgent()).
- ActingChunkEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- ActingChunkEvent(Agent, Toolkit, ToolUseBlock, ToolResultBlock) - 类的构造器 io.agentscope.core.hook.ActingChunkEvent
-
已过时。Constructor for ActingChunkEvent.
- ActingEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - ActingEvent(HookEventType, Agent, Toolkit, ToolUseBlock) - 类的构造器 io.agentscope.core.hook.ActingEvent
-
已过时。Constructor for ActingEvent.
- ActingInput - io.agentscope.core.middleware中的记录类
- ActingInput(List<ToolUseBlock>) - 记录类的构造器 io.agentscope.core.middleware.ActingInput
-
创建
ActingInput记录类的实例。 - activateOnSkill(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Sets the skill that this tool group is bound to.
- active(boolean) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Sets the initial activation state.
- active(boolean) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Sets the initial activation state.
- activeGroups() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
-
返回
activeGroups记录组件的值。 - addActivatedGroup(String) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
- addAllowedCommand(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Add a command to the whitelist in a thread-safe manner.
- addAllowRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- addAskRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- addDenyRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- addDocuments(List<Document>) - 接口中的方法 io.agentscope.core.rag.Knowledge
-
已过时。Adds documents to the knowledge base.
- addHook(Hook) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Add a hook to this agent dynamically.
- additionalBodyParam(String, Object) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Adds an additional parameter to include in the request body.
- additionalBodyParams(Map<String, Object>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets all additional parameters to include in the request body.
- additionalHeader(String, String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Adds an additional HTTP header to include in API requests.
- additionalHeaders(Map<String, String>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets all additional HTTP headers to include in API requests.
- additionalQueryParam(String, String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Adds an additional query parameter to include in API requests.
- additionalQueryParams(Map<String, String>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets all additional query parameters to include in API requests.
- AdditionalWorkingDirectory - io.agentscope.core.permission中的记录类
-
A directory included in a permission context's working scope.
- AdditionalWorkingDirectory(String, String) - 记录类的构造器 io.agentscope.core.permission.AdditionalWorkingDirectory
-
创建
AdditionalWorkingDirectory记录类的实例。 - addMessage(Msg) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- addMessage(Msg) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Adds a message to the in-memory message list.
- addMessage(Msg) - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Adds a message to the memory.
- addMessage(Msg) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- addMessage(Msg) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- addPayload(String, Object) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Adds a single payload field.
- addResource(String, String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Adds or updates a single resource.
- addRule(PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Adds a rule to the engine's internal rule set.
- addStore(ContextStore) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Adds a single store to the store list.
- addSystemHook(Hook) - 类中的静态方法 io.agentscope.core.agent.AgentBase
- addTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Adds a tool to this group.
- addWorkingDirectory(String, AdditionalWorkingDirectory) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- afterAgentExecution() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Invoked in
Mono.usingcleanup, before clearing the running state. - afterAgentExecution() - 类中的方法 io.agentscope.core.ReActAgent
- agent(Agent) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Sets the calling agent.
- Agent - io.agentscope.core.agent中的接口
-
Complete agent interface combining all capabilities.
- AGENT_CONTROL - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
-
已过时。Agent actively controls memory through tool calls.
- AGENT_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- AGENT_RESULT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Final result event - The agent's complete response.
- AGENT_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- AGENT_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- AgentBase - io.agentscope.core.agent中的类
-
Abstract base class for all agents in the AgentScope framework.
- AgentBase(String) - 类的构造器 io.agentscope.core.agent.AgentBase
-
Constructor for AgentBase.
- AgentBase(String, String) - 类的构造器 io.agentscope.core.agent.AgentBase
-
Constructor for AgentBase.
- AgentBase(String, String, boolean, List<Hook>) - 类的构造器 io.agentscope.core.agent.AgentBase
-
已过时。Use
AgentBase(String, String, List)instead. - AgentBase(String, String, List<Hook>) - 类的构造器 io.agentscope.core.agent.AgentBase
-
Constructor for AgentBase with hooks.
- AgentEndEvent - io.agentscope.core.event中的类
-
Emitted when an agent finishes processing an invocation.
- AgentEndEvent(String) - 类的构造器 io.agentscope.core.event.AgentEndEvent
- AgentEndEvent(String, String, String) - 类的构造器 io.agentscope.core.event.AgentEndEvent
- AgentEvent - io.agentscope.core.event中的类
-
Base class for all fine-grained agent events.
- AgentEvent() - 类的构造器 io.agentscope.core.event.AgentEvent
- AgentEvent(String, String) - 类的构造器 io.agentscope.core.event.AgentEvent
- AgentEventEmitter - io.agentscope.core.event中的接口
-
Public interface for emitting
AgentEvents into the parent agent'sstreamEvents()event stream from within tool execution code. - AgentEventType - io.agentscope.core.event中的枚举类
-
Fine-grained event types emitted during agent execution.
- AgentExceptionInfo(String, String, Throwable) - 记录类的构造器 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
创建
AgentExceptionInfo记录类的实例。 - AGENTIC - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
-
已过时。Agentic mode: Agent decides when to retrieve knowledge via Tool.
- agentId() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
返回
agentId记录组件的值。 - agentId() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回
agentId记录组件的值。 - agentId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- AgentInput - io.agentscope.core.middleware中的记录类
- AgentInput(List<Msg>) - 记录类的构造器 io.agentscope.core.middleware.AgentInput
-
创建
AgentInput记录类的实例。 - agentKey(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- agentName() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
返回
agentName记录组件的值。 - agentName(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- AgentResultEvent - io.agentscope.core.event中的类
-
Emitted when an agent successfully finishes processing an invocation, carrying the final result message.
- AgentResultEvent(Msg) - 类的构造器 io.agentscope.core.event.AgentResultEvent
- AgentResultEvent(String, String, Msg) - 类的构造器 io.agentscope.core.event.AgentResultEvent
- AgentScopeJvmShutdownHook - io.agentscope.core.shutdown中的类
-
JVM hook for SIGTERM graceful shutdown entry.
- AgentShuttingDownException - io.agentscope.core.shutdown中的异常错误类
-
Exception thrown when request is rejected or interrupted during shutdown.
- AgentShuttingDownException() - 异常错误类的构造器 io.agentscope.core.shutdown.AgentShuttingDownException
- AgentShuttingDownException(String) - 异常错误类的构造器 io.agentscope.core.shutdown.AgentShuttingDownException
- AgentSkill - io.agentscope.core.skill中的类
-
Represents an agent skill that can be loaded and used by agents.
- AgentSkill(String, String, String, Map<String, String>) - 类的构造器 io.agentscope.core.skill.AgentSkill
-
Creates an AgentSkill with explicit parameters.
- AgentSkill(String, String, String, Map<String, String>, String) - 类的构造器 io.agentscope.core.skill.AgentSkill
-
Creates an AgentSkill with explicit parameters and custom source.
- AgentSkill(Map<String, Object>, String, Map<String, String>, String) - 类的构造器 io.agentscope.core.skill.AgentSkill
-
Creates an AgentSkill with explicit metadata.
- AgentSkill(Map<String, Object>, String, Map<String, String>, String, Path) - 类的构造器 io.agentscope.core.skill.AgentSkill
-
Creates an AgentSkill with explicit metadata and an on-disk origin directory.
- AgentSkill.Builder - io.agentscope.core.skill中的类
-
Builder for creating AgentSkill instances.
- AgentSkillPromptProvider - io.agentscope.core.skill中的类
-
Generates skill system prompts for agents to understand available skills.
- AgentSkillPromptProvider(SkillRegistry) - 类的构造器 io.agentscope.core.skill.AgentSkillPromptProvider
-
Creates a skill prompt provider.
- AgentSkillPromptProvider(SkillRegistry, String) - 类的构造器 io.agentscope.core.skill.AgentSkillPromptProvider
-
Creates a skill prompt provider with custom instruction.
- AgentSkillRepository - io.agentscope.core.skill.repository中的接口
-
Repository interface for AgentSkill persistence operations.
- AgentSkillRepositoryInfo - io.agentscope.core.skill.repository中的类
-
Metadata about a skill repository.
- AgentSkillRepositoryInfo(String, String, boolean) - 类的构造器 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
-
Creates a new AgentSkillRepositoryInfo instance.
- AgentStartEvent - io.agentscope.core.event中的类
-
Emitted when an agent begins processing an invocation.
- AgentStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.AgentStartEvent
- AgentStartEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.AgentStartEvent
- agentState(AgentState) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- AgentState - io.agentscope.core.state中的类
-
Mutable per-agent runtime state.
- AgentState.Builder - io.agentscope.core.state中的类
- AgentStateMemoryView - io.agentscope.core.memory中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. New code should read context directly from
AgentState.getContext(). - AgentStateMemoryView(Supplier<AgentState>) - 类的构造器 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- AgentStateStore - io.agentscope.core.state中的接口
-
Persistent storage interface for AgentScope agent state.
- agentTool(AgentTool) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the AgentTool instance to register.
- agentTool(AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the AgentTool instance to register.
- AgentTool - io.agentscope.core.tool中的接口
-
Interface for agent tools that can be called by models.
- all() - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
All skills enabled (default when no filter is configured).
- ALL - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Special value to stream all event types (except
EventType.AGENT_RESULT). - ALL_TOOLS_DENIED - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- ALL_TOOLS_DENIED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
All tool calls were denied by the user and a hook requested the agent to stop.
- allow(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
- ALLOW - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
- allowed(String) - 类中的静态方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- ALLOWED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
- allowToolDeletion(boolean) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
Set whether tool deletion is allowed.
- AllToolsDeniedEvent - 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).
- AllToolsDeniedEvent(List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.AllToolsDeniedEvent
- ANTHROPIC - 类中的静态变量 io.agentscope.core.model.ModelContextWindows
- apiKey(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
- apiKey(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
- apiKey(String) - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
- apiKey(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the API key for authentication.
- apiKey(String) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- append(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Appends to existing file if present (default: true).
- appendSystemContent(ContentBlock) - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Appends a
ContentBlockat the end of the system message. - appendSystemContent(String) - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Appends the given text as a new
TextBlockat the end of the system message. - apply() - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Apply the registration with all configured options.
- apply() - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Apply the registration with all configured options.
- apply(MiddlewareBase, Agent, RuntimeContext, I, Function<I, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareChain.MiddlewareMethod
- applyOptions(TParams, GenerateOptions, GenerateOptions) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Apply generation options to provider-specific request parameters.
- applyTimeoutAndRetry(Flux<ChatResponse>, GenerateOptions, GenerateOptions, String, String) - 类中的静态方法 io.agentscope.core.model.ModelUtils
-
Applies timeout and retry configuration to a model response Flux.
- applyToConfigBuilder(SchemaGeneratorConfigBuilder) - 类中的方法 io.agentscope.core.tool.ToolSchemaModule
- applyToolChoice(TParams, ToolChoice) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Apply tool choice configuration to provider-specific request parameters.
- applyToolChoice(TParams, ToolChoice, String, String) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Apply tool choice configuration to provider-specific request parameters with provider detection.
- applyTools(TParams, List<ToolSchema>) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Apply tool schemas to provider-specific request parameters.
- applyTools(TParams, List<ToolSchema>, String, String) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Apply tool schemas to provider-specific request parameters with provider compatibility handling.
- ask(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
- ASK - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
- ASKING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
- ASSISTANT - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
-
Assistant role for messages generated by AI agents or assistants.
- AssistantMessage - io.agentscope.core.message中的类
-
A
MsgwithMsgRole.ASSISTANTpinned at construction time. - AssistantMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.AssistantMessage
- AssistantMessage(String) - 类的构造器 io.agentscope.core.message.AssistantMessage
- AssistantMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.AssistantMessage
- AssistantMessage(String, String) - 类的构造器 io.agentscope.core.message.AssistantMessage
- AssistantMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.AssistantMessage
- AssistantMessage.Builder - io.agentscope.core.message中的类
-
Fluent builder for
AssistantMessage. - asToolExecutionContext() - 类中的方法 io.agentscope.core.agent.RuntimeContext
-
Merges this context's data into a
ToolExecutionContextfor tool invocations. - asyncElicitation(Function<McpSchema.ElicitRequest, Mono<McpSchema.ElicitResult>>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Registers an asynchronous elicitation handler for processing elicit requests from the server.
- AudioBlock - io.agentscope.core.message中的类
-
Represents audio content in a message.
- AudioBlock(Source) - 类的构造器 io.agentscope.core.message.AudioBlock
-
Creates a new audio block for JSON deserialization.
- AudioBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing AudioBlock instances.
- Auto() - 记录类的构造器 io.agentscope.core.model.ToolChoice.Auto
-
创建
Auto记录类的实例。 - awaitTermination(Duration) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Block until the shutdown state reaches TERMINATED or the given timeout elapses.
B
- backoffMultiplier(Double) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the backoff multiplier applied after each retry.
- Base64Source - io.agentscope.core.message中的类
-
Represents Base64-encoded media content with media type and data.
- Base64Source(String, String) - 类的构造器 io.agentscope.core.message.Base64Source
-
Creates a new Base64 source for JSON deserialization.
- Base64Source.Builder - io.agentscope.core.message中的类
-
Builder for constructing Base64Source instances.
- baseUrl(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
- baseUrl(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
- baseUrl(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the base URL for the API endpoint.
- baseUrl(String) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- beforeAgentExecution(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Invoked at the start of a
call/ stream-backed call, afterAgentBase.acquireExecution()and before any hooks. - beforeAgentExecution(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
- behavior() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回
behavior记录组件的值。 - behavior(PermissionBehavior) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- bindRequestState(String, AgentState) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Bind the per-call
AgentStateresolved for the in-flight request identified byrequestId, so shutdown interruption and state-saving target that exact(userId, sessionId)session rather than the agent's no-arg "most-recently-active" accessors. - bindRuntimeContextToHooks(RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Pushes
ctxto allRuntimeContextAwarehooks registered for this agent. - bindStateSaver(Agent, ShutdownStateSaver) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Register a
ShutdownStateSaverfor the given agent. - bindToolkit(Toolkit) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Binds a toolkit to the skill box.
- blockedBy(List<String>) - 类中的方法 io.agentscope.core.state.Task.Builder
- blocks(List<String>) - 类中的方法 io.agentscope.core.state.Task.Builder
- body(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Set the request body.
- body(String) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
-
Set the response body.
- BOTH - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
-
已过时。Combines both agent control and automatic framework management.
- build() - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- build() - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- build() - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
- build() - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
-
已过时。Build the StreamUserInput instance.
- build() - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Build the UserAgent instance.
- build() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
- build() - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
- build() - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
- build() - 类中的方法 io.agentscope.core.formatter.JsonSchema.Builder
- build() - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
- build() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。
- build() - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
-
Build the InterruptContext.
- build() - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- build() - 类中的方法 io.agentscope.core.message.AudioBlock.Builder
-
Builds a new AudioBlock with the configured source.
- build() - 类中的方法 io.agentscope.core.message.Base64Source.Builder
-
Builds a new Base64Source with the configured properties.
- build() - 类中的方法 io.agentscope.core.message.DataBlock.Builder
-
Builds a new DataBlock with the configured fields.
- build() - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
-
Builds a new ImageBlock with the configured source.
- build() - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Builds a new message instance with the configured properties.
- build() - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- build() - 类中的方法 io.agentscope.core.message.TextBlock.Builder
-
Builds a new TextBlock with the configured text.
- build() - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
-
Builds a new ThinkingBlock with the configured thinking content and metadata.
- build() - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Builds a new ToolResultBlock with the configured properties.
- build() - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- build() - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Builds a new ToolUseBlock with the configured properties.
- build() - 类中的方法 io.agentscope.core.message.URLSource.Builder
-
Builds a new URLSource with the configured fields.
- build() - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- build() - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Builds a new VideoBlock with the configured source.
- build() - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Builds a new ChatResponse instance with the set values.
- build() - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
-
Builds a new ChatUsage instance with the set values.
- build() - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Builds a new ExecutionConfig instance.
- build() - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Builds a new GenerateOptions instance with the set values.
- build() - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- build() - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Builds a new ToolSchema instance with the set values.
- build() - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Build the HttpRequest.
- build() - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
-
Build the HttpResponse.
- build() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Build the HttpTransportConfig.
- build() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
-
Build the JdkHttpTransport.
- build() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
-
Build the OkHttpTransport.
- build() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Build the ProxyConfig.
- build() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
-
Build the WebSocketRequest.
- build() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Build the WebSocketTransportConfig.
- build() - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- build() - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- build() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Builds a new DocumentMetadata instance with the configured values.
- build() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。Builds the RetrieveConfig instance.
- build() - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Builds and returns a new ReActAgent instance with the configured settings.
- build() - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Builds the AgentSkill instance.
- build() - 类中的方法 io.agentscope.core.state.AgentState.Builder
- build() - 类中的方法 io.agentscope.core.state.Task.Builder
- build() - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
- build() - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Builds a new SkillToolGroup with the configured settings.
- build() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Builds the configuration.
- build() - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Builds the ToolCallParam instance.
- build() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Builds the ToolExecutionContext.
- build() - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Builds a new ToolGroup with the configured settings.
- build() - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
Build the ToolkitConfig.
- build(List<? extends MiddlewareBase>, Agent, RuntimeContext, MiddlewareChain.MiddlewareMethod<I>, Function<I, Flux<AgentEvent>>) - 类中的静态方法 io.agentscope.core.middleware.MiddlewareChain
-
Build a middleware chain that produces
Flux<AgentEvent>. - buildAsync() - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Builds an asynchronous MCP client wrapper.
- builder() - 类中的静态方法 io.agentscope.core.agent.EventSource
-
已过时。
- builder() - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
- builder() - 类中的静态方法 io.agentscope.core.agent.StreamOptions
-
Creates a new builder for StreamOptions.
- builder() - 类中的静态方法 io.agentscope.core.agent.user.StreamUserInput
-
已过时。Create a new builder for StreamUserInput.
- builder() - 类中的静态方法 io.agentscope.core.agent.user.UserAgent
-
已过时。Create a new builder for UserAgent.
- builder() - 类中的静态方法 io.agentscope.core.credential.DeepSeekCredential
- builder() - 类中的静态方法 io.agentscope.core.credential.KimiCredential
- builder() - 类中的静态方法 io.agentscope.core.credential.XAICredential
- builder() - 类中的静态方法 io.agentscope.core.formatter.JsonSchema
- builder() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
- builder() - 类中的静态方法 io.agentscope.core.interruption.InterruptContext
-
Create a new builder for InterruptContext.
- builder() - 类中的静态方法 io.agentscope.core.message.AssistantMessage
-
Creates a builder for
AssistantMessagewith a randomly generated ID and the current timestamp pre-populated. - builder() - 类中的静态方法 io.agentscope.core.message.AudioBlock
-
Creates a new builder for constructing AudioBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.Base64Source
-
Creates a new builder for constructing Base64Source instances.
- builder() - 类中的静态方法 io.agentscope.core.message.DataBlock
-
Creates a new builder for constructing DataBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.ImageBlock
-
Creates a new builder for constructing ImageBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.Msg
-
Creates a new message builder with a randomly generated ID.
- builder() - 类中的静态方法 io.agentscope.core.message.SystemMessage
-
Creates a builder for
SystemMessagewith a randomly generated ID and the current timestamp pre-populated. - builder() - 类中的静态方法 io.agentscope.core.message.TextBlock
-
Creates a new builder for constructing TextBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.ThinkingBlock
-
Creates a new builder for constructing ThinkingBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Creates a new builder for constructing ToolResultBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.message.ToolResultMessage
-
Creates a builder for
ToolResultMessagewith a randomly generated ID and the current timestamp pre-populated. - builder() - 类中的静态方法 io.agentscope.core.message.ToolUseBlock
-
Creates a new builder for constructing a ToolUseBlock.
- builder() - 类中的静态方法 io.agentscope.core.message.URLSource
-
Creates a new builder for constructing URLSource instances.
- builder() - 类中的静态方法 io.agentscope.core.message.UserMessage
-
Creates a builder for
UserMessagewith a randomly generated ID and the current timestamp pre-populated. - builder() - 类中的静态方法 io.agentscope.core.message.VideoBlock
-
Creates a new builder for constructing VideoBlock instances.
- builder() - 类中的静态方法 io.agentscope.core.model.ChatResponse
-
Creates a new builder for ChatResponse.
- builder() - 类中的静态方法 io.agentscope.core.model.ChatUsage
-
Creates a new builder for ChatUsage.
- builder() - 类中的静态方法 io.agentscope.core.model.ExecutionConfig
-
Creates a new builder for ExecutionConfig.
- builder() - 类中的静态方法 io.agentscope.core.model.GenerateOptions
-
Creates a new builder for GenerateOptions.
- builder() - 类中的静态方法 io.agentscope.core.model.ModelCreationContext
- builder() - 类中的静态方法 io.agentscope.core.model.ToolSchema
-
Creates a new builder for ToolSchema.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpRequest
-
Create a new builder for HttpRequest.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpResponse
-
Create a new builder for HttpResponse.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Create a new builder for HttpTransportConfig.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.JdkHttpTransport
-
Create a new builder for JdkHttpTransport.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.OkHttpTransport
-
Create a new builder for OkHttpTransport.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create a new builder for ProxyConfig.
- builder() - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Create a new builder for WebSocketTransportConfig.
- builder() - 类中的静态方法 io.agentscope.core.permission.PermissionContextState
- builder() - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
- builder() - 类中的静态方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Creates a new builder for constructing DocumentMetadata instances.
- builder() - 类中的静态方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Creates a new builder instance.
- builder() - 类中的静态方法 io.agentscope.core.ReActAgent
- builder() - 类中的静态方法 io.agentscope.core.skill.AgentSkill
-
Creates a new builder for creating a skill from scratch.
- builder() - 类中的静态方法 io.agentscope.core.state.AgentState
- builder() - 类中的静态方法 io.agentscope.core.state.Task
- builder() - 类中的静态方法 io.agentscope.core.state.ToolContextState
- builder() - 类中的静态方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Creates a new builder.
- builder() - 类中的静态方法 io.agentscope.core.tool.ToolBase
- builder() - 类中的静态方法 io.agentscope.core.tool.ToolCallParam
-
Creates a new builder for constructing ToolCallParam instances.
- builder() - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Creates a new builder for constructing ToolExecutionContext instances.
- builder() - 类中的静态方法 io.agentscope.core.tool.ToolGroup
-
Creates a new builder for constructing ToolGroup instances.
- builder() - 类中的静态方法 io.agentscope.core.tool.ToolkitConfig
-
Create a new builder for ToolkitConfig.
- builder(RuntimeContext) - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
- builder(ToolCallParam) - 类中的静态方法 io.agentscope.core.tool.ToolCallParam
-
Creates a new builder initialized with values from an existing ToolCallParam.
- builder(String) - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
-
Create a new builder with the specified URL.
- builder(Path) - 类中的静态方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
-
已过时。
- Builder() - 类的构造器 io.agentscope.core.agent.RuntimeContext.Builder
- Builder() - 类的构造器 io.agentscope.core.agent.StreamOptions.Builder
- Builder() - 类的构造器 io.agentscope.core.formatter.JsonSchema.Builder
- Builder() - 类的构造器 io.agentscope.core.formatter.ResponseFormat.Builder
- Builder() - 类的构造器 io.agentscope.core.message.AssistantMessage.Builder
- Builder() - 类的构造器 io.agentscope.core.message.AudioBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.Base64Source.Builder
- Builder() - 类的构造器 io.agentscope.core.message.DataBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.ImageBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.Msg.Builder
-
Creates a new builder with a randomly generated message ID.
- Builder() - 类的构造器 io.agentscope.core.message.SystemMessage.Builder
- Builder() - 类的构造器 io.agentscope.core.message.TextBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.ThinkingBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.ToolResultBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.ToolResultMessage.Builder
- Builder() - 类的构造器 io.agentscope.core.message.ToolUseBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.message.URLSource.Builder
- Builder() - 类的构造器 io.agentscope.core.message.UserMessage.Builder
- Builder() - 类的构造器 io.agentscope.core.message.VideoBlock.Builder
- Builder() - 类的构造器 io.agentscope.core.model.ChatResponse.Builder
- Builder() - 类的构造器 io.agentscope.core.model.ChatUsage.Builder
- Builder() - 类的构造器 io.agentscope.core.model.ExecutionConfig.Builder
- Builder() - 类的构造器 io.agentscope.core.model.GenerateOptions.Builder
- Builder() - 类的构造器 io.agentscope.core.model.ToolSchema.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.HttpRequest.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.HttpResponse.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.HttpTransportConfig.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.JdkHttpTransport.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport.Builder
- Builder() - 类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
- Builder() - 类的构造器 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。
- Builder() - 类的构造器 io.agentscope.core.tool.SkillToolGroup.Builder
- Builder() - 类的构造器 io.agentscope.core.tool.ToolGroup.Builder
- builderForRole(MsgRole) - 类中的静态方法 io.agentscope.core.message.Msg
-
Creates a builder for the concrete
Msgsubtype that matches the given role. - buildGenerateOptions() - 类中的方法 io.agentscope.core.ReActAgent
- buildSync() - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Builds a synchronous MCP client wrapper (blocking operations).
- BYPASS - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
- BYPASS_MULTIAGENT_HISTORY_MERGE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key to bypass history merging in multiagent formatters.
- bytes() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回
bytes记录组件的值。
C
- CACHE_CONTROL - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key to mark a message for prompt caching.
- cacheControl(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets whether cache control is enabled for prompt caching.
- cachedTokens(int) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
-
Sets the number of cached input tokens.
- cachedTools - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
-
Cache of tools available from this MCP server
- cacheFile(String, List<String>) - 类中的方法 io.agentscope.core.state.ToolContextState
-
Insert
linesforfilePathinto the cache, evicting older entries to satisfy bothmaxCacheFilesandmaxCacheBytes. - cacheId(String) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- cachePolicy(CachePolicy) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- CachePolicy - io.agentscope.core.model中的枚举类
-
Controls whether
ModelRegistrycaches models created with aModelCreationContext. - call() - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Continue generation based on current state without adding new input.
- call(JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Continue generation with JSON schema based on current state.
- call(Msg) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a single input message and generate a response.
- call(Msg...) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process multiple input messages (varargs) and generate a response.
- call(Msg, JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a single input message with JSON schema and generate a response.
- call(Msg, Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a single input message with structured model and generate a response.
- call(Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Continue generation with structured model based on current state.
- call(String) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a plain text input and generate a response.
- call(String, JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a plain text input with JSON schema and generate a response.
- call(String, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Calls the agent with a plain text input and per-call
RuntimeContext. - call(String, Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a plain text input with structured model and generate a response.
- call(String, Class<?>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Calls the agent with a plain text input, structured output class, and per-call
RuntimeContext. - call(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Process a list of input messages and generate a response with hook execution.
- call(List<Msg>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process a list of input messages and generate a response.
- call(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Process multiple input messages and generate structured output with hook execution.
- call(List<Msg>, JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process multiple input messages with JSON schema and generate a response.
- call(List<Msg>, JsonNode, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
- call(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Calls the agent with a per-call
RuntimeContext(metadata for hooks and tools, not persisted). - call(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Process multiple input messages and generate structured output with hook execution.
- call(List<Msg>, Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
-
Process multiple input messages with structured model and generate a response.
- call(List<Msg>, Class<?>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
- CALL_SCOPE_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
-
Reactor Context key carrying the per-call scope object returned by
AgentBase.beforeAgentExecution(List, RuntimeContext). - CallableAgent - io.agentscope.core.agent中的接口
-
Interface for agents that can be called to process messages.
- callAgent(AgentBase, List<Msg>, Supplier<Mono<Msg>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
- callAsync(ToolCallParam) - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Execute the tool with the given parameters (asynchronous).
- callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
- callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.mcp.McpTool
-
Executes this MCP tool asynchronously with the given parameters.
- callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.SchemaOnlyTool
-
Throws a ToolSuspendException to signal that this tool requires external execution.
- callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
- callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.ToolBase
-
Default tool invocation.
- callFormat(AbstractBaseFormatter<TReq, TResp, TParams>, List<Msg>, Supplier<List<TReq>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
- callInternal(List<Msg>, RuntimeContext, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Extension point called by every
call()overload, allowing subclasses to wrap the entire invocation in additional middleware (e.g. theonAgentchain inReActAgent). - callInternal(List<Msg>, RuntimeContext, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.ReActAgent
-
Overrides the base-class hook so that every
call()variant — including structured output and context-bearing overloads — runs through the sameReActAgent.buildAgentStream(java.util.List<io.agentscope.core.message.Msg>, io.agentscope.core.agent.RuntimeContext, java.util.function.Function<java.util.List<io.agentscope.core.message.Msg>, reactor.core.publisher.Mono<io.agentscope.core.message.Msg>>)core asstreamEvents(). - callModel(ChatModelBase, List<Msg>, List<ToolSchema>, GenerateOptions, Supplier<Flux<ChatResponse>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
- callSerializationKey(RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Returns a key that serializes concurrent calls sharing it: calls with an equal, non-null key run one-at-a-time in FIFO order, while calls with different keys (or a
nullkey) run concurrently. - callSerializationKey(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
- callTool(ToolCallParam) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Execute a tool with the given parameters.
- callTool(Toolkit, ToolCallParam, Supplier<Mono<ToolResultBlock>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
- callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Invokes a tool on the MCP server asynchronously.
- callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Invokes a tool on the MCP server.
- callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Invokes a tool on the MCP server, wrapping the blocking call in a reactive Mono.
- callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Invokes a tool on the MCP server asynchronously with additional metadata.
- callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Invokes a tool on the MCP server.
- callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Invokes a tool on the MCP server, wrapping the blocking call in a reactive Mono.
- callTools(List<ToolUseBlock>, ExecutionConfig, Agent, RuntimeContext) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Execute multiple tools asynchronously with agent-level context (internal use by ReActAgent).
- canResolve(String) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Returns
trueifModelRegistry.resolve(String)can find a named model or a matching factory/ provider pattern (without creating an instance). - canResolve(String, ModelCreationContext) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Returns
trueifModelRegistry.resolve(String, ModelCreationContext)can find a named model or a matching factory/provider pattern (without creating an instance). - CHAT_USAGE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key for chat usage statistics.
- ChatModelBase - io.agentscope.core.model中的类
-
Abstract base class for all models in the AgentScope framework.
- ChatModelBase() - 类的构造器 io.agentscope.core.model.ChatModelBase
- ChatResponse - io.agentscope.core.model中的类
-
Represents a chat completion response from a language model.
- ChatResponse(String, List<ContentBlock>, ChatUsage, Map<String, Object>, String) - 类的构造器 io.agentscope.core.model.ChatResponse
-
Creates a new ChatResponse instance.
- ChatResponse.Builder - io.agentscope.core.model中的类
-
Builder for creating ChatResponse instances.
- ChatUsage - io.agentscope.core.model中的类
-
Represents token usage information for chat completion responses.
- ChatUsage(int, int, double) - 类的构造器 io.agentscope.core.model.ChatUsage
-
Creates a new ChatUsage instance without cached token information.
- ChatUsage(int, int, int, double) - 类的构造器 io.agentscope.core.model.ChatUsage
-
Creates a new ChatUsage instance.
- ChatUsage.Builder - io.agentscope.core.model中的类
-
Builder for creating ChatUsage instances.
- checkAndClearShutdownInterrupted(Agent) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Check whether the agent was previously interrupted by shutdown, and clear the flag.
- checkInterruptedAsync() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。No longer needed; ReActAgent uses per-session InterruptControl.
- checkPermission(ToolBase, Map<String, Object>) - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Resolves a permission decision for the given tool invocation.
- checkPermissions(Map<String, Object>, PermissionContextState) - 类中的方法 io.agentscope.core.tool.mcp.McpTool
- checkPermissions(Map<String, Object>, PermissionContextState) - 类中的方法 io.agentscope.core.tool.ToolBase
-
Tool self-check invoked by the permission engine when
allowRules/askRulesneither allow nor reject the call outright. - checkRunning(boolean) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Set the checkRunning flag.
- checkRunning(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时。No longer enforced; per-session serialization handles concurrency.
- chunkId(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Sets the chunk ID.
- ClasspathSkillRepository - io.agentscope.core.skill.repository中的类
-
ClasspathSkillRepository - Loads skills from classpath resources and JAR files.
- ClasspathSkillRepository(String) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Creates a repository for loading skills from resources.
- ClasspathSkillRepository(String, ClassLoader) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Creates a repository for loading skills from resources using a specific ClassLoader.
- ClasspathSkillRepository(String, String) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Creates a repository for loading skills from resources with a custom source.
- ClasspathSkillRepository(String, String, ClassLoader) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Creates a repository for loading skills from resources using a specific ClassLoader.
- clear() - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- clear() - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Clears all messages from memory.
- clear() - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Clears all messages from memory.
- clear() - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- clearAll() - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
-
Wipe everything (useful for testing).
- clearAllowedCommands() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Clear all commands from the whitelist in a thread-safe manner.
- clearAllSessions() - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
-
Clear every session under every user.
- clearResources() - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Clears all resources.
- client(HttpClient) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
-
Use an existing HttpClient instance.
- client(OkHttpClient) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
-
Use an existing OkHttpClient instance.
- close() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
-
已过时。
- close() - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
-
Close the transport and release any resources.
- close() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
- close() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
- close() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
- close() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
- close() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
-
Close the connection.
- close() - 类中的方法 io.agentscope.core.ReActAgent
- close() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Cleans up any resources used by this repository.
- close() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Closes the file system (if in JAR environment).
- close() - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Clean up any resources used by this store.
- close() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Closes the MCP client connection and releases all resources.
- close() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Closes this MCP client and releases all resources.
- close() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Closes the MCP client connection and releases all resources.
- CloseInfo - io.agentscope.core.model.transport.websocket中的记录类
-
WebSocket connection close information.
- CloseInfo(int, String) - 记录类的构造器 io.agentscope.core.model.transport.websocket.CloseInfo
-
创建
CloseInfo记录类的实例。 - code() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
返回
code记录组件的值。 - CommandValidator - io.agentscope.core.tool.coding中的接口
-
Interface for validating shell commands before execution.
- CommandValidator.ValidationResult - io.agentscope.core.tool.coding中的类
-
Result of command validation.
- COMPLETED - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
- component(Class<T>) - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns a provider-specific component by type, or
null. - component(Class<T>, T) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- CompositeAgentException - io.agentscope.core.exception中的异常错误类
- CompositeAgentException(String, List<CompositeAgentException.AgentExceptionInfo>) - 异常错误类的构造器 io.agentscope.core.exception.CompositeAgentException
- CompositeAgentException.AgentExceptionInfo - io.agentscope.core.exception中的记录类
- computeHash(List<? extends State>) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
-
Compute a hash value for a list of state objects.
- concurrencySafe() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Whether the tool is safe to invoke concurrently with itself.
- concurrencySafe(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- config(HttpTransportConfig) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
-
Set the transport configuration.
- config(HttpTransportConfig) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
-
Set the transport configuration.
- Configuration Merging - 类 io.agentscope.core.model.ExecutionConfig中的搜索标记
- 节
- CONFIRM_SINK_KEY - 类中的静态变量 io.agentscope.core.ReActAgent
-
已过时。Permission HITL no longer uses a Reactor Sink. Confirm results are now delivered via a second
agent.call(msgs)carrying aConfirmResultpayload — seeapplyConfirmResults. This constant is retained as a compile-time marker and will be removed in a future release. - ConfirmResult - io.agentscope.core.event中的类
-
Represents the result of a single user confirmation decision for a tool call.
- ConfirmResult(boolean, ToolUseBlock) - 类的构造器 io.agentscope.core.event.ConfirmResult
-
Convenience constructor without rules.
- ConfirmResult(boolean, ToolUseBlock, List<PermissionRule>) - 类的构造器 io.agentscope.core.event.ConfirmResult
- connect(WebSocketRequest, Class<T>) - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
- connect(WebSocketRequest, Class<T>) - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
- connect(WebSocketRequest, Class<T>) - 接口中的方法 io.agentscope.core.model.transport.WebSocketTransport
-
Establish a WebSocket connection.
- connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the connect timeout.
- connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
-
Set the connection timeout.
- connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set the connect timeout.
- consumeSystemMsgAfterPreCall(Msg, Object) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Called after
PreCallEventhooks have run, with the final system message value. - consumeSystemMsgAfterPreCall(Msg, Object) - 类中的方法 io.agentscope.core.ReActAgent
- contains(Class<?>) - 接口中的方法 io.agentscope.core.tool.ContextStore
-
已过时。Checks whether any object of the specified type exists (regardless of key).
- contains(Class<?>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Checks whether an object of the specified type exists in any store (regardless of key).
- contains(String, Class<?>) - 接口中的方法 io.agentscope.core.tool.ContextStore
-
已过时。Checks whether an object with the specified key and type exists.
- contains(String, Class<?>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Checks whether an object with the specified key and type exists in any store.
- containsMultipleCommands(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
-
Check if the command contains multiple command separators.
- containsMultipleCommands(String) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
-
Check if the command contains multiple command separators outside of quotes.
- containsMultipleCommands(String) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
-
Check if the command contains multiple command separators outside of quotes.
- containsTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Checks if this group contains a specific tool.
- content - 类中的变量 io.agentscope.core.message.Msg.Builder
- content(ContentBlock) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- content(ContentBlock) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Set content from a single content block (convenience method).
- content(ContentBlock) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- content(ContentBlock) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- content(ContentBlock) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- content(ContentBlock) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Sets the content block.
- content(ContentBlock...) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- content(ContentBlock...) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Set content from varargs content blocks (convenience method).
- content(ContentBlock...) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- content(ContentBlock...) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- content(ContentBlock...) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- content(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the raw content for streaming tool calls.
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Set content from a list of content blocks.
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- content(List<ContentBlock>) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Sets the content blocks for the response.
- ContentBlock - io.agentscope.core.message中的类
-
Base sealed class for all content blocks in messages.
- ContentBlock() - 类的构造器 io.agentscope.core.message.ContentBlock
- context(ToolExecutionContext) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
已过时。Use
ToolCallParam.Builder.runtimeContext(RuntimeContext)instead. - context(List<Msg>) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.agent.SubagentEventBus
-
Reactor Context key under which the bus instance is stored.
- CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.event.AgentEventEmitter
-
Reactor Context key under which the emitter instance is stored.
- contextMutable() - 类中的方法 io.agentscope.core.state.AgentState
-
Live, mutable handle for components that append/replace messages in place.
- contextSize() - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
返回
contextSize记录组件的值。 - ContextStore - io.agentscope.core.tool中的接口
-
已过时。Part of the
ToolExecutionContextlayer which is superseded byRuntimeContext. - conversationHistory(List<Msg>) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。Sets the conversation history for context-aware retrieval.
- convert(Object, Type) - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
- convert(Object, Type) - 接口中的方法 io.agentscope.core.tool.ToolResultConverter
-
Convert tool call result to ToolResultBlock.
- convertCallToolResult(McpSchema.CallToolResult) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
-
Converts an MCP CallToolResult to an AgentScope ToolResultBlock.
- convertContent(McpSchema.Content) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
-
Converts a single MCP Content to an AgentScope ContentBlock.
- convertContentList(List<McpSchema.Content>) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
-
Converts a list of MCP Content to AgentScope ContentBlocks.
- converter() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Custom result converter for this tool.
- convertMcpSchemaToParameters(McpSchema.JsonSchema, Set<String>) - 类中的静态方法 io.agentscope.core.tool.mcp.McpTool
-
Converts MCP JsonSchema to AgentScope parameters format.
- convertToolResultToString(List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Convert tool result output to string representation.
- convertValue(Object, TypeReference<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- convertValue(Object, TypeReference<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Convert an object to another generic type.
- convertValue(Object, Class<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- convertValue(Object, Class<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Convert an object to another type.
- convertValue(Object, Type) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- convertValue(Object, Type) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Convert an object to another type using Java reflection Type.
- copy() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
- copy() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Creates a deep copy of this tool group, preserving the concrete type for subclasses.
- copy() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a deep copy of this toolkit.
- create() - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
-
Create a client with default configuration.
- create() - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
-
Create a client with default configuration.
- create(WebSocketTransportConfig) - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
-
Create a client with custom configuration.
- create(WebSocketTransportConfig) - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
-
Create a client with custom configuration.
- create(String) - 接口中的方法 io.agentscope.core.model.ModelRegistry.ModelFactory
- create(String) - 接口中的方法 io.agentscope.core.model.spi.ModelProvider
-
Creates a model for the full model id.
- create(String) - 类中的静态方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Creates a new MCP client builder with the specified name.
- create(String, ModelCreationContext) - 接口中的方法 io.agentscope.core.model.ModelRegistry.ContextModelFactory
- create(String, ModelCreationContext) - 接口中的方法 io.agentscope.core.model.spi.ModelProvider
-
Creates a model for the full model id using a provider-neutral context.
- create(HttpClient) - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
-
Create a client with custom HttpClient.
- create(OkHttpClient) - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
-
Create a client with custom OkHttpClient.
- createdAt(String) - 类中的方法 io.agentscope.core.state.Task.Builder
- createFrom(String, Map<String, String>) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from markdown with YAML frontmatter.
- createFrom(String, Map<String, String>, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from markdown with YAML frontmatter and custom source.
- createFromZip(byte[]) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip.
- createFromZip(byte[], String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip with custom source.
- createFromZip(byte[], String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip with custom source and charset.
- createFromZip(InputStream) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip input stream.
- createFromZip(InputStream, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip input stream with custom source.
- createFromZip(InputStream, String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip input stream with custom source and charset.
- createFromZip(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip file path.
- createFromZip(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip file path with custom source.
- createFromZip(Path, String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip file path with custom source and charset.
- createFromZip(Path, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
-
Creates an AgentSkill from a skill package zip file path using the given charset.
- createSkillToolGroup(String, String, boolean, String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a
SkillToolGroupbound to a specific skill. - createToolGroup(String, String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a new tool group (active by default, META scope).
- createToolGroup(String, String, boolean) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a new tool group with specified activation status and default META scope.
- createToolGroup(String, String, boolean, ToolGroupScope) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a new tool group with specified activation status and scope.
- CredentialBase - io.agentscope.core.credential中的类
-
Credential metadata for a model provider.
- CredentialBase(String) - 类的构造器 io.agentscope.core.credential.CredentialBase
- curIter(int) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- currentTimestamp() - 类中的静态方法 io.agentscope.core.message.Msg
-
Returns the current wall-clock timestamp in this class's canonical format.
- CUSTOM - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- CustomEvent - io.agentscope.core.event中的类
-
Generic extensible event for signals that don't fit a specific
AgentEventsubtype. - CustomEvent(String) - 类的构造器 io.agentscope.core.event.CustomEvent
- CustomEvent(String, String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.event.CustomEvent
- CustomEvent(String, Map<String, Object>) - 类的构造器 io.agentscope.core.event.CustomEvent
- customizeSseClient(Consumer<HttpClient.Builder>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Customizes the HTTP client for SSE transport (only applicable after calling sseTransport).
- customizeStreamableHttpClient(Consumer<HttpClient.Builder>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Customizes the HTTP client for StreamableHTTP transport (only applicable after calling streamableHttpTransport).
D
- DANGEROUS_COMMANDS - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
-
Shell command fragments that always require explicit user approval.
- dangerousDirectories - 类中的变量 io.agentscope.core.tool.ToolBase
-
Sensitive directory names; segment-level matching applies to absolute paths.
- dangerousDirectories() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Sensitive directory names whose presence in any path segment marks the path dangerous.
- dangerousDirectories(List<String>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- dangerousFiles - 类中的变量 io.agentscope.core.tool.ToolBase
-
Sensitive files; subclasses may replace this list to widen or narrow protection.
- dangerousFiles() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Sensitive filenames that must require explicit permission for this tool.
- dangerousFiles(List<String>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- DASHSCOPE - 类中的静态变量 io.agentscope.core.model.ModelContextWindows
- data(String) - 类中的方法 io.agentscope.core.message.Base64Source.Builder
-
Sets the Base64-encoded media data.
- DATA_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- DATA_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- DATA_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- DataBlock - io.agentscope.core.message中的类
-
Unified data block for arbitrary binary media (image / audio / video / file).
- DataBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing DataBlock instances.
- DataBlockDeltaEvent - io.agentscope.core.event中的类
- DataBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockDeltaEvent
- DataBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockDeltaEvent
- DataBlockEndEvent - io.agentscope.core.event中的类
- DataBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.DataBlockEndEvent
- DataBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockEndEvent
- DataBlockStartEvent - io.agentscope.core.event中的类
- DataBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.DataBlockStartEvent
- DataBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockStartEvent
- deactivateAllSkills() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Deactivates all skills.
- decisionReason(String) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- DeepSeekCredential - io.agentscope.core.credential中的类
-
Credential for the DeepSeek API.
- DeepSeekCredential.Builder - io.agentscope.core.credential中的类
- DEFAULT - 枚举类 中的枚举常量 io.agentscope.core.model.CachePolicy
-
Preserve registry defaults.
- DEFAULT - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
- DEFAULT - 记录类中的静态变量 io.agentscope.core.shutdown.GracefulShutdownConfig
-
Default configuration instance.
- DEFAULT_AGENT_SKILL_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
- DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.credential.DeepSeekCredential
- DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.credential.KimiCredential
- DEFAULT_CODE_EXECUTION_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
- DEFAULT_CONNECT_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
-
Default connect timeout: 30 seconds.
- DEFAULT_CONNECT_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Default connect timeout: 30 seconds.
- DEFAULT_DANGEROUS_DIRECTORIES - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
-
Directory names whose presence anywhere in a path marks it sensitive.
- DEFAULT_DANGEROUS_FILES - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
-
Sensitive files that should never be auto-edited.
- DEFAULT_MAX_ITERS - 记录类中的静态变量 io.agentscope.core.agent.config.ReactConfig
- DEFAULT_MAX_RETRIES - 记录类中的静态变量 io.agentscope.core.agent.config.ModelConfig
- DEFAULT_MESSAGE - 异常错误类中的静态变量 io.agentscope.core.shutdown.AgentShuttingDownException
- DEFAULT_PER_SKILL_CODE_EXECUTION_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
-
Code-execution instruction used when every visible skill carries its own
<files-root>(e.g. - DEFAULT_PING_INTERVAL - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Default ping interval: 30 seconds.
- DEFAULT_READ_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
-
Default read timeout: 5 minutes (for long-running model calls).
- DEFAULT_READ_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Default read timeout: 0 (no timeout for WebSocket).
- DEFAULT_STOP_ON_REJECT - 记录类中的静态变量 io.agentscope.core.agent.config.ReactConfig
- DEFAULT_WRITE_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
-
Default write timeout: 30 seconds.
- DEFAULT_WRITE_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Default write timeout: 30 seconds.
- defaultConfig() - 类中的静态方法 io.agentscope.core.tool.ToolkitConfig
-
Get the default configuration (sequential execution using Reactor).
- defaultContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
已过时。Use
RuntimeContextinstead. - defaults() - 记录类中的静态方法 io.agentscope.core.agent.config.ModelConfig
-
Returns a config initialised to all default values (no fallback model).
- defaults() - 记录类中的静态方法 io.agentscope.core.agent.config.ReactConfig
-
Returns a config initialised to all default values.
- defaults() - 类中的静态方法 io.agentscope.core.agent.StreamOptions
-
Default options: All event types, incremental mode, include both reasoning chunk and reasoning result.
- defaults() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Create a default configuration.
- defaults() - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Create a default configuration.
- defaults() - 类中的静态方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Creates a default configuration.
- defaultSessionId(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the builder-time fallback
sessionIdused to persistagent_statewhen a call does not supply asessionIdon itsRuntimeContext. - DefaultToolResultConverter - io.agentscope.core.tool中的类
-
Default implementation of ToolResultConverter.
- DefaultToolResultConverter() - 类的构造器 io.agentscope.core.tool.DefaultToolResultConverter
- delete(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Deletes a skill by its skill name.
- delete(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- delete(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- delete(String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Delete a session and all its data.
- delete(String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- delete(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- delete(String, String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Delete a single state entry within a session.
- delete(String, String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- delete(String, String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- deleteDirectory(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Recursively deletes a directory and all its contents.
- deleteMessage(int) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- deleteMessage(int) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Deletes a message at the specified index.
- deleteMessage(int) - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Deletes a message at the specified index.
- deleteMessage(int) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- deleteSkill(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Deletes a skill by name based on SKILL.md metadata.
- DENIED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
- deny(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
- DENY - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
- depth() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回
depth记录组件的值。 - depth(int) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- description() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
The description of the tool that explains its purpose and usage.
- description() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
-
The description of this parameter.
- description(String) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Set the agent description.
- description(String) - 类中的方法 io.agentscope.core.formatter.JsonSchema.Builder
- description(String) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Sets the tool description.
- description(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
- description(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Sets the skill description.
- description(String) - 类中的方法 io.agentscope.core.state.Task.Builder
- description(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Sets the base description of the tool group.
- description(String) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Sets the tool description.
- description(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- description(String) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Sets the description of the tool group.
- determineAudioFormat(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Determine audio format string from file extension.
- determineMediaType(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Determine MIME type from file extension.
- disable(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
Overlay: explicitly disable these skills (others unchanged).
- DISABLED - 枚举类 中的枚举常量 io.agentscope.core.model.CachePolicy
-
Never cache the created model.
- disableTools(List<String>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the list of tools to disable from the MCP client.
- disableTools(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the list of tools to disable from the MCP client.
- disableTracingHook() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
-
已过时。Disables the global Reactor hook for tracing context propagation.
- DISCARD - 枚举类 中的枚举常量 io.agentscope.core.shutdown.PartialReasoningPolicy
- displayName() - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
返回
displayName记录组件的值。 - doCall(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Internal implementation for processing multiple input messages.
- doCall(List<Msg>) - 类中的方法 io.agentscope.core.ReActAgent
- doCall(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Internal implementation for processing multiple messages with structured output.
- doCall(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.ReActAgent
- doCall(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Internal implementation for processing multiple messages with structured output.
- doCall(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.ReActAgent
- docId(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Sets the document ID.
- Document - io.agentscope.core.rag.model中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- Document(DocumentMetadata) - 类的构造器 io.agentscope.core.rag.model.Document
-
已过时。Creates a new Document instance.
- DocumentMetadata - io.agentscope.core.rag.model中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- DocumentMetadata(ContentBlock, String, String) - 类的构造器 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Creates a new DocumentMetadata instance without custom payload.
- DocumentMetadata(ContentBlock, String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Creates a new DocumentMetadata instance with custom payload.
- DocumentMetadata.Builder - io.agentscope.core.rag.model中的类
-
已过时。Builder for constructing DocumentMetadata instances with fluent API.
- doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
- DONT_ASK - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
- doObserve(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Observe a message without generating a reply.
- doObserve(Msg) - 类中的方法 io.agentscope.core.ReActAgent
- doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.ChatModelBase
-
Internal implementation for streaming chat completion responses.
- downloadUrlToBase64(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Download a remote URL and convert to base64.
- DynamicSkillMiddleware - io.agentscope.core.skill中的类
-
Dynamically composes skills from an ordered list of
repositorieson everycall()viaDynamicSkillMiddleware.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. - DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
- DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit, SkillFilter) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
- DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit, SkillFilter, boolean, Path) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
-
Full constructor.
- dynamicSkillsEnabled(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Toggles automatic installation of
DynamicSkillMiddleware.
E
- emit(Event) - 接口中的方法 io.agentscope.core.agent.SubagentEventBus
-
Emits a subagent event into the parent stream.
- emit(AgentEvent) - 接口中的方法 io.agentscope.core.event.AgentEventEmitter
-
Emits an
AgentEventinto the parent'sstreamEvents()stream. - emit(ToolResultBlock) - 类中的方法 io.agentscope.core.tool.NoOpToolEmitter
-
Silently discards the emitted chunk without performing any action.
- emit(ToolResultBlock) - 接口中的方法 io.agentscope.core.tool.ToolEmitter
-
Emit a streaming response chunk during tool execution.
- emitter(ToolEmitter) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Sets the ToolEmitter for streaming tool output.
- empty() - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
-
Shallow, mutable empty context (null session fields, empty attribute maps, no tool context).
- empty() - 类中的静态方法 io.agentscope.core.model.ModelCreationContext
- empty() - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Creates an empty context.
- enable(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
Overlay: explicitly enable these skills (others unchanged).
- ENABLED - 枚举类 中的枚举常量 io.agentscope.core.model.CachePolicy
-
Cache the created model using an explicit or safely derived context cache identity.
- enabledEvents(Set<HookEventType>) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Enables exactly these event types (chunk and summary helpers still apply).
- enableMetaTool(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Enables or disables the meta-tool functionality.
- enablePendingToolRecovery(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Enables or disables automatic recovery from orphaned pending tool calls.
- enableTaskList() - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Enables the built-in task-list capability (
todo_writetool + per-turn reminder). - enableTaskList(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Enables or disables the built-in task-list capability.
- enableThinking(Boolean) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- enableTools(List<String>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the list of tools to enable from the MCP client.
- enableTools(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the list of tools to enable from the MCP client.
- enableTracingHook() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
-
已过时。Enables the global Reactor hook for tracing context propagation.
- endpointPath(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the endpoint path for the API request.
- endpointPath(String) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- ensureAcceptingRequests() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- ensureDefaultExecutionConfig(GenerateOptions) - 类中的静态方法 io.agentscope.core.model.ModelUtils
-
Ensures GenerateOptions has MODEL_DEFAULTS for executionConfig applied.
- entries() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
-
Returns the metadata entries as an unmodifiable map.
- equals(Object) - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ActingInput
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.middleware.AgentInput
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
- equals(Object) - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.permission.PermissionContextState
- equals(Object) - 类中的方法 io.agentscope.core.permission.PermissionDecision
- equals(Object) - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.state.AgentState
- equals(Object) - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.state.PlanModeContextState
- equals(Object) - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.state.Task
- equals(Object) - 类中的方法 io.agentscope.core.state.TaskContextState
- equals(Object) - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
-
指示某个其他对象是否“等于”此对象。
- equals(Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。
- error(String) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create an error result (for tool method return values).
- ERROR - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。When an error occurs
- ERROR - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
- ErrorEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - ErrorEvent(Agent, Throwable) - 类的构造器 io.agentscope.core.hook.ErrorEvent
-
已过时。Constructor for ErrorEvent.
- Event - io.agentscope.core.agent中的类
-
已过时。since 2.0.0. This is the v1 coarse-grained event type, kept as the return type of the deprecated
stream(...)API and as the wire format consumed by the harness, AGUI, A2A, chat-completions-web, and Kotlin extension modules. New code should useio.agentscope.core.event.AgentEventviaReActAgent#streamEvents(...), which exposes the fine-grained event hierarchy (28 typed events covering the full agent lifecycle and HITL flow). The class will be markedforRemoval = trueonce the dependent internal modules migrate toAgentEvent. - Event(EventType, Msg, boolean) - 类的构造器 io.agentscope.core.agent.Event
-
已过时。Creates a new event (top-level agent — no source).
- Event(EventType, Msg, boolean, EventSource) - 类的构造器 io.agentscope.core.agent.Event
-
已过时。Creates a new event with optional source.
- EventSource - io.agentscope.core.agent中的类
-
已过时。since 2.0.0. Used only by the v1
Eventstream to attribute events to a spawned subagent. A subagent-source channel for the newio.agentscope.core.event.AgentEventstream is on the v2 roadmap; once it lands,EventSourcewill be markedforRemoval = true. - EventSource.Builder - io.agentscope.core.agent中的类
-
已过时。Builder for
EventSource. - EventType - io.agentscope.core.agent中的枚举类
-
已过时。since 2.0.0. The v1 coarse-grained event discriminator. New code should use
io.agentscope.core.event.AgentEventType(and the typedAgentEventsubclasses) exposed byReActAgent#streamEvents(...). - eventTypes(EventType...) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Set which event types to stream.
- EXCEED_MAX_ITERS - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- ExceedMaxItersEvent - io.agentscope.core.event中的类
-
Emitted when the agent's ReAct loop exceeds the configured maximum iterations.
- ExceedMaxItersEvent(String, int, int) - 类的构造器 io.agentscope.core.event.ExceedMaxItersEvent
- ExceedMaxItersEvent(String, String, String, int, int) - 类的构造器 io.agentscope.core.event.ExceedMaxItersEvent
- except(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
Blacklist: all skills except the named ones are allowed.
- ExceptionUtils - io.agentscope.core.util中的类
-
Utility methods for exception handling.
- execute(HttpRequest) - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
-
Execute a synchronous HTTP request.
- execute(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
- execute(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
- executeShellCommand(String, Integer) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Execute a shell command and return the return code, standard output, and standard error within tags.
- executeShellCommand(String, Integer, Charset) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Execute a shell command and return the return code, standard output, and standard error within tags.
- executionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the execution configuration for timeout and retry behavior.
- executionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
Set the execution configuration for timeout and retry behavior.
- ExecutionConfig - io.agentscope.core.model中的类
-
Unified execution configuration for timeout and retry behavior.
- ExecutionConfig.Builder - io.agentscope.core.model中的类
-
Builder for ExecutionConfig.
- executorService(ExecutorService) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
Set a custom executor service for tool execution.
- exists(String) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Checks if a skill exists.
- exists(String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Check if a session exists.
- exists(String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- exists(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- EXPLORE - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
- extendedModel(ExtendedModel) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the extended model for dynamic schema extension.
- extendedModel(ExtendedModel) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the extended model for dynamic schema extension.
- ExtendedModel - io.agentscope.core.tool中的接口
-
Interface for extended model that adds properties to tool parameters.
- EXTERNAL - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolGroupScope
-
The group is managed externally by developer code.
- EXTERNAL_EXECUTION_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- ExternalExecutionResultEvent - io.agentscope.core.event中的类
-
Emitted after externally-executed tool results are provided back to the agent.
- ExternalExecutionResultEvent(String, String, String, List<ToolResultBlock>) - 类的构造器 io.agentscope.core.event.ExternalExecutionResultEvent
- ExternalExecutionResultEvent(String, List<ToolResultBlock>) - 类的构造器 io.agentscope.core.event.ExternalExecutionResultEvent
- externalTool() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Whether the tool is executed outside the framework.
- externalTool(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- extractExecutable(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
-
Extract the executable name from a command string.
- extractExecutable(String) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
- extractExecutable(String) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
- extractTextContent(ContentBlock) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Extract text content from a single ContentBlock.
- extractTextContent(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Extract text content from a message, filtering out ThinkingBlock.
F
- failFast(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。If enabled, exporter errors fail the agent execution (default: false, best-effort).
- fallbackModel() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
-
返回
fallbackModel记录组件的值。 - fallbackModel(Model) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the fallback model invoked after the primary model exhausts its retry budget.
- fallbackModel(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Convenience overload that resolves
modelIdviaModelRegistry.resolve(String)(named registration orprovider:modelpattern likeopenai:gpt-5.5,dashscope:qwen-max). - filePath() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回
filePath记录组件的值。 - FileSystemSkillRepository - io.agentscope.core.skill.repository中的类
-
File system based implementation of AgentSkillRepository.
- FileSystemSkillRepository(Path) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
- FileSystemSkillRepository(Path, boolean) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
-
Creates a FileSystemSkillRepository with the specified base directory.
- FileSystemSkillRepository(Path, boolean, String) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
-
Creates a FileSystemSkillRepository with the specified base directory and source.
- FileSystemSkillRepository(Path, boolean, String, boolean) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
-
Creates a FileSystemSkillRepository with explicit lazy mode.
- fileToBase64(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a local file to base64 encoded string.
- FileToolUtils - io.agentscope.core.tool.file中的类
-
Utility methods shared by text file tools.
- filterVisible(List<AgentSkill>, RuntimeContext) - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
-
Hook for subclasses to drop skills that should not be visible in the current request (canary releases, allow-lists, environment gates, …).
- findSkillToolGroupsByActivateOnSkill(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Find all
SkillToolGroupinstances whoseactivateOnSkillmatches the given skill name. - FINISHED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
- finishReason(String) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Sets the finish reason for the response.
- fire(T) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- fireActingChunk(ToolUseBlock, ToolResultBlock, Toolkit) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePostActing(ToolUseBlock, ToolResultBlock, Toolkit, Msg) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePostReasoning(Msg, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePostSummary(Msg, GenerateOptions, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePreActing(List<ToolUseBlock>, Toolkit) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePreReasoning(List<Msg>, Msg, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- firePreSummary(List<Msg>, GenerateOptions, String, int, Msg) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- fireReasoningChunk(Msg, ReasoningContext, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- fireSummaryChunk(Msg, ReasoningContext, GenerateOptions, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- flushEveryLine(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Flushes after each JSONL line (default: true).
- format(List<Msg>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Format AgentScope messages to provider-specific request format.
- format(List<Msg>) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Format AgentScope messages to provider-specific request format.
- formatRoleLabel(MsgRole) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Format role label for conversation history.
- Formatter<TReq,
TResp, - io.agentscope.core.formatter中的接口TParams> -
Formatter interface for converting between AgentScope and provider-specific formats.
- FormatterException - io.agentscope.core.formatter中的异常错误类
-
Exception thrown when formatter encounters an error during message formatting or response parsing.
- FormatterException(String) - 异常错误类的构造器 io.agentscope.core.formatter.FormatterException
-
Constructs a new FormatterException with the specified detail message.
- FormatterException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.formatter.FormatterException
-
Constructs a new FormatterException with the specified detail message and cause.
- forwardEvents(boolean) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Sets whether to forward sub-agent events to the parent agent.
- FORWARDING_CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.event.AgentEventEmitter
-
Reactor Context key for a forwarding emitter injected by a parent tool (e.g.
- fps(Float) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the frames per second (FPS) of the video.
- frequencyPenalty(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the frequency penalty.
- from(RuntimeContext) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- fromAgent(ReActAgent) - 类中的静态方法 io.agentscope.core.ReActAgent.Builder
-
Returns a new
ReActAgent.Builderpre-populated with the given agent's observable configuration: name, description, system prompt, model, maxIters, generateOptions, and a defensive copy of the toolkit. - fromContext(ContextView) - 接口中的静态方法 io.agentscope.core.agent.SubagentEventBus
-
Retrieves the
SubagentEventBusfrom the Reactor Context, if present. - fromContext(ContextView) - 接口中的静态方法 io.agentscope.core.event.AgentEventEmitter
-
Retrieves the
AgentEventEmitterfrom the Reactor Context, if present. - fromForwardingContext(ContextView) - 接口中的静态方法 io.agentscope.core.event.AgentEventEmitter
-
Retrieves the forwarding
AgentEventEmitterfrom the Reactor Context, if present. - fromJson(String, TypeReference<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- fromJson(String, TypeReference<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Deserialize a JSON string to an object with generic type.
- fromJson(String, Class<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- fromJson(String, Class<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Deserialize a JSON string to an object of the specified type.
- fromJsonString(String) - 类中的静态方法 io.agentscope.core.state.AgentState
-
Deserialize an
AgentStatefrom a JSON string produced byAgentState.toJson(). - fromString(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
-
Resolves a string (case-insensitive) to a
PermissionBehavior. - fromString(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
-
Resolves a string (case-insensitive) to a
PermissionMode. - fromValue(String) - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
-
Resolve an enum value from its canonical string or any legacy alias.
- fromWire(String) - 枚举类中的静态方法 io.agentscope.core.state.Task.State
G
- GEMINI - 类中的静态变量 io.agentscope.core.model.ModelContextWindows
- generate(Map<String, Object>, String) - 类中的静态方法 io.agentscope.core.skill.util.MarkdownSkillParser
-
Generate markdown content with YAML frontmatter.
- generateId() - 类中的静态方法 io.agentscope.core.message.Msg
-
Generates a random UUID string for use as a message ID.
- generateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the generation options for model API calls.
- GenerateOptions - io.agentscope.core.model中的类
-
Immutable generation options for LLM models.
- GenerateOptions.Builder - io.agentscope.core.model中的类
- generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.Msg.Builder
- generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- GenerateReason - io.agentscope.core.message中的枚举类
-
Represents the reason why a message was generated by an agent.
- generateSuggestions(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase
-
Default suggestion: a single tool-name-level
PermissionBehavior.ALLOWrule sourced from"suggested". - GENERIC - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
-
已过时。Generic mode: Knowledge is automatically retrieved and injected before each reasoning step via Hook.
- GenericRAGHook - io.agentscope.core.rag中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- GenericRAGHook(Knowledge) - 类的构造器 io.agentscope.core.rag.GenericRAGHook
-
已过时。Creates a GenericRAGHook with default configuration.
- GenericRAGHook(Knowledge, RetrieveConfig) - 类的构造器 io.agentscope.core.rag.GenericRAGHook
-
已过时。Creates a GenericRAGHook with custom configuration.
- get() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
-
已过时。
- get(Class<T>) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- get(Class<T>) - 接口中的方法 io.agentscope.core.tool.ContextStore
-
已过时。Retrieves an object by type only (without key).
- get(Class<T>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Retrieves an object by type only (for singleton scenarios).
- get(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- get(String, Class<T>) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- get(String, Class<T>) - 接口中的方法 io.agentscope.core.tool.ContextStore
-
已过时。Retrieves an object by key and type.
- get(String, Class<T>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Retrieves an object by key and type (for multi-instance scenarios).
- get(String, String, String, Class<T>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Get a single state value.
- get(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- get(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- getAccumulated() - 类中的方法 io.agentscope.core.hook.ReasoningChunkEvent
-
已过时。Get the full accumulated message containing all content generated so far.
- getAccumulated() - 类中的方法 io.agentscope.core.hook.SummaryChunkEvent
-
已过时。Get the full accumulated message containing all content generated so far.
- getActivatedGroups() - 类中的方法 io.agentscope.core.state.ToolContextState
- getActivateOnSkill() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
-
Returns the name of the skill that this tool group is bound to.
- getActiveGroups() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Get active tool group names.
- getActiveRequestCount() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- getAdditionalBodyParams() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the additional parameters to include in the request body.
- getAdditionalHeaders() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the additional HTTP headers to include in API requests.
- getAdditionalProperties() - 接口中的方法 io.agentscope.core.tool.ExtendedModel
-
Get the additional properties to merge into base schema.
- getAdditionalProperties() - 类中的方法 io.agentscope.core.tool.SimpleExtendedModel
- getAdditionalQueryParams() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the additional query parameters to include in API requests.
- getAdditionalRequired() - 接口中的方法 io.agentscope.core.tool.ExtendedModel
-
Get the additional required fields.
- getAdditionalRequired() - 类中的方法 io.agentscope.core.tool.SimpleExtendedModel
- getAgent() - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Get the agent instance.
- getAgent() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
Gets the agent making the call.
- getAgentId() - 接口中的方法 io.agentscope.core.agent.Agent
-
Get the unique identifier for this agent.
- getAgentId() - 类中的方法 io.agentscope.core.agent.AgentBase
- getAgentId() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getAgentId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
- getAgentKey() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getAgentName() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getAgentState() - 接口中的方法 io.agentscope.core.agent.Agent
-
Returns the agent's runtime
AgentState, ornullif this agent type does not maintain one. - getAgentState() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Returns the agent's mutable runtime state, or
nullif this agent type does not maintain anAgentState. - getAgentState() - 类中的方法 io.agentscope.core.agent.RuntimeContext
- getAgentState() - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
ReActAgent.getAgentState(RuntimeContext)orReActAgent.getAgentState(String, String)with explicit session identity. This method delegates to the default session slot. - getAgentState(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the
AgentStatefor the session identified by the givenRuntimeContext. - getAgentState(String, String) - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the
AgentStatefor the given(userId, sessionId)slot, loading it from the configuredAgentStateStoreon first access and caching it for subsequent calls within this JVM. - getAllowedCommands() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Get an unmodifiable view of the allowed commands.
- getAllowRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- getAllowRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Read-only view of the engine's current allow-rule table.
- getAllSkillIds() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets all skill IDs.
- getAllSkillNames() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Lists all available skill IDs in the repository.
- getAllSkillNames() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Gets all skill names available in the repository.
- getAllSkillNames() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- getAllSkillNames(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Retrieves all skill names by parsing SKILL.md metadata in each skill folder.
- getAllSkills() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Gets all skills from the repository.
- getAllSkills() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Gets all skills available in the repository.
- getAllSkills() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- getAllSkills(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Retrieves all skills from the base directory with resources pre-loaded into memory.
- getAllSkills(Path, String, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Retrieves all skills from the base directory.
- getApiKey() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
- getApiKey() - 类中的方法 io.agentscope.core.credential.KimiCredential
- getApiKey() - 类中的方法 io.agentscope.core.credential.XAICredential
- getApiKey() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the API key for authentication.
- getApiKey() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
API key or token to pass to a provider.
- getApprovalCallback() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Get the approval callback function.
- getAskRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- getAskRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Read-only view of the engine's current ask-rule table.
- getBackoffMultiplier() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the backoff multiplier.
- getBaseDir() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Get the base directory for command execution.
- getBaseUrl() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
- getBaseUrl() - 类中的方法 io.agentscope.core.credential.KimiCredential
- getBaseUrl() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the base URL for the API endpoint.
- getBaseUrl() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Provider base URL override, for self-hosted or compatible API endpoints.
- getBehavior() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- getBlockedBy() - 类中的方法 io.agentscope.core.state.Task
- getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.HintBlockEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
- getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
- getBlocks() - 类中的方法 io.agentscope.core.state.Task
- getBlocksInput() - 类中的方法 io.agentscope.core.agent.user.UserInputData
-
已过时。Gets the content blocks representing the user input.
- getBody() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
-
Get the request body.
- getBody() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
-
Get the response body.
- getCache(String) - 类中的方法 io.agentscope.core.state.ToolContextState
-
Look up the cached entry for
filePath. - getCacheControl() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets whether cache control is enabled for prompt caching.
- getCachedTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
-
Gets the number of input tokens served from the prompt cache.
- getCachedTool(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Gets a cached tool definition by name.
- getCacheId() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Explicit cache identity used when
ModelCreationContext.getCachePolicy()isCachePolicy.ENABLED. - getCachePolicy() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Cache policy for
ModelRegistry.resolve(String, ModelCreationContext). - getCauses() - 异常错误类中的方法 io.agentscope.core.exception.CompositeAgentException
- getCharset() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Get the charset used for decoding command output streams.
- getChatModelClass() - 类中的方法 io.agentscope.core.credential.CredentialBase
-
The
ChatModelBasesubclass that consumes this credential. - getChatModelClass() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
- getChatModelClass() - 类中的方法 io.agentscope.core.credential.KimiCredential
- getChatModelClass() - 类中的方法 io.agentscope.core.credential.XAICredential
- getChatUsage() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the chat usage statistics from this message's metadata.
- getChunk() - 类中的方法 io.agentscope.core.hook.ActingChunkEvent
-
已过时。Get the streaming chunk from ToolEmitter.
- getChunkId() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets the chunk ID.
- getClient() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
-
Get the underlying OkHttpClient instance.
- getClientName() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
-
Gets the name of the MCP client that provides this tool.
- getCloseInfo() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
- getCloseInfo() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
- getCloseInfo() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
-
Get close information (if closed).
- getCodeExecutionWorkDir() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets the working directory for code execution.
- getCommandValidator() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Get the command validator.
- getComponentCount() - 类中的方法 io.agentscope.core.state.SessionInfo
-
Get the number of state components stored in this session.
- getComponents() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Provider-specific component objects keyed by type.
- getConfig() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
-
Get the transport configuration.
- getConfig() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- getConfirmResults() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
- getConnectionState() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
-
Get the connection state.
- getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the connect timeout.
- getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
-
Get the connection timeout.
- getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get the connect timeout.
- getContent() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the immutable list of content blocks in this message.
- getContent() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the raw content for streaming tool calls.
- getContent() - 类中的方法 io.agentscope.core.model.ChatResponse
-
Gets the content blocks containing the response content.
- getContent() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets the content block.
- getContent() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
-
Get the markdown content (without frontmatter).
- getContent() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
- getContentBlocks(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
-
Get all content blocks of the specified type (type-safe).
- getContentText() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets the text content from the content block.
- getContext() - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Returns the underlying context (mode and working directories are read from it).
- getContext() - 类中的方法 io.agentscope.core.state.AgentState
-
Defensive copy of the conversation buffer.
- getContext() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
已过时。Use
ToolCallParam.getRuntimeContext()instead. - getContextWindowSize() - 类中的方法 io.agentscope.core.model.ChatModelBase
- getContextWindowSize() - 接口中的方法 io.agentscope.core.model.Model
-
Returns the model's context window size in tokens, or
0if unknown. - getConversationHistory() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Gets the conversation history for context-aware retrieval.
- getCreatedAt() - 类中的方法 io.agentscope.core.event.AgentEvent
- getCreatedAt() - 类中的方法 io.agentscope.core.state.Task
- getCurIter() - 类中的方法 io.agentscope.core.state.AgentState
- getCurrentIter() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
- getCurrentIteration() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Get the current iteration count when summary was triggered.
- getCurrentPlanFile() - 类中的方法 io.agentscope.core.state.PlanModeContextState
- getCurrentSkillBox() - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
-
Returns the most recently materialised
SkillBox, ornullwhen no skills are visible yet (e.g. before the firstcall()). - getData() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
- getData() - 类中的方法 io.agentscope.core.message.Base64Source
-
Gets the Base64-encoded media data.
- getDecisionReason() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- getDefault() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Get the default HttpTransport instance.
- getDefaultConfig() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
-
已过时。Gets the default retrieval configuration.
- getDefaultConfig() - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
-
已过时。Gets the default retrieval configuration.
- getDefaultContext() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
已过时。Use
RuntimeContextinstead. - getDefaultSessionId() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the builder-time fallback
sessionId, used when a call'sRuntimeContextcarries nosessionId. - getDelta() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
- getDelta() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
- getDelta() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
- getDelta() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
- getDelta() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
- getDeniedToolCalls() - 类中的方法 io.agentscope.core.event.AllToolsDeniedEvent
-
Returns the tool calls that were denied.
- getDenyRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- getDenyRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
-
Read-only view of the engine's current deny-rule table.
- getDepth() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getDescription() - 接口中的方法 io.agentscope.core.agent.Agent
-
Get the description of this agent.
- getDescription() - 类中的方法 io.agentscope.core.agent.AgentBase
- getDescription() - 类中的方法 io.agentscope.core.formatter.JsonSchema
- getDescription() - 类中的方法 io.agentscope.core.model.ToolSchema
-
Gets the tool description.
- getDescription() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill description.
- getDescription() - 类中的方法 io.agentscope.core.state.Task
- getDescription() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Gets the description of the tool.
- getDescription() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
- getDescription() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
-
Returns the enhanced description that includes a reminder about the skill binding.
- getDescription() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Gets the description override.
- getDescription() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
- getDescription() - 类中的方法 io.agentscope.core.tool.ToolBase
- getDescription() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Gets the description of this tool group.
- getDocId() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets the document ID.
- getEffectiveGenerateOptions() - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
-
已过时。Get the effective generation options.
- getEffectiveGenerateOptions() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Get the effective generation options.
- getEmbedding() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the embedding vector.
- getEmitter() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
Gets the ToolEmitter for streaming tool output.
- getEnableThinking() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Whether provider thinking/reasoning mode should be enabled.
- getEndpointPath() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the endpoint path for the API request.
- getEndpointPath() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Provider endpoint path override, mainly for OpenAI-compatible APIs.
- getError() - 类中的方法 io.agentscope.core.hook.ErrorEvent
-
已过时。Get the error that occurred.
- getErrorMessage(Throwable) - 类中的静态方法 io.agentscope.core.util.ExceptionUtils
-
Extracts the most informative error message from an exception.
- getEventTypes() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Get the set of event types that should be streamed.
- getExecutable() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- getExecutionConfig() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the execution configuration for timeout and retry behavior.
- getExecutionConfig() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
Get the execution configuration for timeout and retry.
- getExecutorService() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
Get the custom executor service if provided.
- getExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Extract file extension from path or URL.
- getExtra() - 类中的方法 io.agentscope.core.agent.RuntimeContext
-
View of string-keyed attributes; mutating the returned map affects this context.
- getFinalMessage() - 类中的方法 io.agentscope.core.hook.PostCallEvent
-
已过时。Get the final response message returned by the agent.
- getFinishReason() - 类中的方法 io.agentscope.core.model.ChatResponse
-
Gets the reason the model stopped generating tokens.
- getFirstContentBlock() - 类中的方法 io.agentscope.core.message.Msg
-
Get the first content block, or null if empty.
- getFirstContentBlock(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
-
Get the first content block of the specified type (type-safe).
- getFps() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the frames per second (FPS) of the video.
- getFrequencyPenalty() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the frequency penalty.
- getGenerateOptions() - 类中的方法 io.agentscope.core.hook.ReasoningEvent
-
已过时。Get the generation options.
- getGenerateOptions() - 类中的方法 io.agentscope.core.hook.SummaryEvent
-
已过时。Get the generation options.
- getGenerateOptions() - 类中的方法 io.agentscope.core.ReActAgent
-
Gets the configured generation options for this agent.
- getGenerateReason() - 类中的方法 io.agentscope.core.event.RequestStopEvent
-
The
GenerateReasonto assign to the returned Msg. - getGenerateReason() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the reason why this message was generated.
- getGotoReasoningMsgs() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Get the messages to add before going back to reasoning.
- getHeaders() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
-
Get the request headers.
- getHeaders() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
-
Get the response headers.
- getHeaders() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
-
Get the request headers.
- getHeaders() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
-
Get the request headers.
- getHint() - 类中的方法 io.agentscope.core.event.HintBlockEvent
- getHint() - 类中的方法 io.agentscope.core.message.HintBlock
-
Gets the hint text.
- getHintSource() - 类中的方法 io.agentscope.core.event.HintBlockEvent
-
Returns the sender or origin of this hint.
- getHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Get the list of hooks for this agent.
- getHost() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the proxy server hostname or IP address.
- getHttpVersion() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the HTTP version.
- getId() - 类中的方法 io.agentscope.core.credential.CredentialBase
- getId() - 类中的方法 io.agentscope.core.event.AgentEvent
- getId() - 类中的方法 io.agentscope.core.message.DataBlock
-
Gets the identifier of this data block.
- getId() - 类中的方法 io.agentscope.core.message.HintBlock
-
Gets the unique identifier of this hint block.
- getId() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the unique identifier of this message.
- getId() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Gets the tool call ID.
- getId() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the unique identifier of this tool call.
- getId() - 类中的方法 io.agentscope.core.model.ChatResponse
-
Gets the unique identifier for this response.
- getId() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the document ID.
- getId() - 类中的方法 io.agentscope.core.state.Task
- getIncrementalChunk() - 类中的方法 io.agentscope.core.hook.ReasoningChunkEvent
-
已过时。Get only the new content generated in this streaming event.
- getIncrementalChunk() - 类中的方法 io.agentscope.core.hook.SummaryChunkEvent
-
已过时。Get only the new content generated in this streaming event.
- getInitialBackoff() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the initial backoff duration.
- getInput() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the input parameters for the tool.
- getInput() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
Gets the input parameters for the tool call.
- getInputMessages() - 类中的方法 io.agentscope.core.hook.PreCallEvent
-
已过时。Get the input messages for the agent call.
- getInputMessages() - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
-
已过时。Get the messages that will be sent to LLM for reasoning.
- getInputMessages() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Get the messages that will be sent to LLM for summary generation.
- getInputTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
-
Gets the number of input tokens used.
- getInstance() - 类中的静态方法 io.agentscope.core.shutdown.GracefulShutdownManager
- getInterruptFlag() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。No-op stub.
- getInterruptSource() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。Returns USER. Per-session interrupt source is on AgentState.interruptControl().
- getJsonCodec() - 类中的静态方法 io.agentscope.core.util.JsonUtils
-
Get the global JsonCodec instance.
- getJsonSchema() - 类中的方法 io.agentscope.core.formatter.ResponseFormat
- getKeepAliveDuration() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the keep-alive duration for idle connections.
- getKnowledgeBase() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
-
已过时。Gets the knowledge base used by this hook.
- getKnowledgeBase() - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
-
已过时。Gets the knowledge base used by this tool.
- getLabel() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
- getLastModified() - 类中的方法 io.agentscope.core.state.SessionInfo
-
Get the last modification timestamp.
- getLimit() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Gets the maximum number of documents to retrieve.
- getList(String, String, String, Class<T>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Get a list of state values.
- getList(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- getList(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- getLocation() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
-
Gets the repository location.
- getLongTermMemory() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。Gets the long-term memory instance used by this hook.
- getManagedTransportCount() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Get the number of managed transports.
- getMaxAttempts() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the maximum number of attempts.
- getMaxBackoff() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the maximum backoff duration.
- getMaxCacheBytes() - 类中的方法 io.agentscope.core.state.ToolContextState
- getMaxCacheFiles() - 类中的方法 io.agentscope.core.state.ToolContextState
- getMaxCompletionTokens() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the maximum number of completion tokens to generate.
- getMaxFrames() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the maximum number of frames to capture from the video.
- getMaxIdleConnections() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the maximum number of idle connections in the pool.
- getMaxIterations() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Get the maximum iterations configured for the agent.
- getMaxIters() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
- getMaxIters() - 类中的方法 io.agentscope.core.ReActAgent
- getMaxPixels() - 类中的方法 io.agentscope.core.message.ImageBlock
-
Gets the maximum pixel threshold for input image.
- getMaxPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the maximum pixel threshold for input video frames.
- getMaxTokens() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the maximum number of tokens to generate.
- getMcpName() - 类中的方法 io.agentscope.core.tool.ToolBase
- getMediaType() - 类中的方法 io.agentscope.core.message.Base64Source
-
Gets the MIME type of the media content.
- getMemory() - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Convenient access to the agent's conversation context wrapped as a read-only
Memoryview. - getMemory() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。Gets the memory instance used by this hook.
- getMessage() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Get the message content.
- getMessage() - 异常错误类中的方法 io.agentscope.core.exception.CompositeAgentException
- getMessage() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Get the detailed error message including response body for better debugging.
- getMessage() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
- getMessage() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- getMessageId() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Get the message ID (delegates to
Msg.getId()). - getMessages() - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- getMessages() - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Retrieves all non-null messages from memory.
- getMessages() - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Retrieves all messages stored in memory.
- getMessages() - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- getMetadata() - 类中的方法 io.agentscope.core.event.AgentEvent
-
Returns optional metadata attached to this event.
- getMetadata() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the metadata associated with this message.
- getMetadata() - 类中的方法 io.agentscope.core.message.ThinkingBlock
-
Gets the metadata associated with this thinking block.
- getMetadata() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Gets the metadata associated with the tool result.
- getMetadata() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the provider-specific metadata.
- getMetadata() - 类中的方法 io.agentscope.core.model.ChatResponse
-
Gets the metadata from the model provider.
- getMetadata() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the document metadata.
- getMetadata() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill metadata.
- getMetadata() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
-
Get the metadata extracted from YAML frontmatter.
- getMetadata() - 类中的方法 io.agentscope.core.state.Task
- getMetadataValue(String) - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets a metadata value by key.
- getMethod() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
-
Get the HTTP method.
- getMiddlewares() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the immutable list of registered middlewares.
- getMimeType() - 类中的方法 io.agentscope.core.message.URLSource
-
Gets the optional MIME type hint for this URL source.
- getMinPixels() - 类中的方法 io.agentscope.core.message.ImageBlock
-
Gets the minimum pixel threshold for input image.
- getMinPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the minimum pixel threshold for input video frames.
- getMode() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- getModel() - 类中的方法 io.agentscope.core.ReActAgent
- getModelConfig() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the model-call configuration (retries, timeouts).
- getModelExecutionConfig() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the per-model-call
ExecutionConfig, ornullif none was set. - getModelName() - 类中的方法 io.agentscope.core.hook.ReasoningEvent
-
已过时。Get the model name.
- getModelName() - 类中的方法 io.agentscope.core.hook.SummaryEvent
-
已过时。Get the model name.
- getModelName() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the model name to use for generation.
- getModelName() - 接口中的方法 io.agentscope.core.model.Model
-
Get model name for logging and identification.
- getModelName() - 异常错误类中的方法 io.agentscope.core.model.ModelException
-
Gets the name of the model that caused the error.
- getName() - 接口中的方法 io.agentscope.core.agent.Agent
-
Get the name of this agent.
- getName() - 类中的方法 io.agentscope.core.agent.AgentBase
- getName() - 类中的方法 io.agentscope.core.event.AgentStartEvent
- getName() - 类中的方法 io.agentscope.core.event.CustomEvent
-
Returns the kind of notification.
- getName() - 类中的方法 io.agentscope.core.formatter.JsonSchema
- getName() - 类中的方法 io.agentscope.core.message.DataBlock
-
Gets the optional name of this data block.
- getName() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the optional name of this message.
- getName() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Gets the tool name.
- getName() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the name of the tool to execute.
- getName() - 类中的方法 io.agentscope.core.model.ToolSchema
-
Gets the tool name.
- getName() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill name.
- getName() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Gets the name of the tool.
- getName() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
- getName() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Gets the unique name of this MCP client.
- getName() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
- getName() - 类中的方法 io.agentscope.core.tool.ToolBase
- getName() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Gets the name of this tool group.
- getNonProxyHosts() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the set of hosts that should bypass the proxy.
- getObjectMapper() - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
-
Get the underlying ObjectMapper for advanced operations.
- getOptionOrDefault(GenerateOptions, GenerateOptions, Function<GenerateOptions, T>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Get an option value from options or fall back to defaultOptions.
- getOptions() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Provider-specific scalar or value options keyed by extension-defined names.
- getOriginDir() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Returns the absolute path to this skill's on-disk source directory, when available.
- getOutput() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Gets the output content blocks.
- getOutputSchema() - 类中的方法 io.agentscope.core.model.ToolSchema
-
Gets the optional tool output schema as a JSON Schema.
- getOutputSchema() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Gets the optional output schema for this tool in JSON Schema format.
- getOutputSchema() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
- getOutputTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
-
Gets the number of output tokens used.
- getOwner() - 类中的方法 io.agentscope.core.state.Task
- getParallelToolCalls() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets whether parallel tool calls are enabled.
- getParameters() - 类中的方法 io.agentscope.core.model.ToolSchema
-
Gets the tool parameters as a JSON Schema.
- getParameters() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Gets the parameters schema for this tool in JSON Schema format.
- getParameters() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
- getParameters() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
- getParameters() - 类中的方法 io.agentscope.core.tool.ToolBase
- getParentSessionId() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getPassword() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the authentication password.
- getPath() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getPayload() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the custom payload from document metadata.
- getPayload() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets the custom payload metadata.
- getPayloadValue(String) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets a specific payload value by key.
- getPayloadValue(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Gets a specific payload value by key.
- getPayloadValueAs(String, Class<T>) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets a specific payload value by key and converts it to the specified type.
- getPendingToolCalls() - 类中的方法 io.agentscope.core.interruption.InterruptContext
-
Get the list of tool calls that were pending when the interruption occurred.
- getPermissionContext() - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
getAgentState(userId, sessionId).getPermissionContext()instead. - getPermissionContext() - 类中的方法 io.agentscope.core.state.AgentState
- getPermissionEngine() - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
getAgentState(userId, sessionId).getPermissionContext()instead. - getPermissionMode(String, String) - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the current
PermissionModefor the given(userId, sessionId)session. - getPingInterval() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get the ping interval for heartbeat (OkHttp only).
- getPlanModeContext() - 类中的方法 io.agentscope.core.state.AgentState
- getPort() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the proxy server port.
- getPresencePenalty() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the presence penalty.
- getPresetArguments() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
-
Gets the preset arguments configured for this tool.
- getPriority() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
- getProvider() - 异常错误类中的方法 io.agentscope.core.model.ModelException
-
Gets the provider of the model that caused the error.
- getProxyConfig() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the proxy configuration.
- getProxyConfig() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get the proxy configuration.
- getReactConfig() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the reasoning-loop configuration (maxIters, stopOnReject).
- getReadFileCache() - 类中的方法 io.agentscope.core.state.ToolContextState
-
Snapshot of the cache list at call time.
- getReadTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the read timeout.
- getReadTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get the read timeout.
- getReason() - 类中的方法 io.agentscope.core.event.RequestStopEvent
-
Human-readable description of why the stop was requested.
- getReason() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- getReason() - 异常错误类中的方法 io.agentscope.core.tool.ToolSuspendException
-
Gets the user-defined reason for suspension.
- getReasoningEffort() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the reasoning effort level for o1 models.
- getReasoningMessage() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Get the reasoning result message from LLM.
- getReplyId() - 类中的方法 io.agentscope.core.event.AgentEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.AgentStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.HintBlockEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ModelCallStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
- getReplyId() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
- getReplyId() - 类中的方法 io.agentscope.core.state.AgentState
- getRepositoryInfo() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Gets metadata about this repository.
- getRepositoryInfo() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- getRepositoryInfo() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- getResource(String) - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the resource content by path.
- getResourcePaths() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets all resource paths for this skill.
- getResources() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill resources.
- getResponseBody() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Get the response body if available.
- getResponseFormat() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the response format for structured output.
- getResult() - 类中的方法 io.agentscope.core.event.AgentResultEvent
- getRetryOn() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the retry predicate.
- getRole() - 类中的方法 io.agentscope.core.event.AgentStartEvent
- getRole() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the role of the message sender.
- getRootDirectory() - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
-
Returns the configured root directory (for diagnostics).
- getRules() - 类中的方法 io.agentscope.core.event.ConfirmResult
-
New permission rules to register with the engine when
ConfirmResult.confirmedis true. - getRuntimeContext() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Returns the current per-call
RuntimeContext, ornullwhen the agent keeps no per-call scope. - getRuntimeContext() - 类中的方法 io.agentscope.core.ReActAgent
- getRuntimeContext() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
Gets the runtime context for this tool call.
- getSchema() - 类中的方法 io.agentscope.core.formatter.JsonSchema
- getScope() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Gets the scope of this tool group.
- getScore() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the similarity score.
- getScoreThreshold() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Gets the minimum similarity score threshold.
- getSeed() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the random seed for deterministic generation.
- getSessionCount() - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
-
Total number of
(userId, sessionId)slots currently stored. - getSessionDir(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
-
Returns the directory under which all state files for
(userId, sessionId)live. - getSessionId() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getSessionId() - 类中的方法 io.agentscope.core.agent.RuntimeContext
- getSessionId() - 类中的方法 io.agentscope.core.event.AgentStartEvent
- getSessionId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
- getSessionId() - 类中的方法 io.agentscope.core.state.AgentState
- getSessionId() - 类中的方法 io.agentscope.core.state.SessionInfo
-
Get the unique identifier for this session.
- getShutdownTimeoutSignal() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Returns a
Monothat completes when the shutdown timeout is reached. - getSize() - 类中的方法 io.agentscope.core.state.SessionInfo
-
Get the size of the session storage.
- getSkill(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Gets a skill by its name.
- getSkill(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Gets a skill by name.
- getSkill(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- getSkill(String) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets a skill by ID (latest version).
- getSkillContent() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill content.
- getSkillId() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets a unique identifier for this skill.
- getSkillPrompt() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets the skill system prompt for registered skills.
- getSkillPrompt(SkillFilter) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets the skill system prompt filtered by the given
SkillFilter. - getSkillPromptProvider() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Exposes the skill prompt provider so callers (e.g.
- getSkillSystemPrompt() - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Gets the skill system prompt for the agent with all skills included.
- getSkillSystemPrompt(SkillFilter) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Gets the skill system prompt filtered by the given
SkillFilter. - getSocketAddress() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the socket address for this proxy.
- getSortedHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Get hooks sorted by priority (lower value = higher priority).
- getSource() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Returns the originating subagent descriptor, or
nullif this event was emitted by the top-level agent. - getSource() - 类中的方法 io.agentscope.core.event.AgentEvent
-
Returns the source path identifying the originating agent.
- getSource() - 类中的方法 io.agentscope.core.interruption.InterruptContext
-
Get the source of the interruption.
- getSource() - 类中的方法 io.agentscope.core.interruption.InterruptControl
- getSource() - 类中的方法 io.agentscope.core.message.AudioBlock
-
Gets the source of this audio content.
- getSource() - 类中的方法 io.agentscope.core.message.DataBlock
-
Gets the source of this data block.
- getSource() - 类中的方法 io.agentscope.core.message.HintBlock
-
Returns the sender or origin of this hint.
- getSource() - 类中的方法 io.agentscope.core.message.ImageBlock
-
Gets the source of this image.
- getSource() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the source of this video content.
- getSource() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Gets the skill source identifier.
- getSource() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Gets the source identifier of this repository.
- getSource() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- getSource() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- getSpawnRegistry() - 类中的方法 io.agentscope.core.state.ToolContextState
- getState() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
- getState() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Gets the tool result state.
- getState() - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Gets the tool call state.
- getState() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- getState() - 类中的方法 io.agentscope.core.state.Task
- getStateStore() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the
AgentStateStoreconfigured for state persistence, ornull. - getStateStore() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Gets the session for conversation state management.
- getStatus() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
- getStatusCode() - 接口中的方法 io.agentscope.core.model.ModelHttpException
-
Returns the HTTP status code associated with the model failure.
- getStatusCode() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
-
Get the HTTP status code.
- getStatusCode() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Get the HTTP status code if available.
- getStores() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Gets all stores in priority order.
- getStream() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets whether streaming mode is enabled.
- getStream() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Whether the created model should use streaming by default.
- getStreamOptions() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Gets the stream options for event forwarding.
- getStrict() - 类中的方法 io.agentscope.core.formatter.JsonSchema
- getStrict() - 类中的方法 io.agentscope.core.model.ToolSchema
-
Gets the strict mode flag for schema validation.
- getStrict() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Gets strict mode configuration for this tool schema.
- getStrict() - 类中的方法 io.agentscope.core.tool.SchemaOnlyTool
- getStructuredData(boolean) - 类中的方法 io.agentscope.core.message.Msg
-
Extract structured data from message metadata and convert it to the java.util.Map.
- getStructuredData(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
-
Extract structured data from message metadata and convert it to the specified type.
- getStructuredInput() - 类中的方法 io.agentscope.core.agent.user.UserInputData
-
已过时。Gets the structured input data as a key-value map.
- getSubagentId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
- getSubject() - 类中的方法 io.agentscope.core.state.Task
- getSubscriberCount() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Get the total number of subscribers across all MsgHubs.
- getSuggestedRules() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- getSummary() - 类中的方法 io.agentscope.core.state.AgentState
- getSummaryMessage() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
-
已过时。Get the summary result message.
- getSysPrompt() - 类中的方法 io.agentscope.core.ReActAgent
- getSystemMessage() - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Returns the current unified system message, or
nullif none has been set. - getSystemPrompt() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the system prompt (alias for
ReActAgent.getSysPrompt()). - getTaskId() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- getTasks() - 类中的方法 io.agentscope.core.state.TaskContextState
- getTasksContext() - 类中的方法 io.agentscope.core.state.AgentState
- getTemperature() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the temperature for text generation.
- getText() - 类中的方法 io.agentscope.core.message.TextBlock
-
Gets the text content of this block.
- getTextContent() - 类中的方法 io.agentscope.core.message.Msg
-
Extracts plain text content from this message.
- getThinking() - 类中的方法 io.agentscope.core.message.ThinkingBlock
-
Gets the thinking/reasoning content of this block.
- getThinkingBudget() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the maximum number of tokens for reasoning/thinking content.
- getTime() - 类中的方法 io.agentscope.core.model.ChatUsage
-
Gets the execution time.
- getTimeout() - 类中的方法 io.agentscope.core.model.ExecutionConfig
-
Gets the timeout duration.
- getTimestamp() - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Get the timestamp when event was created.
- getTimestamp() - 类中的方法 io.agentscope.core.interruption.InterruptContext
-
Get the timestamp when the interruption occurred.
- getTimestamp() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the timestamp of this message.
- getTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Retrieves a tool by its name.
- getToolCall() - 类中的方法 io.agentscope.core.event.ConfirmResult
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
- getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
- getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
- getToolCalls() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
- getToolCalls() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
- getToolChoice() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the tool choice configuration for controlling how the model uses tools.
- getToolContext() - 类中的方法 io.agentscope.core.state.AgentState
- getToolExecutionConfig() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the per-tool-call
ExecutionConfig, ornullif none was set. - getToolExecutionContext() - 类中的方法 io.agentscope.core.agent.RuntimeContext
-
Returns the tool execution context provided at build time, if any.
- getToolExecutionContext() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns the
ToolExecutionContextbound at build time, ornullif none. - getToolGroup(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Get a tool group by name.
- getToolkit() - 接口中的方法 io.agentscope.core.agent.Agent
-
Returns the agent's live
Toolkit, ornullif this agent type does not maintain one. - getToolkit() - 类中的方法 io.agentscope.core.hook.ActingEvent
-
已过时。Get the toolkit instance.
- getToolkit() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns this agent's toolkit (a per-instance deep copy made at build time).
- getToolName() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Gets the tool name override.
- getToolNames() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Gets the names of all registered tools.
- getToolResult() - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Get the tool execution result.
- getToolResultMsg() - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Get the tool result message.
- getToolResults() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
- getTools() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Gets a defensive copy of the tools in this group.
- getToolSchemas() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Get tool schemas as ToolSchema objects.
- getToolSchemas(Collection<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Get tool schemas filtered by an explicitly supplied set of active group names, independent of this toolkit's shared per-group activation flags.
- getToolUse() - 类中的方法 io.agentscope.core.hook.ActingEvent
-
已过时。Get the tool being executed.
- getToolUseBlock() - 类中的方法 io.agentscope.core.tool.ToolCallParam
-
Gets the tool use block containing call metadata.
- getTopK() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the top-k sampling parameter.
- getTopP() - 类中的方法 io.agentscope.core.model.GenerateOptions
-
Gets the top-p (nucleus sampling) parameter.
- getTotalPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
-
Gets the total pixels of all frames extracted from the video (single image pixels × total frames).
- getTotalTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
-
Gets the total number of tokens used.
- getType() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Get the event type.
- getType() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
- getType() - 类中的方法 io.agentscope.core.credential.KimiCredential
- getType() - 类中的方法 io.agentscope.core.credential.XAICredential
- getType() - 类中的方法 io.agentscope.core.event.AgentEndEvent
- getType() - 类中的方法 io.agentscope.core.event.AgentEvent
- getType() - 类中的方法 io.agentscope.core.event.AgentResultEvent
- getType() - 类中的方法 io.agentscope.core.event.AgentStartEvent
- getType() - 类中的方法 io.agentscope.core.event.AllToolsDeniedEvent
- getType() - 类中的方法 io.agentscope.core.event.CustomEvent
- getType() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
- getType() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
- getType() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
- getType() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
- getType() - 类中的方法 io.agentscope.core.event.HintBlockEvent
- getType() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
- getType() - 类中的方法 io.agentscope.core.event.ModelCallStartEvent
- getType() - 类中的方法 io.agentscope.core.event.RequestStopEvent
- getType() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
- getType() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
- getType() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
- getType() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
- getType() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
- getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
- getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
- getType() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
- getType() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
- getType() - 类中的方法 io.agentscope.core.formatter.ResponseFormat
- getType() - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Get the event type.
- getType() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the proxy type.
- getType() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
-
Gets the repository type.
- getUpdatedInput() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- getUploadDir() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Gets the upload directory for skill files.
- getUrl() - 类中的方法 io.agentscope.core.message.URLSource
-
Gets the URL that points to the media content.
- getUrl() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
-
Get the request URL.
- getUrl() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
-
Get the WebSocket URL.
- getUrl() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
-
Get the WebSocket URL.
- getUsage() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
- getUsage() - 类中的方法 io.agentscope.core.message.Msg
-
Gets the token usage information associated with this message.
- getUsage() - 类中的方法 io.agentscope.core.model.ChatResponse
-
Gets the token usage information for this response.
- getUserAgent() - 类中的静态方法 io.agentscope.core.Version
-
Generate standard User-Agent string for all models.
- getUserId() - 类中的方法 io.agentscope.core.agent.RuntimeContext
- getUserId() - 类中的方法 io.agentscope.core.state.AgentState
-
Nullable;
null= anonymous / single-tenant context. - getUserMessage() - 类中的方法 io.agentscope.core.interruption.InterruptContext
-
Get the user message that triggered the interruption (if any).
- getUserMessage() - 类中的方法 io.agentscope.core.interruption.InterruptControl
- getUsername() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Get the authentication username.
- getValue() - 枚举类中的方法 io.agentscope.core.event.AgentEventType
- getValue() - 类中的方法 io.agentscope.core.event.CustomEvent
-
Returns the arbitrary JSON-serializable payload whose schema depends on
CustomEvent.getName(). - getValue() - 枚举类中的方法 io.agentscope.core.message.ToolCallState
- getValue() - 枚举类中的方法 io.agentscope.core.message.ToolResultState
- getValue() - 枚举类中的方法 io.agentscope.core.permission.PermissionBehavior
- getValue() - 枚举类中的方法 io.agentscope.core.permission.PermissionMode
- getVectorName() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Gets the document vector name.
- getVectorName() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Gets the vector name for retrieval.
- getWire() - 枚举类中的方法 io.agentscope.core.state.Task.State
- getWorkingDirectories() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- getWriteTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get the write timeout.
- getWriteTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get the write timeout.
- GOING_AWAY - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
-
Going away (1001).
- gotoReasoning() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Request to go back to reasoning phase without adding any messages.
- gotoReasoning(Msg) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Request to go back to reasoning phase with a single message.
- gotoReasoning(List<Msg>) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Request to go back to reasoning phase with multiple messages.
- GracefulShutdownConfig - io.agentscope.core.shutdown中的记录类
-
Configuration for graceful shutdown behavior of the agent system.
- GracefulShutdownConfig(Duration, PartialReasoningPolicy) - 记录类的构造器 io.agentscope.core.shutdown.GracefulShutdownConfig
-
Compact constructor for validation.
- GracefulShutdownManager - io.agentscope.core.shutdown中的类
-
Global manager for graceful shutdown lifecycle and active request tracking.
- GracefulShutdownMiddleware - io.agentscope.core.shutdown中的类
-
System middleware that integrates graceful shutdown into the agent lifecycle.
- GracefulShutdownMiddleware(GracefulShutdownManager) - 类的构造器 io.agentscope.core.shutdown.GracefulShutdownMiddleware
- group(String) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the tool group name.
H
- handleInput(String, String, List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput
-
已过时。Handle user input from the configured input stream.
- handleInput(String, String, List<Msg>, Class<?>) - 接口中的方法 io.agentscope.core.agent.user.UserInputBase
-
已过时。Handle user input and return the input data.
- handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Handle an interruption that occurred during execution.
- handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.agent.user.UserAgent
-
已过时。Handle interrupt scenarios.
- handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.ReActAgent
- handleNull() - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
-
Handle null result.
- handleVoid() - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
-
Handle void return type.
- hasAuthentication() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Check if authentication credentials are configured.
- hasChanged(String, String) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
-
Check if the list has changed based on hash comparison.
- hasContentBlocks(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
-
Check if this message has content blocks of the specified type (type-safe).
- hasCustomExecutor() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
Check if a custom executor service was provided.
- hasFrontmatter() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
-
Check if frontmatter exists.
- hashCode() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
- hashCode() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- hashCode() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- hashCode() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.state.AgentState
- hashCode() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.state.PlanModeContextState
- hashCode() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.state.Task
- hashCode() - 类中的方法 io.agentscope.core.state.TaskContextState
- hashCode() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回此对象的哈希代码值。
- hashCode() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
-
返回此对象的哈希代码值。
- hashCode() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。
- hasMediaContent(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Check if a message contains multimodal content (images, audio, video).
- hasOpaqueCacheInputs() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns whether the context contains values that core cannot fingerprint safely.
- hasPayloadKey(String) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Checks if the document payload contains a specific key.
- hasPayloadKey(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
-
已过时。Checks if the payload contains a specific key.
- hasSkillFile(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Checks if a directory contains a SKILL.md file.
- hasStructuredData() - 类中的方法 io.agentscope.core.message.Msg
-
Check if this message contains structured data in metadata.
- hasSubscribers() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Check if this agent has any subscribers.
- header(String, String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Add a header to the request.
- header(String, String) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
-
Add a header to the response.
- header(String, String) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
-
Add a header.
- header(String, String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Adds an HTTP header (only applicable for HTTP transports).
- headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Add multiple headers to the request.
- headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
-
Add multiple headers to the response.
- headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
-
Add multiple headers.
- headers(Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Sets multiple HTTP headers (only applicable for HTTP transports).
- HINT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Hint event - Information from RAG, memory, or planning systems.
- HINT_BLOCK - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- HintBlock - io.agentscope.core.message中的类
-
A content block that provides hints to the LLM during reasoning.
- HintBlock(String, String) - 类的构造器 io.agentscope.core.message.HintBlock
- HintBlock(String, String, String) - 类的构造器 io.agentscope.core.message.HintBlock
- HintBlockEvent - io.agentscope.core.event中的类
-
One-shot hint block event.
- HintBlockEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.HintBlockEvent
- HintBlockEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.HintBlockEvent
- hook(Hook) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Adds a hook for monitoring and intercepting agent execution events.
- Hook - io.agentscope.core.hook中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. Middleware exposesonAgent,onReasoning,onActing,onModelCall, andonSystemPrompthook points and replaces this entire hook system. - HookEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - HookEvent(HookEventType, Agent) - 类的构造器 io.agentscope.core.hook.HookEvent
-
已过时。Constructor for HookEvent.
- HookEventType - io.agentscope.core.hook中的枚举类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - hooks(List<Hook>) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Set the hooks for monitoring agent execution.
- hooks(List<Hook>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Adds multiple hooks for monitoring and intercepting agent execution events.
- host(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the proxy server hostname or IP address.
- http(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create a simple HTTP proxy configuration without authentication.
- http(String, int, String, String) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create an HTTP proxy configuration with authentication.
- HTTP - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
-
HTTP/HTTPS proxy.
- HTTP_1_1 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.HttpVersion
-
HTTP version 1.1
- HTTP_2 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.HttpVersion
-
HTTP version 2
- HttpRequest - io.agentscope.core.model.transport中的类
-
HTTP request encapsulation for the transport layer.
- HttpRequest.Builder - io.agentscope.core.model.transport中的类
-
Builder for HttpRequest.
- httpRequestCustomizer(McpSyncHttpClientRequestCustomizer) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Registers a per-request HTTP customizer for dynamic request modification (only applicable for HTTP transports: SSE and StreamableHTTP).
- HttpResponse - io.agentscope.core.model.transport中的类
-
HTTP response encapsulation for the transport layer.
- HttpResponse.Builder - io.agentscope.core.model.transport中的类
-
Builder for HttpResponse.
- HttpTransport - io.agentscope.core.model.transport中的接口
-
HTTP transport layer interface for making HTTP requests.
- HttpTransportConfig - io.agentscope.core.model.transport中的类
-
Configuration for HTTP transport layer.
- HttpTransportConfig.Builder - io.agentscope.core.model.transport中的类
-
Builder for HttpTransportConfig.
- HttpTransportException - io.agentscope.core.model.transport中的异常错误类
-
Exception thrown when HTTP transport operations fail.
- HttpTransportException(String) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
-
Create a new HttpTransportException with a message.
- HttpTransportException(String, int, String) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
-
Create a new HttpTransportException for an HTTP error response.
- HttpTransportException(String, int, String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
-
Create a new HttpTransportException for an HTTP error response with cause.
- HttpTransportException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
-
Create a new HttpTransportException with a message and cause.
- HttpTransportFactory - io.agentscope.core.model.transport中的类
-
Factory for managing HttpTransport instances.
- httpVersion(HttpVersion) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the HTTP version to use.
- HttpVersion - io.agentscope.core.model.transport中的枚举类
-
HTTP version.
I
- id - 类中的变量 io.agentscope.core.message.Msg.Builder
- id(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
- id(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
- id(String) - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
- id(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- id(String) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
-
Sets the identifier for the data block.
- id(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Sets the unique identifier for the message.
- id(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- id(String) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets the tool call ID.
- id(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- id(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the unique identifier for the tool call.
- id(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- id(String) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Sets the response identifier.
- id(String) - 类中的方法 io.agentscope.core.state.Task.Builder
- ignoreSsl(boolean) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set whether to ignore SSL certificate verification.
- ignoreSsl(boolean) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set whether to ignore SSL certificate verification.
- ImageBlock - io.agentscope.core.message中的类
-
Represents image content in a message with URL or Base64 source.
- ImageBlock(Source) - 类的构造器 io.agentscope.core.message.ImageBlock
-
Creates a new image block with source.
- ImageBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing ImageBlock instances.
- IN_PROGRESS - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
- includeActingChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Include or exclude tool execution chunk emissions.
- includeActingChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Includes tool streaming events (ActingChunkEvent).
- includeReasoningChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Include or exclude incremental reasoning chunk emissions.
- includeReasoningChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Includes reasoning streaming events (ReasoningChunkEvent).
- includeReasoningResult(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Include or exclude the final consolidated reasoning result emission.
- includeSummary(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Includes summary events (PreSummaryEvent/PostSummaryEvent).
- includeSummaryChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Include or exclude summary chunk emissions.
- includeSummaryChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Includes summary streaming events (SummaryChunkEvent).
- includeSummaryResult(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Include or exclude the final consolidated summary result emission.
- incremental(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
-
Set whether to use incremental mode for streaming content.
- inferAudioFormatFromMediaType(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Infer audio format string from MIME type.
- initialBackoff(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the initial backoff duration for the first retry.
- initializationTimeout(Duration) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Sets the initialization timeout duration.
- initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Initializes the async MCP client connection and caches available tools.
- initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Initializes the MCP client connection and caches available tools.
- initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Initializes the sync MCP client connection and caches available tools.
- initialized - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
-
Flag indicating whether the client has been initialized
- InMemoryAgentStateStore - io.agentscope.core.state中的类
-
In-memory implementation of the
AgentStateStoreinterface. - InMemoryAgentStateStore() - 类的构造器 io.agentscope.core.state.InMemoryAgentStateStore
- InMemoryMemory - io.agentscope.core.memory中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Conversation context lives on
AgentState.getContext(); this class is retained for source compatibility with 1.0.x user code. - InMemoryMemory() - 类的构造器 io.agentscope.core.memory.InMemoryMemory
-
已过时。Constructor for InMemoryMemory.
- input(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the input parameters for the tool.
- input(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Sets the input parameters.
- inputHint(String) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
-
已过时。Set the input hint prompt.
- inputMethod(UserInputBase) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Set the input method for user interaction.
- inputSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- inputStream(InputStream) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
-
已过时。Set the input stream to read from.
- inputTokens(int) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
-
Sets the number of input tokens.
- insertTextFile(String, String, Integer) - 类中的方法 io.agentscope.core.tool.file.WriteFileTool
-
Insert content at the specified line number in a text file.
- INSTANCE - 类中的静态变量 io.agentscope.core.tool.NoOpToolEmitter
-
Singleton instance.
- interrupt() - 接口中的方法 io.agentscope.core.agent.Agent
-
Interrupt the current agent execution.
- interrupt() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。Subclasses should implement per-session interrupt via RuntimeContext.
- interrupt() - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
ReActAgent.interrupt(String, String)with explicit userId/sessionId. - interrupt(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Interrupts the in-flight call identified by the given
RuntimeContext. - interrupt(RuntimeContext, Msg) - 类中的方法 io.agentscope.core.ReActAgent
-
Interrupts the in-flight call identified by the given
RuntimeContextwith an associated user message. - interrupt(InterruptSource) - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。Subclasses should implement per-session interrupt via RuntimeContext.
- interrupt(InterruptSource) - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
ReActAgent.interrupt(String, String)with explicit userId/sessionId. - interrupt(Msg) - 接口中的方法 io.agentscope.core.agent.Agent
-
Interrupt the current agent execution with a user message.
- interrupt(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。Subclasses should implement per-session interrupt via RuntimeContext.
- interrupt(Msg) - 类中的方法 io.agentscope.core.ReActAgent
-
已过时。Use
ReActAgent.interrupt(String, String, Msg)with explicit userId/sessionId. - interrupt(String, String) - 类中的方法 io.agentscope.core.ReActAgent
-
Interrupts the in-flight call for a specific
(userId, sessionId)session. - interrupt(String, String, Msg) - 类中的方法 io.agentscope.core.ReActAgent
-
Interrupts the in-flight call for a specific
(userId, sessionId)session with an associated user message. - InterruptContext - io.agentscope.core.interruption中的类
-
Context information about an interruption.
- InterruptContext.Builder - io.agentscope.core.interruption中的类
-
Builder for InterruptContext.
- interruptControl() - 类中的方法 io.agentscope.core.state.AgentState
-
The per-session interrupt signal for this state, created on first access.
- InterruptControl - io.agentscope.core.interruption中的类
-
Per-session interrupt signal.
- InterruptControl() - 类的构造器 io.agentscope.core.interruption.InterruptControl
- INTERRUPTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Agent was interrupted.
- INTERRUPTED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
- interruptIfShuttingDown(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- InterruptSource - io.agentscope.core.interruption中的枚举类
-
Enum representing the source of an interruption.
- io.agentscope.core - 程序包 io.agentscope.core
- io.agentscope.core.agent - 程序包 io.agentscope.core.agent
- io.agentscope.core.agent.accumulator - 程序包 io.agentscope.core.agent.accumulator
- io.agentscope.core.agent.config - 程序包 io.agentscope.core.agent.config
-
Agent configuration value objects:
ModelConfigfor retry / fallback wiring andReactConfigfor reasoning-loop bounds. - io.agentscope.core.agent.user - 程序包 io.agentscope.core.agent.user
- io.agentscope.core.credential - 程序包 io.agentscope.core.credential
-
Provider credentials for model authentication.
- io.agentscope.core.event - 程序包 io.agentscope.core.event
- io.agentscope.core.exception - 程序包 io.agentscope.core.exception
- io.agentscope.core.formatter - 程序包 io.agentscope.core.formatter
- io.agentscope.core.hook - 程序包 io.agentscope.core.hook
- io.agentscope.core.hook.recorder - 程序包 io.agentscope.core.hook.recorder
- io.agentscope.core.interruption - 程序包 io.agentscope.core.interruption
- io.agentscope.core.memory - 程序包 io.agentscope.core.memory
- io.agentscope.core.message - 程序包 io.agentscope.core.message
- io.agentscope.core.middleware - 程序包 io.agentscope.core.middleware
- io.agentscope.core.model - 程序包 io.agentscope.core.model
- io.agentscope.core.model.spi - 程序包 io.agentscope.core.model.spi
- io.agentscope.core.model.transport - 程序包 io.agentscope.core.model.transport
- io.agentscope.core.model.transport.websocket - 程序包 io.agentscope.core.model.transport.websocket
- io.agentscope.core.permission - 程序包 io.agentscope.core.permission
-
Tool-permission evaluation engine for AgentScope Java.
- io.agentscope.core.rag - 程序包 io.agentscope.core.rag
- io.agentscope.core.rag.model - 程序包 io.agentscope.core.rag.model
- io.agentscope.core.shutdown - 程序包 io.agentscope.core.shutdown
- io.agentscope.core.skill - 程序包 io.agentscope.core.skill
- io.agentscope.core.skill.repository - 程序包 io.agentscope.core.skill.repository
- io.agentscope.core.skill.util - 程序包 io.agentscope.core.skill.util
- io.agentscope.core.state - 程序包 io.agentscope.core.state
- io.agentscope.core.state.legacy - 程序包 io.agentscope.core.state.legacy
- io.agentscope.core.tool - 程序包 io.agentscope.core.tool
- io.agentscope.core.tool.builtin - 程序包 io.agentscope.core.tool.builtin
- io.agentscope.core.tool.coding - 程序包 io.agentscope.core.tool.coding
- io.agentscope.core.tool.file - 程序包 io.agentscope.core.tool.file
- io.agentscope.core.tool.mcp - 程序包 io.agentscope.core.tool.mcp
- io.agentscope.core.tool.subagent - 程序包 io.agentscope.core.tool.subagent
- io.agentscope.core.tracing - 程序包 io.agentscope.core.tracing
- io.agentscope.core.util - 程序包 io.agentscope.core.util
- io.agentscope.core.workspace - 程序包 io.agentscope.core.workspace
-
Agent execution environment abstraction for AgentScope Java.
- isAcceptingRequests() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- isActive() - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Checks if this tool group is currently active.
- isAllowed() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- isAllowed(String) - 类中的方法 io.agentscope.core.skill.SkillFilter
-
Whether the given skill is allowed by this filter.
- isAllowToolDeletion() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
Check if tool deletion is allowed.
- isAutoUploadSkill() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Checks whether skill files are automatically uploaded.
- isCheckRunning() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。No longer enforced; per-session serialization handles concurrency.
- isClientError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Check if this is a client error (4xx status code).
- isClosed() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
-
Check if this transport has been closed.
- isCommandAllowed(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Check if a command is in the whitelist.
- isConcurrencySafe() - 类中的方法 io.agentscope.core.tool.ToolBase
- isConfirmed() - 类中的方法 io.agentscope.core.event.ConfirmResult
- isDangerousPath(String) - 类中的方法 io.agentscope.core.tool.ToolBase
- isEmpty() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns whether this context has no effective settings.
- isEmpty() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
-
Returns whether this meta contains no entries.
- isExternalTool() - 类中的方法 io.agentscope.core.tool.ToolBase
- isExternalTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Check if a tool is an external tool (requires execution outside the framework).
- isFileExists(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Check if a file exists.
- isForwardEvents() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
-
Gets whether to forward sub-agent events to the parent agent.
- isGotoReasoningRequested() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Check if a goto reasoning has been requested.
- isHttpError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Check if this is an HTTP error (has status code).
- isIgnoreSsl() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
-
Get whether SSL certificate verification should be ignored.
- isIgnoreSsl() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
-
Get whether SSL certificate verification should be ignored.
- isIncludeActingChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Whether acting (tool execution) chunk emissions should be included.
- isIncludeReasoningChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Whether reasoning "chunk" emissions should be included.
- isIncludeReasoningResult() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Whether the final reasoning result should be included.
- isIncludeSummaryChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Whether summary chunk emissions should be included.
- isIncludeSummaryResult() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Whether the final summary result should be included.
- isIncremental() - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Check if incremental mode is enabled.
- isInitialized() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Checks if this client has been initialized.
- isInterrupted() - 类中的方法 io.agentscope.core.interruption.InterruptControl
- isJarEnvironment() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
-
Checks if running in a JAR environment.
- isLast() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Check if this is the last/complete message for this event.
- isLazy() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
-
Whether this repository only reads SKILL.md and defers support-file loading.
- isLocalFile(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Check if a URL is a local file path (not a URL with protocol scheme).
- isManaged(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Check if a transport is currently managed.
- isMcp() - 类中的方法 io.agentscope.core.tool.ToolBase
- isNormal() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
Check if this is a normal closure.
- isOpen() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
- isOpen() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
- isOpen() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
-
Check if connection is open.
- isOverlay() - 类中的方法 io.agentscope.core.skill.SkillFilter
-
Whether this filter is an overlay (partial override) rather than a standalone filter.
- isParallel() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
-
Whether tools should be executed in parallel.
- isPathWithinCurrentDirectory(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
-
Validate if a relative path (starting with ./ or .\) stays within the current directory.
- isPendingToolRecoveryEnabled() - 类中的方法 io.agentscope.core.ReActAgent
-
Returns whether pending-tool-call recovery is enabled (HITL: resume tool calls left in a pending state across
call()invocations). - isPlanActive() - 类中的方法 io.agentscope.core.state.PlanModeContextState
- isReadOnly() - 接口中的方法 io.agentscope.core.tool.AgentTool
-
Returns whether this tool performs only read operations and never mutates state.
- isReadOnly() - 类中的方法 io.agentscope.core.tool.ToolBase
- isRetryable() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Check if this error is retryable.
- isRetryableHttpStatus() - 接口中的方法 io.agentscope.core.model.ModelHttpException
-
Returns whether this HTTP status is retryable by default.
- isServerError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Check if this is a server error (5xx status code).
- isShutdownInterrupted() - 类中的方法 io.agentscope.core.state.AgentState
- isSkillActive(String) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Where the skill is active.
- isStateInjected() - 类中的方法 io.agentscope.core.tool.ToolBase
- isStopRequested() - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Check if a stop has been requested.
- isStopRequested() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Check if a stop has been requested.
- isStopRequested() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
-
已过时。Check if a stop has been requested.
- isSuccessful() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
-
Check if the response indicates success (2xx status code).
- isSuspended() - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Checks if this result is suspended for external execution.
- isTrivial() - 类中的方法 io.agentscope.core.permission.PermissionContextState
-
Whether this context is "trivial" — built from
PermissionContextState.Builder.build()with no further customisation. - isValidJsonObject(String) - 类中的静态方法 io.agentscope.core.util.JsonUtils
-
Check whether the given string is a valid JSON object (i.e. starts with '{' and can be parsed into a
Map). - isWritable() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
-
Checks if the repository supports write operations.
- isWriteable() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Checks if the repository supports write operations.
- isWriteable() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- isWriteable() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
J
- JacksonJsonCodec - io.agentscope.core.util中的类
-
Jackson-based implementation of
JsonCodec. - JacksonJsonCodec() - 类的构造器 io.agentscope.core.util.JacksonJsonCodec
-
Creates a new JacksonJsonCodec with default ObjectMapper configuration.
- JacksonJsonCodec(ObjectMapper) - 类的构造器 io.agentscope.core.util.JacksonJsonCodec
-
Creates a new JacksonJsonCodec with a custom ObjectMapper.
- JdkHttpTransport - io.agentscope.core.model.transport中的类
-
Pure JDK implementation of the HttpTransport interface.
- JdkHttpTransport(HttpClient, HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.JdkHttpTransport
-
Create a new JdkHttpTransport with an existing HttpClient.
- JdkHttpTransport.Builder - io.agentscope.core.model.transport中的类
-
Builder for JdkHttpTransport.
- JdkWebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的类
-
WebSocket connection implementation based on JDK WebSocket.
- JdkWebSocketTransport - io.agentscope.core.model.transport.websocket中的类
-
WebSocket client implementation based on JDK 11+ HttpClient.
- JsonCodec - io.agentscope.core.util中的接口
-
Interface for JSON serialization and deserialization operations.
- JsonException - io.agentscope.core.util中的异常错误类
-
Runtime exception for JSON processing errors.
- JsonException(String) - 异常错误类的构造器 io.agentscope.core.util.JsonException
-
Constructs a new JSON exception with the specified detail message.
- JsonException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.util.JsonException
-
Constructs a new JSON exception with the specified detail message and cause.
- JsonException(Throwable) - 异常错误类的构造器 io.agentscope.core.util.JsonException
-
Constructs a new JSON exception with the specified cause.
- JsonFileAgentStateStore - io.agentscope.core.state中的类
-
JSON file-based
AgentStateStoreimplementation. - JsonFileAgentStateStore() - 类的构造器 io.agentscope.core.state.JsonFileAgentStateStore
-
Create a
JsonFileAgentStateStorewith the default root:~/.agentscope/state. - JsonFileAgentStateStore(Path) - 类的构造器 io.agentscope.core.state.JsonFileAgentStateStore
-
Create a
JsonFileAgentStateStorerooted at the given directory. - JsonlTraceExporter - io.agentscope.core.hook.recorder中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The hook system is replaced by
MiddlewareBase. - JsonlTraceExporter.Builder - io.agentscope.core.hook.recorder中的类
-
已过时。
- jsonObject() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
-
Create a JSON object response format.
- jsonSchema(JsonSchema) - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
- jsonSchema(JsonSchema) - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
-
Create a JSON Schema response format with structured output validation.
- JsonSchema - io.agentscope.core.formatter中的类
-
JSON Schema definition for structured outputs.
- JsonSchema() - 类的构造器 io.agentscope.core.formatter.JsonSchema
- JsonSchema.Builder - io.agentscope.core.formatter中的类
- JsonUtils - io.agentscope.core.util中的类
-
Utility class for accessing the global
JsonCodecinstance.
K
- keepAliveDuration(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the keep-alive duration for idle connections.
- key() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回
key记录组件的值。 - KimiCredential - io.agentscope.core.credential中的类
-
Credential for the Kimi (Moonshot AI) API.
- KimiCredential.Builder - io.agentscope.core.credential中的类
- knowledge(Knowledge) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. RAG is being redesigned; legacy adapters remain functional.
- Knowledge - io.agentscope.core.rag中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- KnowledgeRetrievalTools - io.agentscope.core.rag中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- KnowledgeRetrievalTools(Knowledge) - 类的构造器 io.agentscope.core.rag.KnowledgeRetrievalTools
-
已过时。Creates a new KnowledgeRetrievalTools instance with default configuration.
- KnowledgeRetrievalTools(Knowledge, RetrieveConfig) - 类的构造器 io.agentscope.core.rag.KnowledgeRetrievalTools
-
已过时。Creates a new KnowledgeRetrievalTools instance.
- knowledges(List<Knowledge>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. See
ReActAgent.Builder.knowledge(io.agentscope.core.rag.Knowledge).
L
- label() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回
label记录组件的值。 - LegacyHookDispatcher - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Will be deleted together with the Hook system.
- LegacyHookDispatcher(ReActAgent) - 类的构造器 io.agentscope.core.hook.LegacyHookDispatcher
-
已过时。
- LegacyStateLoader - io.agentscope.core.state中的类
-
Utility for loading v1 session data into the 2.0
AgentStateformat. - limit(int) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。Sets the maximum number of documents to retrieve.
- lines() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回
lines记录组件的值。 - listDirectory(String) - 类中的方法 io.agentscope.core.tool.file.ReadFileTool
-
List files and directories in the specified directory.
- ListHashUtil - io.agentscope.core.state中的类
-
Utility class for computing hash values of state lists.
- listModels() - 类中的方法 io.agentscope.core.credential.CredentialBase
-
Enumerate the candidate models available under this credential.
- listSessionIds(String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
List session identifiers visible under the given user namespace.
- listSessionIds(String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- listSessionIds(String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Lists all tools available from the MCP server.
- listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
-
Lists all tools available from this MCP server.
- listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Lists all tools available from the MCP server.
- loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Load memory state from the store.
- loadFrom(AgentStateStore, String, String) - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Load a previously saved message buffer (no-op when none exists).
- loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- loadFromLegacySession(AgentStateStore, String, String) - 类中的静态方法 io.agentscope.core.state.LegacyStateLoader
-
Load an
AgentStatefrom a v1 session. - loadSkill(Path, String, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Loads a skill by name from the given base directory.
- loadSkillFromDirectory(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Loads a skill from a specific directory, eagerly reading every non-hidden file in the skill tree into memory.
- loadSkillFromDirectory(Path, String, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Loads a skill from a specific directory.
- longTermMemory(LongTermMemory) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Long-term memory is being redesigned around the upcoming reme base class. Hooks added through this path still work.
- LongTermMemory - io.agentscope.core.memory中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Long-term memory is removed; conversation context now lives on
AgentState.getContext(). Integrate any cross-session persistence at the application layer. - longTermMemoryAsyncRecord(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. See
ReActAgent.Builder.longTermMemory. - longTermMemoryMode(LongTermMemoryMode) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. See
ReActAgent.Builder.longTermMemory. - LongTermMemoryMode - io.agentscope.core.memory中的枚举类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Long-term memory is removed.
- LongTermMemoryTools - io.agentscope.core.memory中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Long-term memory is removed.
- LongTermMemoryTools(LongTermMemory) - 类的构造器 io.agentscope.core.memory.LongTermMemoryTools
-
已过时。Creates a new tool adapter for the given long-term memory instance.
- lookup(String, Map<String, Integer>) - 类中的静态方法 io.agentscope.core.model.ModelContextWindows
-
Finds the context window size for the given model name from the provided map.
M
- MarkdownSkillParser - io.agentscope.core.skill.util中的类
-
Utility for parsing and generating Markdown files with YAML frontmatter.
- MarkdownSkillParser.ParsedMarkdown - io.agentscope.core.skill.util中的类
-
Result of parsing markdown with frontmatter.
- matchRule(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase
-
Default rule matcher: a
nullruleContentmatches every invocation; any non-null pattern is rejected so subclasses can layer their own semantics on top. - MAX_ITERATIONS - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Maximum iterations reached.
- maxAttempts(Integer) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the maximum number of attempts (including the initial attempt).
- maxBackoff(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the maximum backoff duration between retries.
- maxCacheBytes(double) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
- maxCacheFiles(int) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
- maxCompletionTokens(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the maximum number of completion tokens to generate.
- maxFrames(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the maximum number of frames to capture from the video.
- maxIdleConnections(int) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the maximum number of idle connections in the pool.
- maxIters() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
-
返回
maxIters记录组件的值。 - maxIters(int) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the maximum number of reasoning-acting iterations.
- maxPixels(Integer) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
-
Sets the maximum pixel threshold for input image frames.
- maxPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the maximum pixel threshold for input video frames.
- maxRetries() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
-
返回
maxRetries记录组件的值。 - maxRetries(int) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the model-call retry budget (max attempts including the first try).
- maxTokens(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the maximum number of tokens to generate.
- mcp(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
-
Marks the tool as an MCP tool and records the MCP server name.
- McpAsyncClientWrapper - io.agentscope.core.tool.mcp中的类
-
Wrapper for asynchronous MCP clients using Project Reactor.
- McpAsyncClientWrapper(String, McpAsyncClient) - 类的构造器 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
-
Constructs a new asynchronous MCP client wrapper.
- mcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the MCP client to register.
- mcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the MCP client to register.
- McpClientBuilder - io.agentscope.core.tool.mcp中的类
-
Builder for creating MCP client wrappers with fluent configuration.
- McpClientWrapper - io.agentscope.core.tool.mcp中的类
-
Abstract wrapper for MCP (Model Context Protocol) clients.
- McpClientWrapper(String) - 类的构造器 io.agentscope.core.tool.mcp.McpClientWrapper
-
Constructs a new MCP client wrapper.
- McpContentConverter - io.agentscope.core.tool.mcp中的类
-
Utility class for converting between MCP content types and AgentScope content blocks.
- McpMeta - io.agentscope.core.tool.mcp中的记录类
-
Type-namespace marker for MCP (Model Context Protocol) request metadata.
- McpMeta(Map<String, Object>) - 记录类的构造器 io.agentscope.core.tool.mcp.McpMeta
-
Creates an McpMeta with the given entries.
- McpSyncClientWrapper - io.agentscope.core.tool.mcp中的类
-
Wrapper for synchronous MCP clients that converts blocking calls to reactive Mono types.
- McpSyncClientWrapper(String, McpSyncClient) - 类的构造器 io.agentscope.core.tool.mcp.McpSyncClientWrapper
-
Constructs a new synchronous MCP client wrapper.
- McpTool - io.agentscope.core.tool.mcp中的类
-
ToolBasesubclass that wraps an MCP (Model Context Protocol) tool. - McpTool(String, String, Map<String, Object>, McpClientWrapper) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
-
已过时。Use
McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean)so the MCP server name and read-only hint are propagated. Kept for source compatibility with callers that pre-date theToolBaseintegration. - McpTool(String, String, Map<String, Object>, McpClientWrapper, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
-
已过时。Use
McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean)so the MCP server name and read-only hint are propagated. - McpTool(String, String, Map<String, Object>, Map<String, Object>, McpClientWrapper, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
-
已过时。Use
McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean)so the MCP server name and read-only hint are propagated. - McpTool(String, String, Map<String, Object>, Map<String, Object>, McpClientWrapper, Map<String, Object>, String, boolean) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
-
Preferred constructor used by
McpClientManager. - mediaType(String) - 类中的方法 io.agentscope.core.message.Base64Source.Builder
-
Sets the MIME type for the media content.
- MediaUtils - io.agentscope.core.formatter中的类
-
Utility class for handling media files in multimodal content.
- Memory - io.agentscope.core.memory中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Conversation context is now held on
AgentState.getContext(). This interface is retained as a write-only mirror for source compatibility with 1.0.x user code. - merge(McpMeta...) - 记录类中的静态方法 io.agentscope.core.tool.mcp.McpMeta
-
Merges multiple
McpMetainstances into one. - merge(ToolExecutionContext...) - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。Merges multiple contexts into priority-based resolution chain.
- mergeConfigs(ExecutionConfig, ExecutionConfig) - 类中的静态方法 io.agentscope.core.model.ExecutionConfig
-
Merges two ExecutionConfig instances, with primary config taking precedence.
- mergeOptions(GenerateOptions, GenerateOptions) - 类中的静态方法 io.agentscope.core.model.GenerateOptions
-
Merges two GenerateOptions instances, with primary options taking precedence.
- mergeWithBaseSchema(Map<String, Object>) - 接口中的方法 io.agentscope.core.tool.ExtendedModel
-
Merge this extended model with base schema from tool.
- message(String) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- MessageMetadataKeys - io.agentscope.core.message中的类
-
Constants for well-known message metadata keys.
- messages() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回
messages记录组件的值。 - messages() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
返回
messages记录组件的值。 - META - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolGroupScope
-
The group is managed by the meta tool (
reset_equipped_tools). - metadata - 类中的变量 io.agentscope.core.message.Msg.Builder
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Set metadata for structured output.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
-
Sets the metadata for the block.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets the metadata for the tool result.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the provider-specific metadata.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Sets the metadata for the response.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Replaces all metadata with a new map.
- metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.state.Task.Builder
- METADATA_CONFIRM_RESULTS - 类中的静态变量 io.agentscope.core.message.Msg
-
Metadata key for carrying a
List<ConfirmResult>when resuming a Permission HITL pause. - METADATA_GENERATE_REASON - 类中的静态变量 io.agentscope.core.message.Msg
-
Metadata key for storing the generate reason.
- METADATA_REASONING_DETAILS - 类中的静态变量 io.agentscope.core.message.ThinkingBlock
-
Metadata key for storing OpenRouter/Gemini reasoning details list.
- METADATA_REMINDER_KIND - 类中的静态变量 io.agentscope.core.message.Msg
-
Metadata key (string) describing the kind of synthetic reminder carried by a message, e.g.
- METADATA_SUSPENDED - 类中的静态变量 io.agentscope.core.message.ToolResultBlock
-
Metadata key indicating this result is suspended for external execution.
- METADATA_SYNTHETIC - 类中的静态变量 io.agentscope.core.message.Msg
-
Metadata key (boolean) marking a message as synthetic: framework-injected rather than authored by the user, the model, or a tool.
- METADATA_THOUGHT_SIGNATURE - 类中的静态变量 io.agentscope.core.message.ToolUseBlock
-
Metadata key for Gemini thought signature (byte[] value).
- method(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Set the HTTP method.
- middleware(MiddlewareBase) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Adds a middleware for intercepting agent execution.
- MIDDLEWARE_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
A middleware requested the agent to pause via
RequestStopEvent. - MiddlewareBase - io.agentscope.core.middleware中的接口
-
Middleware provides interception mechanisms at 5 key execution points in the Agent lifecycle.
- MiddlewareChain - io.agentscope.core.middleware中的类
-
Builds an onion-style middleware chain for a given interception point.
- MiddlewareChain.MiddlewareMethod<I> - io.agentscope.core.middleware中的接口
-
Functional interface representing one of the onion-pattern middleware hooks.
- middlewares(List<? extends MiddlewareBase>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Adds multiple middlewares for intercepting agent execution.
- mimeType(String) - 类中的方法 io.agentscope.core.message.URLSource.Builder
-
Sets an optional MIME type hint for extension-less URLs.
- minPixels(Integer) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
-
Sets the minimum pixel threshold for input image frames.
- minPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the minimum pixel threshold for input video frames.
- mode(PermissionMode) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
- model() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回
model记录组件的值。 - model(Model) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the language model for this agent.
- model(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Configures the model from a string id resolved via
ModelRegistry: a named registration (ModelRegistry.register(String, Model)) or an extension provider pattern such asopenai:gpt-5.5,dashscope:qwen-max,anthropic:claude-sonnet-4-5,gemini:gemini-2.0-flash, orollama:llama3. - Model - io.agentscope.core.model中的接口
- MODEL_CALL_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- MODEL_CALL_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- MODEL_DEFAULTS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
-
Standard defaults for model API calls.
- MODEL_STOP - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Model stopped normally, task completed.
- ModelCallEndEvent - io.agentscope.core.event中的类
-
Emitted when the agent finishes a model (LLM) call.
- ModelCallEndEvent(String, ChatUsage) - 类的构造器 io.agentscope.core.event.ModelCallEndEvent
- ModelCallEndEvent(String, String, String, ChatUsage) - 类的构造器 io.agentscope.core.event.ModelCallEndEvent
- ModelCallInput - io.agentscope.core.middleware中的记录类
- ModelCallInput(List<Msg>, List<ToolSchema>, GenerateOptions, Model) - 记录类的构造器 io.agentscope.core.middleware.ModelCallInput
-
创建
ModelCallInput记录类的实例。 - ModelCallStartEvent - io.agentscope.core.event中的类
-
Emitted when the agent starts a model (LLM) call.
- ModelCallStartEvent(String) - 类的构造器 io.agentscope.core.event.ModelCallStartEvent
- ModelCallStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ModelCallStartEvent
- ModelCard - io.agentscope.core.credential中的记录类
-
Description of one candidate chat model under a provider.
- ModelCard(String, String, Integer) - 记录类的构造器 io.agentscope.core.credential.ModelCard
-
创建
ModelCard记录类的实例。 - ModelConfig - io.agentscope.core.agent.config中的记录类
-
Model invocation configuration.
- ModelConfig(int, Model) - 记录类的构造器 io.agentscope.core.agent.config.ModelConfig
-
创建
ModelConfig记录类的实例。 - ModelContextWindows - io.agentscope.core.model中的类
-
Known context window sizes for popular models.
- ModelCreationContext - io.agentscope.core.model中的类
-
Provider-neutral model creation context used by
ModelRegistryand model provider SPI implementations. - ModelCreationContext.Builder - io.agentscope.core.model中的类
- ModelException - io.agentscope.core.model中的异常错误类
-
Exception thrown when model operations fail.
- ModelException(String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
-
Creates a ModelException with a message.
- ModelException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
-
Creates a ModelException with message and model information.
- ModelException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.ModelException
-
Creates a ModelException with a message and cause.
- ModelException(String, Throwable, String, String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
-
Creates a ModelException with message, cause, and model information.
- modelExecutionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the execution configuration for model API calls.
- ModelHttpException - io.agentscope.core.model中的接口
-
Exception contract for model providers that can expose an HTTP status code.
- modelName() - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
返回
modelName记录组件的值。 - modelName(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the model name to use for generation.
- ModelProvider - io.agentscope.core.model.spi中的接口
-
Service Provider Interface for model adapters discovered from extension modules.
- ModelRegistry - io.agentscope.core.model中的类
-
Registry for resolving
Modelinstances from string identifiers (named instances orprovider:modelpatterns). - ModelRegistry.ContextModelFactory - io.agentscope.core.model中的接口
- ModelRegistry.ModelFactory - io.agentscope.core.model中的接口
- ModelUtils - io.agentscope.core.model中的类
-
Utility class for common Model operations.
- Msg - io.agentscope.core.message中的类
-
Represents a message in the AgentScope framework.
- Msg(String, String, MsgRole, List<ContentBlock>, Map<String, Object>, String, ChatUsage) - 类的构造器 io.agentscope.core.message.Msg
-
Creates a new message with the specified fields.
- Msg.Builder - io.agentscope.core.message中的类
- MsgRole - io.agentscope.core.message中的枚举类
-
Defines the role of a message participant in agent conversations.
- msgs() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
-
返回
msgs记录组件的值。 - mutate() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
-
已过时。Mutate the current instance to a new builder.
N
- name - 类中的变量 io.agentscope.core.message.Msg.Builder
- name - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
-
Unique identifier for this MCP client
- name() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
The name of the tool.
- name() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
-
The name of the tool parameter.
- name(String) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
-
已过时。Set the agent name (required).
- name(String) - 类中的方法 io.agentscope.core.formatter.JsonSchema.Builder
- name(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- name(String) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
-
Sets the optional name for the data block.
- name(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Sets the optional name for the message.
- name(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- name(String) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets the tool name.
- name(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- name(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the name of the tool to execute.
- name(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- name(String) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Sets the tool name.
- name(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the name for this agent.
- name(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Sets the skill name.
- name(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Sets the name of the tool group.
- name(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- name(String) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Sets the name of the tool group.
- needsFullRewrite(List<? extends State>, String, int) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
-
Determine if a full rewrite is needed based on list content and existing count.
- none() - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
All skills disabled.
- None() - 记录类的构造器 io.agentscope.core.model.ToolChoice.None
-
创建
None记录类的实例。 - NONE - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
-
已过时。Disabled mode: No RAG functionality.
- nonProxyHosts(Set<String>) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the hosts that should bypass the proxy.
- NoOpToolEmitter - io.agentscope.core.tool中的类
-
A no-op implementation of ToolEmitter that silently discards all emitted chunks.
- NoopTracer - io.agentscope.core.tracing中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
OtelTracingMiddlewareinstead. - NoopTracer() - 类的构造器 io.agentscope.core.tracing.NoopTracer
-
已过时。
- normal(String) - 记录类中的静态方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
Create a CloseInfo for normal closure.
- NORMAL_CLOSURE - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
-
Normal closure (1000).
O
- ObservableAgent - io.agentscope.core.agent中的接口
-
Interface for agents that can observe messages without generating replies.
- observe(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Observe a single message without generating a reply.
- observe(Msg) - 接口中的方法 io.agentscope.core.agent.ObservableAgent
-
Observe a single message without generating a reply.
- observe(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Observe multiple messages without generating a reply.
- observe(List<Msg>) - 接口中的方法 io.agentscope.core.agent.ObservableAgent
-
Observe multiple messages without generating a reply.
- of(ContentBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with output only (for tool method return values).
- of(ContentBlock, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with output and metadata (for tool method return values).
- of(String, String, ContentBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with id, name, and output (for message ContentBlock).
- of(String, String, ContentBlock, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with all fields (for message ContentBlock with metadata).
- of(String, String, List<ContentBlock>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with id, name, and output list (for message ContentBlock).
- of(String, String, List<ContentBlock>, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with all fields including output list (for message ContentBlock with metadata).
- of(List<ContentBlock>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with output list only (for tool method return values).
- of(List<ContentBlock>, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a result with output list and metadata (for tool method return values).
- OkHttpTransport - io.agentscope.core.model.transport中的类
-
OkHttp implementation of the HttpTransport interface.
- OkHttpTransport() - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
-
Create a new OkHttpTransport with default configuration.
- OkHttpTransport(HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
-
Create a new OkHttpTransport with custom configuration.
- OkHttpTransport(OkHttpClient, HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
-
Create a new OkHttpTransport with an existing OkHttpClient.
- OkHttpTransport.Builder - io.agentscope.core.model.transport中的类
-
Builder for OkHttpTransport.
- OkHttpWebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的类
-
WebSocket connection implementation based on OkHttp WebSocket.
- OkHttpWebSocketTransport - io.agentscope.core.model.transport.websocket中的类
-
WebSocket client implementation based on OkHttp.
- onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
-
Intercept the tool-call execution phase.
- onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownMiddleware
- onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
- onAgent(Agent, RuntimeContext, AgentInput, Function<AgentInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
-
Intercept the entire agent invocation.
- onAgent(Agent, RuntimeContext, AgentInput, Function<AgentInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
- onEvent(T) - 类中的方法 io.agentscope.core.agent.StreamingHook
-
已过时。
- onEvent(T) - 接口中的方法 io.agentscope.core.hook.Hook
-
已过时。Handle a hook event.
- onEvent(T) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
-
已过时。
- onEvent(T) - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。
- onEvent(T) - 类中的方法 io.agentscope.core.rag.GenericRAGHook
-
已过时。
- onEvent(T) - 类中的方法 io.agentscope.core.skill.SkillHook
-
已过时。
- only(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
-
Whitelist: only the named skills are allowed.
- onModelCall(Agent, RuntimeContext, ModelCallInput, Function<ModelCallInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
-
Intercept the raw model API call.
- onModelCall(Agent, RuntimeContext, ModelCallInput, Function<ModelCallInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
- onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
-
Intercept the reasoning phase (LLM call + streaming output parsing).
- onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.middleware.TaskReminderMiddleware
- onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownMiddleware
- onSystemPrompt(Agent, RuntimeContext, String) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
-
Transform the system prompt string (pipeline pattern).
- onSystemPrompt(Agent, RuntimeContext, String) - 类中的方法 io.agentscope.core.middleware.TaskReminderMiddleware
- onSystemPrompt(Agent, RuntimeContext, String) - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
- OPENAI - 类中的静态变量 io.agentscope.core.model.ModelContextWindows
- option(String) - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns a provider-specific option value, or
null. - option(String, Class<T>) - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns a provider-specific option cast to the requested type, or
null. - option(String, Object) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- options() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回
options记录组件的值。 - options() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
返回
options记录组件的值。 - originDir(Path) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Sets the on-disk origin directory for this skill.
- OtelTracingMiddleware - io.agentscope.core.tracing中的类
-
Middleware that adds OpenTelemetry tracing to the agent lifecycle.
- OtelTracingMiddleware() - 类的构造器 io.agentscope.core.tracing.OtelTracingMiddleware
- output(ContentBlock) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets a single content block as output.
- output(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets a list of content blocks as output.
- outputSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Sets the optional tool output schema as a JSON Schema.
- outputStream(OutputStream) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
-
已过时。Set the output stream to write to.
- outputTokens(int) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
-
Sets the number of output tokens.
- overlay(SkillFilter) - 类中的方法 io.agentscope.core.skill.SkillFilter
-
Merge this (base) filter with a runtime overlay.
- owner(String) - 类中的方法 io.agentscope.core.state.Task.Builder
P
- parallel(boolean) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
-
Set whether to execute tools in parallel.
- parallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets whether to enable parallel function calling during tool use.
- parameters(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Sets the tool parameters as a JSON Schema.
- parentSessionId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- parse(String) - 类中的静态方法 io.agentscope.core.skill.util.MarkdownSkillParser
-
Parse markdown content with YAML frontmatter.
- ParsedMarkdown(Map<String, Object>, String) - 类的构造器 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
-
Create a parsed markdown result.
- parseResponse(TResp, Instant) - 接口中的方法 io.agentscope.core.formatter.Formatter
-
Parse provider-specific response to AgentScope ChatResponse.
- partialReasoningPolicy() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
-
返回
partialReasoningPolicy记录组件的值。 - PartialReasoningPolicy - io.agentscope.core.shutdown中的枚举类
-
Policy for handling incomplete reasoning content on shutdown interruption.
- passthrough(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
- PASSTHROUGH - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
- password(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the authentication password.
- path() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
-
返回
path记录组件的值。 - path(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- payload(Map<String, Object>) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
-
已过时。Sets the entire payload map.
- PENDING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
- PENDING - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
- pendingToolCalls(List<ToolUseBlock>) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
-
Set the pending tool calls at the time of interruption.
- performGracefulShutdown() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- PERMISSION_ASKING - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Permission engine is asking the user to confirm one or more tool calls.
- PermissionBehavior - io.agentscope.core.permission中的枚举类
-
Outcome of a permission rule or tool self-check.
- permissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the
PermissionContextStateconsulted by thePermissionEngineduring tool execution. - permissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- PermissionContextState - io.agentscope.core.permission中的类
-
Permission evaluation context: mode + working directories + three rule tables.
- PermissionContextState.Builder - io.agentscope.core.permission中的类
- PermissionDecision - io.agentscope.core.permission中的类
-
Decision returned by a permission rule match or a tool self-check.
- PermissionDecision.Builder - io.agentscope.core.permission中的类
- PermissionEngine - io.agentscope.core.permission中的类
-
Evaluates tool execution requests against configured permission rules.
- PermissionEngine(PermissionContextState) - 类的构造器 io.agentscope.core.permission.PermissionEngine
-
Creates an engine seeded from the given context's rules and mode.
- PermissionMode - io.agentscope.core.permission中的枚举类
-
Permission mode controlling how the engine evaluates tool execution requests.
- PermissionRule - io.agentscope.core.permission中的记录类
-
A single permission rule pinned to a tool name.
- PermissionRule(String, String, PermissionBehavior, String) - 记录类的构造器 io.agentscope.core.permission.PermissionRule
-
创建
PermissionRule记录类的实例。 - pingInterval(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set the ping interval for heartbeat (OkHttp only).
- planModeContext(PlanModeContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- PlanModeContextState - io.agentscope.core.state中的类
-
Persisted plan-mode flag for an agent.
- PlanModeContextState() - 类的构造器 io.agentscope.core.state.PlanModeContextState
- PlanModeContextState(boolean, String) - 类的构造器 io.agentscope.core.state.PlanModeContextState
- port(int) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the proxy server port.
- POST_ACTING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。After tool execution completes
- POST_CALL - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。After agent completes processing
- POST_REASONING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。After LLM reasoning completes
- POST_SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。After summary generation completes
- PostActingEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PostActingEvent(Agent, Toolkit, ToolUseBlock, ToolResultBlock) - 类的构造器 io.agentscope.core.hook.PostActingEvent
-
已过时。Constructor for PostActingEvent.
- PostCallEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PostCallEvent(Agent, Msg) - 类的构造器 io.agentscope.core.hook.PostCallEvent
-
已过时。Constructor for PostCallEvent.
- PostReasoningEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PostReasoningEvent(Agent, String, GenerateOptions, Msg) - 类的构造器 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Constructor for PostReasoningEvent.
- PostSummaryEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PostSummaryEvent(Agent, String, GenerateOptions, Msg) - 类的构造器 io.agentscope.core.hook.PostSummaryEvent
-
已过时。Constructor for PostSummaryEvent.
- PRE_ACTING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。Before tool execution
- PRE_CALL - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。Before agent starts processing
- PRE_REASONING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。Before LLM reasoning
- PRE_SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。Before summary generation (when max iterations reached)
- PreActingEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PreActingEvent(Agent, Toolkit, ToolUseBlock) - 类的构造器 io.agentscope.core.hook.PreActingEvent
-
已过时。Constructor for PreActingEvent.
- PreCallEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PreCallEvent(Agent, List<Msg>) - 类的构造器 io.agentscope.core.hook.PreCallEvent
-
已过时。Constructor for PreCallEvent.
- PreReasoningEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PreReasoningEvent(Agent, String, GenerateOptions, List<Msg>) - 类的构造器 io.agentscope.core.hook.PreReasoningEvent
-
已过时。Constructor for PreReasoningEvent.
- presencePenalty(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the presence penalty.
- presetParameters(Map<String, Map<String, Object>>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set preset parameters that will be automatically injected during tool execution.
- presetParameters(Map<String, Map<String, Object>>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set preset parameters that will be automatically injected during tool execution.
- PreSummaryEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - PreSummaryEvent(Agent, String, GenerateOptions, List<Msg>, int, int) - 类的构造器 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Constructor for PreSummaryEvent.
- priority() - 接口中的方法 io.agentscope.core.hook.Hook
-
已过时。The priority of this hook (lower value = higher priority).
- priority() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
-
已过时。
- priority() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。
- priority() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
-
已过时。
- priority() - 类中的方法 io.agentscope.core.skill.SkillHook
-
已过时。
- priority(int) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
-
已过时。Hook priority (default: 900, low priority for logging/export).
- PROMPT - 枚举类 中的枚举常量 io.agentscope.core.model.StructuredOutputReminder
-
Inject reminder prompt when model doesn't call the tool.
- PROPERTY_REQUIRED_FALSE_BY_DEFAULT - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolSchemaModule.Option
-
Treat un-annotated fields as optional instead of required.
- PROTOCOL_ERROR - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
-
Protocol error (1002).
- protocolVersions(String...) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Sets the MCP protocol versions that the client supports.
- provide() - 接口中的方法 io.agentscope.core.tool.subagent.SubAgentProvider
-
Provides a new agent instance.
- providerId() - 接口中的方法 io.agentscope.core.model.spi.ModelProvider
-
Provider identifier, for example
openai. - proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the proxy configuration.
- proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set the proxy configuration.
- ProxyConfig - io.agentscope.core.model.transport中的类
-
Configuration for HTTP and SOCKS proxy.
- ProxyConfig.Builder - io.agentscope.core.model.transport中的类
-
Builder for ProxyConfig.
- ProxyType - io.agentscope.core.model.transport中的枚举类
-
Enumeration of supported proxy types.
- put(Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- put(Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- put(String, Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- put(String, Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- put(String, Object) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- put(String, Object) - 类中的方法 io.agentscope.core.agent.RuntimeContext
- putAll(Map<String, Object>) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- putMetadata(String, Object) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Adds or updates a single metadata entry.
- putSpawnEntry(String, ToolContextState.SpawnEntry) - 类中的方法 io.agentscope.core.state.ToolContextState
-
Register a spawned subagent entry so it survives session restore and cross-replica routing.
Q
- queryParam(String, String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Adds a query parameter to the URL (only applicable for HTTP transports).
- queryParams(Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Sets multiple query parameters (only applicable for HTTP transports).
R
- ragMode(RAGMode) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. See
ReActAgent.Builder.knowledge(io.agentscope.core.rag.Knowledge). - RAGMode - io.agentscope.core.rag中的枚举类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- ReActAgent - io.agentscope.core中的类
-
ReAct (Reasoning and Acting) Agent implementation.
- ReActAgent.Builder - io.agentscope.core中的类
- ReactConfig - io.agentscope.core.agent.config中的记录类
-
Reasoning-loop configuration.
- ReactConfig(int, boolean) - 记录类的构造器 io.agentscope.core.agent.config.ReactConfig
-
创建
ReactConfig记录类的实例。 - ReadCacheEntry - io.agentscope.core.state中的记录类
-
Snapshot of a file's contents kept in the tool read cache.
- ReadCacheEntry(List<String>, double, double, String) - 记录类的构造器 io.agentscope.core.state.ReadCacheEntry
-
创建
ReadCacheEntry记录类的实例。 - ReadFileTool - io.agentscope.core.tool.file中的类
-
Tool for viewing text file content with optional line range specification and listing directory contents.
- ReadFileTool() - 类的构造器 io.agentscope.core.tool.file.ReadFileTool
-
Creates a ReadFileTool with no base directory restriction.
- ReadFileTool(String) - 类的构造器 io.agentscope.core.tool.file.ReadFileTool
-
Creates a ReadFileTool with a base directory restriction.
- readOnly() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Whether the tool only reads data without observable side effects.
- readOnly(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- readTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the read timeout.
- readTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set the read timeout.
- reason() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
返回
reason记录组件的值。 - REASONING - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Reasoning event - Agent thinking and planning.
- REASONING_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。During LLM reasoning streaming
- REASONING_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Reasoning phase was stopped by a Hook (PostReasoningEvent.stopAgent()).
- ReasoningChunkEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - ReasoningChunkEvent(Agent, String, GenerateOptions, Msg, Msg) - 类的构造器 io.agentscope.core.hook.ReasoningChunkEvent
-
已过时。Constructor for ReasoningChunkEvent.
- reasoningEffort(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the reasoning effort level for o1 models.
- ReasoningEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - ReasoningEvent(HookEventType, Agent, String, GenerateOptions) - 类的构造器 io.agentscope.core.hook.ReasoningEvent
-
已过时。Constructor for ReasoningEvent.
- ReasoningInput - io.agentscope.core.middleware中的记录类
- ReasoningInput(List<Msg>, List<ToolSchema>, GenerateOptions) - 记录类的构造器 io.agentscope.core.middleware.ReasoningInput
-
创建
ReasoningInput记录类的实例。 - rebindToolkit(Toolkit) - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
- rebindToolkit(Toolkit) - 接口中的方法 io.agentscope.core.tool.ToolkitAware
-
Replace this component's toolkit reference with the given instance.
- receive() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
- receive() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
- receive() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
-
Receive message stream.
- record(List<Msg>) - 接口中的方法 io.agentscope.core.memory.LongTermMemory
-
已过时。Records messages to long-term memory.
- recordToMemory(String, List<String>) - 类中的方法 io.agentscope.core.memory.LongTermMemoryTools
-
已过时。Tool function for agent to record important information to long-term memory.
- register(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Register an HttpTransport for lifecycle management.
- register(GracefulShutdownManager) - 类中的静态方法 io.agentscope.core.shutdown.AgentScopeJvmShutdownHook
- register(Tracer) - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
-
已过时。
- register(Class<T>, T) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Registers an object with explicit type (e.g., by interface).
- register(Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Registers an object by its runtime type (singleton pattern).
- register(String, Model) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Registers a named
Modelinstance. - register(String, Class<T>, T) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Registers an object with key and type (multi-instance pattern).
- register(String, Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
-
已过时。Registers an object with key (type inferred from runtime).
- registerAgentTool(AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register an AgentTool instance directly.
- registerFactory(String, ModelRegistry.ContextModelFactory) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Registers a context-aware factory matched against the full
modelIdstring usingPattern.matches(java.lang.String, java.lang.CharSequence). - registerFactory(String, ModelRegistry.ModelFactory) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Registers a factory matched against the full
modelIdstring usingPattern.matches(java.lang.String, java.lang.CharSequence). - registerMcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Registers an MCP client and all its tools.
- registerMetaTool() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register the meta tool that allows agents to dynamically manage tool groups.
- registerRequest(Agent) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- registerSchema(ToolSchema) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register an external tool using only its schema definition.
- registerSchemas(List<ToolSchema>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register multiple external tools using their schema definitions.
- registerSkill(AgentSkill) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Registers an agent skill.
- registerSkillLoadTool() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Registers skill access tools to the provided toolkit.
- registerTempDirectoryCleanup(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Registers a shutdown hook to delete the given directory on JVM exit.
- registerTool(Object) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register a tool object by scanning for methods annotated with @Tool.
- registerToolGroup(ToolGroup) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Register a pre-built
ToolGroupinstance (including subclasses). - registration() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Create a fluent builder for registering skills with optional configuration.
- registration() - 类中的方法 io.agentscope.core.tool.Toolkit
-
Create a fluent builder for registering tools with optional configuration.
- rejected(String, String) - 类中的静态方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- reloadProviders() - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Clears the cached SPI providers so the next resolution can rediscover providers from the current classloader context.
- removeAllowedCommand(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
-
Remove a command from the whitelist in a thread-safe manner.
- removeHook(Hook) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Remove a hook from this agent dynamically.
- removeMcpClient(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Removes an MCP client and all its tools.
- removeMetadata(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Removes a metadata entry.
- removeResource(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Removes a resource.
- removeSkill(String) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Removes a skill completely.
- removeSpawnEntry(String) - 类中的方法 io.agentscope.core.state.ToolContextState
-
Remove a spawn entry by key.
- removeSubscribers(String) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Remove all subscribers for a specific MsgHub.
- removeSystemHook(Hook) - 类中的静态方法 io.agentscope.core.agent.AgentBase
- removeTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Removes a tool from this group.
- removeTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Remove a tool by name from the toolkit.
- removeToolGroups(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Remove tool groups and all tools within them.
- removeToolIfSame(String, AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Atomically remove a tool only if the registered instance is the expected one.
- replyId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- REQUEST_STOP - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- RequestStopEvent - io.agentscope.core.event中的类
-
Requests the agent to pause execution after the current phase completes.
- RequestStopEvent(String) - 类的构造器 io.agentscope.core.event.RequestStopEvent
-
Create a stop request with the default
GenerateReason.MIDDLEWARE_STOP_REQUESTED. - RequestStopEvent(String, GenerateReason) - 类的构造器 io.agentscope.core.event.RequestStopEvent
-
Create a stop request with an explicit generate reason.
- RequestStopEvent(String, String, String, GenerateReason) - 类的构造器 io.agentscope.core.event.RequestStopEvent
- REQUIRE_EXTERNAL_EXECUTION - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- REQUIRE_USER_CONFIRM - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- required() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
-
Whether this parameter is required.
- Required() - 记录类的构造器 io.agentscope.core.model.ToolChoice.Required
-
创建
Required记录类的实例。 - RequireExternalExecutionEvent - io.agentscope.core.event中的类
-
Emitted when tool calls require external (out-of-process) execution.
- RequireExternalExecutionEvent(String, String, String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireExternalExecutionEvent
- RequireExternalExecutionEvent(String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireExternalExecutionEvent
- RequireUserConfirmEvent - io.agentscope.core.event中的类
-
Emitted when the agent requires user confirmation before executing tool calls (HITL).
- RequireUserConfirmEvent(String, String, String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireUserConfirmEvent
- RequireUserConfirmEvent(String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireUserConfirmEvent
- reset() - 类中的方法 io.agentscope.core.interruption.InterruptControl
-
Clear the interrupt signal back to its initial (non-interrupted) state.
- reset() - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Clears named models, user-registered factories, the factory-resolution cache, and cached SPI providers.
- resetForTesting() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Reset manager state.
- resetInterruptFlag() - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时。No-op; per-session interrupt state is managed by AgentState.interruptControl().
- resetSubscribers(String, List<AgentBase>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Reset the subscriber list for a specific MsgHub.
- resetToDefault() - 类中的静态方法 io.agentscope.core.util.JsonUtils
-
Reset to the default JacksonJsonCodec implementation.
- resetToNoop() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
-
已过时。
- resolve(String) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Resolves a
Modelfor the given id: named registration first, then cached factory-created instance, then user factories (newest first), then SPI providers. - resolve(String, ModelCreationContext) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
-
Resolves a
Modelfor the given id and creation context: named registration first, then cache when enabled, then user factories (newest first), then SPI providers. - resolveAgentState(RuntimeContext, Agent) - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
-
Resolves the live
AgentStatefor the current call, preferring the call-scoped state carried onctx(concurrency-safe) and falling back tofallbackAgent's state only when the context carries none. - resolveContext(Class<T>) - 接口中的方法 io.agentscope.core.tool.ToolExecutionContextProvider
-
已过时。Resolves a context instance of the specified type.
- resolveMimeType(Source) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Resolve the MIME type from a
Source. - resolveToolCallArgsJson(ToolUseBlock) - 类中的静态方法 io.agentscope.core.util.JsonUtils
-
Resolve the arguments JSON string from a
ToolUseBlock, ensuring the result is always a valid JSON object. - resources(Map<String, String>) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Replaces all resources with a new map.
- responseFormat(ResponseFormat) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the response format for structured output.
- ResponseFormat - io.agentscope.core.formatter中的类
-
Response format configuration for model APIs.
- ResponseFormat() - 类的构造器 io.agentscope.core.formatter.ResponseFormat
- ResponseFormat.Builder - io.agentscope.core.formatter中的类
- result(ToolResultBlock) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
-
Appends a single
ToolResultBlock. - result(String, String, String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
-
Appends a
ToolResultBlockbuilt from a tool call id, tool name and result text. - results(ToolResultBlock...) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
-
Replaces all accumulated results with the given blocks.
- results(List<ToolResultBlock>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
-
Replaces all accumulated results with the given list.
- retrieve(Msg) - 接口中的方法 io.agentscope.core.memory.LongTermMemory
-
已过时。Retrieves relevant information from long-term memory based on the input message.
- retrieve(String, RetrieveConfig) - 接口中的方法 io.agentscope.core.rag.Knowledge
-
已过时。Retrieves relevant documents based on a query.
- retrieveConfig(RetrieveConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. See
ReActAgent.Builder.knowledge(io.agentscope.core.rag.Knowledge). - RetrieveConfig - io.agentscope.core.rag.model中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
- RetrieveConfig.Builder - io.agentscope.core.rag.model中的类
-
已过时。Builder for RetrieveConfig.
- retrieveFromMemory(List<String>) - 类中的方法 io.agentscope.core.memory.LongTermMemoryTools
-
已过时。Tool function for agent to retrieve information from long-term memory.
- retrieveKnowledge(String, Integer, Agent, RuntimeContext) - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
-
已过时。Retrieves relevant documents from the knowledge base.
- RETRYABLE_ERRORS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
-
Predicate that determines if an error should be retried.
- retryOn(Predicate<Throwable>) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the predicate to determine if an error should trigger a retry.
- role - 类中的变量 io.agentscope.core.message.Msg.Builder
- role(MsgRole) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
-
Unsupported on
AssistantMessage.Builder: role is fixed to ASSISTANT. - role(MsgRole) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Sets the role for the message.
- role(MsgRole) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
-
Unsupported on
SystemMessage.Builder: role is fixed to SYSTEM. - role(MsgRole) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
-
Unsupported on
ToolResultMessage.Builder: role is fixed to TOOL. - role(MsgRole) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
-
Unsupported on
UserMessage.Builder: role is fixed to USER. - ruleContent() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回
ruleContent记录组件的值。 - runLifecycle(List<Msg>, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Shared
call()lifecycle: acquire execution, then (insidedeferContextualso the caller-suppliedRuntimeContextis read per-subscription) runAgentBase.beforeAgentExecution(List, RuntimeContext)(which returns this call's per-call scope), carry that scope on the Reactor Context, and run the preCall → doCall → postCall chain with error handling, releasing execution on terminate. - RUNNING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
- RUNNING - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
- RUNTIME_CONTEXT_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
-
Reactor Context key carrying the caller-supplied per-call
RuntimeContext. - runtimeContext(RuntimeContext) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Sets the runtime context for the tool call.
- RuntimeContext - 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). - RuntimeContext.Builder - io.agentscope.core.agent中的类
- RuntimeContextAware - io.agentscope.core.hook中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - runWithContext(ContextView, Supplier<TResp>) - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
S
- safeCast(Object, Class<T>) - 类中的静态方法 io.agentscope.core.util.TypeUtils
-
Safely cast an object to the specified type.
- safeCastOptional(Object, Class<T>) - 类中的静态方法 io.agentscope.core.util.TypeUtils
-
Safely cast an object to the specified type, returning Optional.
- save(AgentState) - 接口中的方法 io.agentscope.core.shutdown.ShutdownStateSaver
-
Persist the given agent state snapshot.
- save(String, String, String, State) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Save a single state value (full replacement).
- save(String, String, String, State) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- save(String, String, String, State) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- save(String, String, String, List<? extends State>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
-
Save a list of state values.
- save(String, String, String, List<? extends State>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
- save(String, String, String, List<? extends State>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
- save(List<AgentSkill>, boolean) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Saves or updates a skill in the repository.
- save(List<AgentSkill>, boolean) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- save(List<AgentSkill>, boolean) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- SAVE - 枚举类 中的枚举常量 io.agentscope.core.shutdown.PartialReasoningPolicy
- saveAgentState(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Persists the cached
AgentStatefor the session identified by the givenRuntimeContext. - saveAgentState(String, String) - 类中的方法 io.agentscope.core.ReActAgent
-
Persists the cached
AgentStatefor the given(userId, sessionId)slot via the configuredAgentStateStore. - saveBase64DataToTempFile(String, String) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Save base64 data to a temporary file.
- saveOnInterruptObserved(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
-
Called from agent's handleInterrupt when a SYSTEM interrupt is observed.
- saveSkills(Path, List<AgentSkill>, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Saves skills to the base directory.
- saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
-
已过时。
- saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
-
已过时。Save memory state to the session.
- saveTo(AgentStateStore, String, String) - 接口中的方法 io.agentscope.core.memory.Memory
-
已过时。Save the message buffer under the
memory_messagessession key. - saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- schema(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.JsonSchema.Builder
- SchemaOnlyTool - io.agentscope.core.tool中的类
-
An external tool implementation that only contains schema definition without execution logic.
- SchemaOnlyTool(ToolSchema) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
-
Creates a new SchemaOnlyTool from a ToolSchema.
- SchemaOnlyTool(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
-
Creates a new SchemaOnlyTool with the specified name, description, and parameters.
- SchemaOnlyTool(String, String, Map<String, Object>, Boolean) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
-
Creates a new SchemaOnlyTool with the specified name, description, parameters, and strict mode configuration.
- scope(ToolGroupScope) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Sets the scope of the tool group.
- scoreThreshold(double) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。Sets the minimum similarity score threshold.
- seed(Long) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the random seed for deterministic generation.
- seedSystemMsg(Object) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Returns the initial system message to seed into
PreCallEventbefore hooks run. - seedSystemMsg(Object) - 类中的方法 io.agentscope.core.ReActAgent
- send(T) - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
- send(T) - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
- send(T) - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
-
Send a message.
- serialize(Object, Type) - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
-
Serialize result to JSON string with schema.
- sessionId() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。返回
sessionId记录组件的值。 - sessionId() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回
sessionId记录组件的值。 - sessionId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- sessionId(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- sessionId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- SessionInfo - io.agentscope.core.state中的类
-
Information about a session.
- SessionInfo(String, long, long, int) - 类的构造器 io.agentscope.core.state.SessionInfo
-
Create a new SessionInfo instance.
- setActivatedGroups(List<String>) - 类中的方法 io.agentscope.core.state.ToolContextState
-
Replace the activated tool groups with the given list.
- setActive(boolean) - 类中的方法 io.agentscope.core.tool.ToolGroup
-
Sets the activation state of this tool group.
- setActiveGroups(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Set the active tool groups.
- setAgentState(AgentState) - 类中的方法 io.agentscope.core.agent.RuntimeContext
-
Installs the call-scoped
AgentState. - setAutoUploadSkill(boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Sets whether skill files are automatically uploaded.
- setChunkCallback(BiConsumer<ToolUseBlock, ToolResultBlock>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Set the chunk callback for streaming tool responses.
- setCodeExecutionEnable(boolean) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Sets whether code execution instructions are included in the skill system prompt.
- setCodeExecutionInstruction(String) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Sets a custom code execution instruction template.
- setConfig(GracefulShutdownConfig) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- setContextWindowSize(int) - 类中的方法 io.agentscope.core.model.ChatModelBase
- setCurIter(int) - 类中的方法 io.agentscope.core.state.AgentState
- setCurrentPlanFile(String) - 类中的方法 io.agentscope.core.state.PlanModeContextState
- setDefault(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Set the default HttpTransport instance.
- setDescription(String) - 类中的方法 io.agentscope.core.formatter.JsonSchema
- setEmbedding(double[]) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Sets the embedding vector.
- setExposeAllMetadata(boolean) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Sets whether all metadata fields are exposed to the LLM.
- setExposeAllSkillMetadata(boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Controls whether the skill prompt exposes all metadata fields or only the core fields.
- setFinalMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostCallEvent
-
已过时。Modify the final response message.
- setGenerateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
-
已过时。Set custom generation options for this reasoning call.
- setGenerateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Set custom generation options for this summary call.
- setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreCallEvent
-
已过时。Modify the input messages for the agent call.
- setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
-
已过时。Modify the messages to send to LLM.
- setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
-
已过时。Modify the messages to send to LLM for summary.
- setInternalChunkCallback(BiConsumer<ToolUseBlock, ToolResultBlock>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Set the framework-internal chunk callback for streaming tool responses.
- setJsonCodec(JsonCodec) - 类中的静态方法 io.agentscope.core.util.JsonUtils
-
Set a custom JsonCodec implementation.
- setJsonSchema(JsonSchema) - 类中的方法 io.agentscope.core.formatter.ResponseFormat
- setName(String) - 类中的方法 io.agentscope.core.formatter.JsonSchema
- setNativeStructuredOutput(boolean) - 类中的方法 io.agentscope.core.model.ChatModelBase
- setNativeStructuredOutputWithTools(boolean) - 类中的方法 io.agentscope.core.model.ChatModelBase
- setPermissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.state.AgentState
-
Replaces the permission context for this session.
- setPermissionMode(RuntimeContext, PermissionMode) - 类中的方法 io.agentscope.core.ReActAgent
-
Switches the
PermissionModefor the session identified by the givenRuntimeContext. - setPermissionMode(String, String, PermissionMode) - 类中的方法 io.agentscope.core.ReActAgent
-
Switches the
PermissionModefor the given(userId, sessionId)session at runtime and rebuilds that session's cachedPermissionEngineso the change takes effect on the next tool evaluation. - setPlanActive(boolean) - 类中的方法 io.agentscope.core.state.PlanModeContextState
- setReasoningMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Modify the reasoning result message.
- setReplyId(String) - 类中的方法 io.agentscope.core.state.AgentState
- setRuntimeContext(RuntimeContext) - 接口中的方法 io.agentscope.core.hook.RuntimeContextAware
-
已过时。Injects the runtime context for the current call, or
nullwhen not executing or when clearing after a call. - setSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.JsonSchema
- setScore(Double) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Sets the similarity score.
- setShutdownInterrupted(boolean) - 类中的方法 io.agentscope.core.state.AgentState
- setSkillActive(String, boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Sets the activation state of a specific skill.
- setStrict(Boolean) - 类中的方法 io.agentscope.core.formatter.JsonSchema
- setSummary(String) - 类中的方法 io.agentscope.core.state.AgentState
- setSummaryMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
-
已过时。Modify the summary result message.
- setSystemMessage(Msg) - 类中的方法 io.agentscope.core.hook.HookEvent
-
已过时。Replaces the entire system message with the given one.
- setToolResult(ToolResultBlock) - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Modify the tool execution result.
- setToolResultMsg(Msg) - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Set the tool result message.
- setToolUse(ToolUseBlock) - 类中的方法 io.agentscope.core.hook.PreActingEvent
-
已过时。Modify the tool call (e.g., change parameters).
- setType(String) - 类中的方法 io.agentscope.core.formatter.ResponseFormat
- setUploadDir(Path) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
-
Sets the upload directory whose absolute path replaces every
%splaceholder in the code execution instruction template. - setVectorName(String) - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。Sets the document vector name.
- setWorkDir(Path) - 类中的方法 io.agentscope.core.skill.SkillBox
-
Sets a stable working directory for resource uploads and code execution.
- setWriteable(boolean) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Sets the writeable flag for this repository.
- setWriteable(boolean) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- setWriteable(boolean) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- ShellCommandTool - io.agentscope.core.tool.coding中的类
-
Tool for executing shell commands with security validation.
- ShellCommandTool() - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
- ShellCommandTool(String, Set<String>, Function<String, Boolean>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
-
Constructor with base directory, command whitelist, and approval callback.
- ShellCommandTool(String, Set<String>, Function<String, Boolean>, CommandValidator) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
-
Constructor with base directory, command whitelist, approval callback, and custom validator.
- ShellCommandTool(String, Set<String>, Function<String, Boolean>, CommandValidator, Charset) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
-
Full constructor with all configuration options including charset.
- ShellCommandTool(Set<String>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
- ShellCommandTool(Set<String>, Function<String, Boolean>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
-
Constructor with command whitelist and approval callback.
- ShellCommandTool(Set<String>, Function<String, Boolean>, CommandValidator) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
-
Constructor with command whitelist, approval callback, and custom validator.
- shouldBypass(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Check if the given hostname should bypass the proxy.
- shouldBypassHistory(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
-
Check if a message should bypass history merging in multiagent formatters.
- shouldIncludeReasoningEmission(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Convenience method for stream implementations to decide whether to emit a reasoning subtype.
- shouldIncludeSummaryEmission(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Convenience method for stream implementations to decide whether to emit a summary subtype.
- shouldStream(EventType) - 类中的方法 io.agentscope.core.agent.StreamOptions
-
Check if a specific event type should be streamed.
- shutdown() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Shutdown and close all managed transports.
- shutdown() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
- shutdown() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
- shutdown() - 接口中的方法 io.agentscope.core.model.transport.WebSocketTransport
-
Shutdown the client and release resources.
- shutdown() - 接口中的方法 io.agentscope.core.tracing.Tracer
-
已过时。
- SHUTDOWN_REQUEST_ID_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
-
Reactor Context key carrying this call's graceful-shutdown
requestId(issued byGracefulShutdownManager.registerRequest(io.agentscope.core.agent.Agent)). - shutdownInterrupted(boolean) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- ShutdownSessionBinding - io.agentscope.core.shutdown中的记录类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- ShutdownSessionBinding(AgentStateStore, String, String) - 记录类的构造器 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。创建
ShutdownSessionBinding记录类的实例。 - ShutdownState - io.agentscope.core.shutdown中的枚举类
-
Global framework shutdown state.
- ShutdownStateSaver - io.agentscope.core.shutdown中的接口
-
Strategy for persisting
AgentStateduring graceful shutdown. - shutdownTimeout() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
-
返回
shutdownTimeout记录组件的值。 - SHUTTING_DOWN - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
- SimpleExtendedModel - io.agentscope.core.tool中的类
-
Simple implementation of ExtendedModel using maps.
- SimpleExtendedModel(Map<String, Object>, List<String>) - 类的构造器 io.agentscope.core.tool.SimpleExtendedModel
- skill(AgentSkill) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the skill to register.
- SKILL_HOOK_PRIORITY - 类中的静态变量 io.agentscope.core.skill.SkillHook
-
已过时。Runs after subagent prompt injection and before workspace context injection in the default harness hook chain.
- skillBox(SkillBox) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时。since 2.0.0. Skills now flow through
ReActAgent.Builder.skillRepository(io.agentscope.core.skill.repository.AgentSkillRepository)/ReActAgent.Builder.skillRepositories; legacySkillBoxinstances are still accepted for source compatibility, but combining askillBox(...)withskillRepository(...)is untested — new code should preferReActAgent.Builder.skillRepository(AgentSkillRepository). - SkillBox - io.agentscope.core.skill中的类
-
Manages a collection of
AgentSkillinstances and exposes them as tools. - SkillBox(Toolkit) - 类的构造器 io.agentscope.core.skill.SkillBox
- SkillBox(Toolkit, String) - 类的构造器 io.agentscope.core.skill.SkillBox
-
Creates a SkillBox with a toolkit and custom skill prompt instruction.
- SkillBox.SkillRegistration - io.agentscope.core.skill中的类
-
Fluent builder for registering skills with optional configuration.
- skillBuilder() - 类中的静态方法 io.agentscope.core.tool.SkillToolGroup
-
Creates a new builder for constructing SkillToolGroup instances.
- skillCodeExecutionEnabled(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Enables the code-execution prompt block emitted by
AgentSkillPromptProvider. - skillContent(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Sets the skill content.
- skillExists(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
-
Checks if a skill exists in the repository.
- skillExists(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
- skillExists(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
- skillExists(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Checks whether a skill exists by scanning SKILL.md metadata.
- SkillFileFilter - io.agentscope.core.skill中的接口
-
Filter for deciding whether a skill resource should be uploaded.
- SkillFileSystemHelper - io.agentscope.core.skill.util中的类
-
Utility class for file system operations related to skills.
- skillFilter(SkillFilter) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Builder-time
SkillFilterapplied by the auto-installedDynamicSkillMiddleware. - SkillFilter - io.agentscope.core.skill中的类
-
Immutable filter that decides which skills are allowed in a prompt.
- SkillHook - io.agentscope.core.skill中的类
-
已过时。since 2.0.0. The skill package and the hook system are removed; manage markdown skill catalogs in application code or via
MiddlewareBase. - SkillHook(SkillBox) - 类的构造器 io.agentscope.core.skill.SkillHook
-
已过时。
- SkillRegistration(SkillBox) - 类的构造器 io.agentscope.core.skill.SkillBox.SkillRegistration
- skillRepositories(List<AgentSkillRepository>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Replaces the current repository list with the supplied collection.
- skillRepository(AgentSkillRepository) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Adds a single
AgentSkillRepositoryto the layered skill stack. - SkillToolGroup - io.agentscope.core.tool中的类
-
A
ToolGroupthat is bound to a specific skill. - SkillToolGroup.Builder - io.agentscope.core.tool中的类
-
Builder for constructing SkillToolGroup instances.
- SkillUtil - io.agentscope.core.skill.util中的类
-
Utility class for creating AgentSkill instances.
- skillWorkDir(Path) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets a stable working directory used by
DynamicSkillMiddlewareforuploadSkillFiles. - socks4(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create a simple SOCKS4 proxy configuration.
- SOCKS4 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
-
SOCKS version 4 proxy.
- socks5(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create a simple SOCKS5 proxy configuration without authentication.
- socks5(String, int, String, String) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
-
Create a SOCKS5 proxy configuration with authentication.
- SOCKS5 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
-
SOCKS version 5 proxy.
- source() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
-
返回
source记录组件的值。 - source() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回
source记录组件的值。 - source(InterruptSource) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
-
Set the source of the interruption.
- source(Source) - 类中的方法 io.agentscope.core.message.AudioBlock.Builder
-
Sets the source for the audio content.
- source(Source) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
-
Sets the source for the data block.
- source(Source) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
-
Sets the source for the image.
- source(Source) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the source for the video content.
- source(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
-
Sets the source identifier.
- Source - io.agentscope.core.message中的类
-
Base class for media sources (URL or Base64).
- Source() - 类的构造器 io.agentscope.core.message.Source
- SpawnEntry(String, String, String, String, int) - 记录类的构造器 io.agentscope.core.state.ToolContextState.SpawnEntry
-
创建
SpawnEntry记录类的实例。 - Specific(String) - 记录类的构造器 io.agentscope.core.model.ToolChoice.Specific
-
Creates a Specific tool choice.
- sseTransport(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Configures HTTP SSE (Server-Sent Events) transport for stateful connections.
- Standard Defaults - 类 io.agentscope.core.model.ExecutionConfig中的搜索标记
- 节
- state(ToolCallState) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
-
Sets the tool call state.
- state(ToolResultState) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
-
Sets the tool result state.
- state(Task.State) - 类中的方法 io.agentscope.core.state.Task.Builder
- State - io.agentscope.core.state中的接口
-
Marker interface for persistable state objects.
- StateBackedMemory - io.agentscope.core.memory中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
AgentState.getContext()directly. - StateBackedMemory(AgentState) - 类的构造器 io.agentscope.core.memory.StateBackedMemory
-
已过时。
- stateForCall(Object) - 类中的方法 io.agentscope.core.agent.AgentBase
-
Returns the
AgentStatewhose conversation buffer should seed the pre-call memory snapshot for this invocation. - stateForCall(Object) - 类中的方法 io.agentscope.core.ReActAgent
- stateInjected() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Whether the tool requires the agent state to be injected at call time.
- stateInjected(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
- stateStore() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。返回
stateStore记录组件的值。 - stateStore(AgentStateStore) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the
AgentStateStorebacking automatic AgentState load (at construction) and save (after every successfulcall()and on graceful shutdown). - stateStore(AgentStateStore) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Sets the session for conversation state management.
- STATIC_CONTROL - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
-
已过时。Framework automatically manages memory without agent involvement.
- StaticLongTermMemoryHook - io.agentscope.core.memory中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Long-term memory and the
Hooksystem are removed; reimplement as aMiddlewareBaseif required. - StaticLongTermMemoryHook(LongTermMemory, Memory) - 类的构造器 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。Creates a new StaticLongTermMemoryHook with synchronous recording.
- StaticLongTermMemoryHook(LongTermMemory, Memory, boolean) - 类的构造器 io.agentscope.core.memory.StaticLongTermMemoryHook
-
已过时。Creates a new StaticLongTermMemoryHook.
- statusCode(int) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
-
Set the HTTP status code.
- stdioTransport(String, String...) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Configures StdIO transport for local process communication.
- stdioTransport(String, List<String>, Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Configures StdIO transport with environment variables.
- stopAgent() - 类中的方法 io.agentscope.core.hook.PostActingEvent
-
已过时。Request to stop the agent after this acting phase.
- stopAgent() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
-
已过时。Request to stop the agent after this reasoning phase.
- stopAgent() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
-
已过时。Request to stop the agent after this summary phase.
- stopOnReject() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
-
返回
stopOnReject记录组件的值。 - stopOnReject(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Controls whether a permission rejection of any tool call terminates the reasoning loop (instead of feeding the rejection back into the next reasoning round).
- stream(StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(Msg) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(Msg)for the fine-grainedAgentEventstream. - stream(Msg, StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(Msg)for the fine-grainedAgentEventstream. - stream(Msg, StreamOptions, JsonNode) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(Msg, StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(HttpRequest) - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
-
Execute a streaming HTTP request (Server-Sent Events).
- stream(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
- stream(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
- stream(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets whether streaming mode is enabled.
- stream(Boolean) - 类中的方法 io.agentscope.core.model.ModelCreationContext.Builder
- stream(Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(List)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions) - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(List)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(List)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, JsonNode) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, JsonNode, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent.streamEvents(List)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, RuntimeContext) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent.streamEvents(List)(and overloads that acceptRuntimeContextviacall()-driven lifecycle) for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent#streamEvents(...)for the fine-grainedAgentEventstream. - stream(List<Msg>, StreamOptions, Class<?>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal. Use
ReActAgent.streamEvents(List)for the fine-grainedAgentEventstream. - stream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.ChatModelBase
-
Stream chat completion responses.
- stream(List<Msg>, List<ToolSchema>, GenerateOptions) - 接口中的方法 io.agentscope.core.model.Model
-
Stream chat completion responses.
- STREAM_FORMAT_HEADER - 类中的静态变量 io.agentscope.core.model.transport.TransportConstants
-
Header name for specifying stream format.
- STREAM_FORMAT_NDJSON - 类中的静态变量 io.agentscope.core.model.transport.TransportConstants
-
Value for NDJSON stream format.
- StreamableAgent - io.agentscope.core.agent中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0, for removal in a future minor release. Every
stream(...)method on this interface returns the coarse-grainedEventtype, which is a v1 carry-over. UseReActAgent#streamEvents(...)instead — it returnsFlux<io.agentscope.core.event.AgentEvent>, the fine-grained event hierarchy that covers the full agent lifecycle (28 typed events including HITL) and is the single streaming surface going forward. See the v2 changelog section B.4 for migration details. - streamableHttpTransport(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Configures HTTP StreamableHTTP transport for stateless connections.
- streamEvents(Msg) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents for a single input message. - streamEvents(Msg, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents for a single input message with a caller-suppliedRuntimeContext. - streamEvents(String) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents for a plain text input. - streamEvents(String, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents for a plain text input with a caller-suppliedRuntimeContext. - streamEvents(List<Msg>) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents from the full agent lifecycle. - streamEvents(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
-
Stream fine-grained
AgentEvents with a caller-suppliedRuntimeContext. - StreamingHook - io.agentscope.core.agent中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Replaced by the
MiddlewareBasesystem. UseReActAgent.streamEvents(java.util.List)for fine-grained event streaming. - StreamingHook(FluxSink<Event>, StreamOptions) - 类的构造器 io.agentscope.core.agent.StreamingHook
-
已过时。Creates a new streaming hook.
- streamOptions(StreamOptions) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Sets the stream options for event forwarding.
- StreamOptions - io.agentscope.core.agent中的类
-
Configuration options for the
StreamableAgent.stream(io.agentscope.core.agent.StreamOptions)API. - StreamOptions.Builder - io.agentscope.core.agent中的类
-
Builder for
StreamOptions. - StreamUserInput - io.agentscope.core.agent.user中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- StreamUserInput.Builder - io.agentscope.core.agent.user中的类
-
已过时。Builder for StreamUserInput.
- strict() - 批注接口 中的元素 io.agentscope.core.tool.Tool
-
Whether to enable strict schema mode for this tool.
- strict(Boolean) - 类中的方法 io.agentscope.core.formatter.JsonSchema.Builder
- strict(Boolean) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
-
Sets the strict mode for schema validation.
- STRUCTURED_OUTPUT - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Structured output completed.
- STRUCTURED_OUTPUT - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key for structured output data.
- STRUCTURED_OUTPUT_REMINDER - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key to mark structured output reminder messages.
- STRUCTURED_OUTPUT_REMINDER_TYPE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
-
Metadata key for the type of structured output reminder.
- STRUCTURED_OUTPUT_TOOL_NAME - 类中的静态变量 io.agentscope.core.ReActAgent
-
Tool name used for the per-call structured-output
generate_responsetool. - StructuredOutputReminder - io.agentscope.core.model中的枚举类
-
Configuration for how to ensure the model calls generate_response tool in structured output mode.
- subAgent(SubAgentProvider<?>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Register a sub-agent as a tool with default configuration.
- subAgent(SubAgentProvider<?>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Register a sub-agent as a tool with default configuration.
- subAgent(SubAgentProvider<?>, SubAgentConfig) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Register a sub-agent as a tool with custom configuration.
- subAgent(SubAgentProvider<?>, SubAgentConfig) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Register a sub-agent as a tool with custom configuration.
- SUBAGENT_EXPOSED - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- SubAgentConfig - io.agentscope.core.tool.subagent中的类
-
Configuration for sub-agent registration.
- SubAgentConfig.Builder - io.agentscope.core.tool.subagent中的类
-
Builder for SubAgentConfig.
- SubagentEventBus - io.agentscope.core.agent中的接口
-
A lightweight channel that allows synchronously-invoked subagents to push their
Events into the parent agent'sFlux<Event>stream. - SubagentExposedEvent - io.agentscope.core.event中的类
-
Emitted when a spawned subagent is exposed as a user-addressable entry point via
agent_spawn(expose_to_user=true). - SubagentExposedEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.SubagentExposedEvent
- SubagentExposedEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.SubagentExposedEvent
- SubAgentProvider<T> - io.agentscope.core.tool.subagent中的接口
-
Factory interface for creating agent instances.
- SubAgentTool - io.agentscope.core.tool.subagent中的类
-
AgentTool implementation that wraps a sub-agent for multi-turn conversation.
- SubAgentTool(SubAgentProvider<?>, SubAgentConfig) - 类的构造器 io.agentscope.core.tool.subagent.SubAgentTool
-
Creates a new SubAgentTool.
- subject(String) - 类中的方法 io.agentscope.core.state.Task.Builder
- SUBMITTED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
- SUCCESS - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
- suggestedRules(List<PermissionRule>) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- summary(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Summary event - Generated when max iterations reached.
- SUMMARY_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
-
已过时。During summary streaming
- SummaryChunkEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - SummaryChunkEvent(Agent, String, GenerateOptions, Msg, Msg) - 类的构造器 io.agentscope.core.hook.SummaryChunkEvent
-
已过时。Constructor for SummaryChunkEvent.
- SummaryEvent - io.agentscope.core.hook中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
MiddlewareBaseinstead. - SummaryEvent(HookEventType, Agent, String, GenerateOptions) - 类的构造器 io.agentscope.core.hook.SummaryEvent
-
已过时。Constructor for SummaryEvent.
- supports(String) - 接口中的方法 io.agentscope.core.model.spi.ModelProvider
-
Returns whether this provider can create a model for the full model id, for example
openai:gpt-4o. - supports(String, ModelCreationContext) - 接口中的方法 io.agentscope.core.model.spi.ModelProvider
-
Returns whether this provider can create a model for the full model id and context.
- supportsNativeStructuredOutput() - 类中的方法 io.agentscope.core.model.ChatModelBase
- supportsNativeStructuredOutput() - 接口中的方法 io.agentscope.core.model.Model
-
Whether this model supports native structured output (
response_formatwithjson_schema). - supportsNativeStructuredOutputWithTools() - 类中的方法 io.agentscope.core.model.ChatModelBase
- supportsNativeStructuredOutputWithTools() - 接口中的方法 io.agentscope.core.model.Model
-
Whether this model correctly handles native structured output (
response_formatwithjson_schema) when tools are also present in the request. - suspended(ToolUseBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Creates a suspended tool result with default message.
- suspended(ToolUseBlock, ToolSuspendException) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Creates a suspended tool result from a ToolSuspendException.
- syncElicitation(Function<McpSchema.ElicitRequest, McpSchema.ElicitResult>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Registers a synchronous elicitation handler for processing elicit requests from the server.
- syncToolGroupStates() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Synchronize tool group states based on skill activation status with a specific toolkit.
- sysPrompt(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the system prompt for this agent.
- SYSTEM - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
-
Interruption initiated by system (timeout, resource limit, etc.).
- SYSTEM - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
-
System role for system instructions, prompts, or configuration messages.
- SystemMessage - io.agentscope.core.message中的类
-
A
MsgwithMsgRole.SYSTEMpinned at construction time. - SystemMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.SystemMessage
- SystemMessage(String) - 类的构造器 io.agentscope.core.message.SystemMessage
- SystemMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.SystemMessage
- SystemMessage(String, String) - 类的构造器 io.agentscope.core.message.SystemMessage
- SystemMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.SystemMessage
- SystemMessage.Builder - io.agentscope.core.message中的类
-
Fluent builder for
SystemMessage.
T
- Task - io.agentscope.core.state中的类
-
Persistent agent task record carried inside
TaskContextState. - Task.Builder - io.agentscope.core.state中的类
- Task.State - io.agentscope.core.state中的枚举类
-
Allowed values for
Task.state. - TaskContextState - io.agentscope.core.state中的类
-
Mutable bag of
Tasks carried byAgentState. - TaskContextState() - 类的构造器 io.agentscope.core.state.TaskContextState
-
Construct an empty context.
- TaskContextState(List<Task>) - 类的构造器 io.agentscope.core.state.TaskContextState
- taskId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
-
已过时。
- TaskReminderMiddleware - io.agentscope.core.middleware中的类
-
Keeps the agent's todo list in front of the model so long-running tasks don't drift.
- TaskReminderMiddleware() - 类的构造器 io.agentscope.core.middleware.TaskReminderMiddleware
- tasksContext(TaskContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- tasksMutable() - 类中的方法 io.agentscope.core.state.TaskContextState
-
Live, mutable handle for tool implementations that need to append/remove tasks in place.
- temperature(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the temperature for text generation.
- TERMINATED - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
- text() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
-
Create a plain text response format.
- text(String) - 类中的方法 io.agentscope.core.message.TextBlock.Builder
-
Sets the text content for the block.
- text(String) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
-
Create a simple text result (for tool method return values).
- TEXT_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TEXT_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TEXT_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TextBlock - io.agentscope.core.message中的类
-
Represents plain text content in a message.
- TextBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing TextBlock instances.
- TextBlockDeltaEvent - io.agentscope.core.event中的类
- TextBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockDeltaEvent
- TextBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockDeltaEvent
- TextBlockEndEvent - io.agentscope.core.event中的类
- TextBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.TextBlockEndEvent
- TextBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockEndEvent
- TextBlockStartEvent - io.agentscope.core.event中的类
- TextBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.TextBlockStartEvent
- TextBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockStartEvent
- textContent(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- textContent(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Set text content from a string.
- textContent(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- textContent(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- textContent(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- thinking(String) - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
-
Sets the thinking content for the block.
- THINKING_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- THINKING_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- THINKING_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- ThinkingBlock - io.agentscope.core.message中的类
-
Represents reasoning or thinking content in a message.
- ThinkingBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing ThinkingBlock instances.
- ThinkingBlockDeltaEvent - io.agentscope.core.event中的类
- ThinkingBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockDeltaEvent
- ThinkingBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockDeltaEvent
- ThinkingBlockEndEvent - io.agentscope.core.event中的类
- ThinkingBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockEndEvent
- ThinkingBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockEndEvent
- ThinkingBlockStartEvent - io.agentscope.core.event中的类
- ThinkingBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockStartEvent
- ThinkingBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockStartEvent
- thinkingBudget(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the thinking budget (maximum tokens for reasoning/thinking content).
- throwable() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
返回
throwable记录组件的值。 - time(double) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
-
Sets the execution time.
- timeout(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
-
Sets the timeout duration for a single execution.
- timeout(Duration) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
-
Sets the request timeout duration.
- timestamp - 类中的变量 io.agentscope.core.message.Msg.Builder
- timestamp(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- timestamp(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Sets the timestamp for the message.
- timestamp(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- timestamp(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- timestamp(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- timestamp(Instant) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
-
Set the timestamp of the interruption.
- toBuilder() - 类中的方法 io.agentscope.core.model.ModelCreationContext
-
Returns a mutable builder initialized from this context.
- toBuilder() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Creates a builder initialized with this skill's values.
- toContext() - 类中的方法 io.agentscope.core.interruption.InterruptControl
-
Build an
InterruptContextsnapshot of the current signal. - TodoItem(String, String, String) - 类的构造器 io.agentscope.core.tool.builtin.TodoTools.TodoItem
- TodoTools - io.agentscope.core.tool.builtin中的类
-
Built-in task-list tool that lets the agent maintain a structured todo list for the current session, mirroring opencode's
todowrite. - TodoTools() - 类的构造器 io.agentscope.core.tool.builtin.TodoTools
- TodoTools.TodoItem - io.agentscope.core.tool.builtin中的类
-
A single todo item as supplied by the model.
- todoWrite(List<TodoTools.TodoItem>, AgentState) - 类中的方法 io.agentscope.core.tool.builtin.TodoTools
-
Replaces the session task list with
todos. - toFileProtocolUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a local file path to file:// protocol URL.
- toJavaProxy() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
-
Convert this configuration to a
Proxyinstance. - toJdkHttpVersion() - 枚举类中的方法 io.agentscope.core.model.transport.HttpVersion
- toJson() - 类中的方法 io.agentscope.core.state.AgentState
-
Serialize this state to a pretty-printed JSON string.
- toJson(Object) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- toJson(Object) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Serialize an object to JSON string.
- tool(Object) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
-
Set the tool object to register (scans for @Tool methods).
- tool(Object) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
-
Set the tool object to register (scans for @Tool methods).
- Tool - io.agentscope.core.tool中的批注接口
-
Annotation to mark a method as a tool that can be invoked by AI agents.
- TOOL - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
-
Interruption initiated by tool execution logic.
- TOOL - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
-
Tool role for messages containing tool execution results or responses.
- TOOL_CALL_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_CALL_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_CALL_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_CALLS - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Model returned tool calls (internal tools, framework will continue execution).
- TOOL_CHOICE - 枚举类 中的枚举常量 io.agentscope.core.model.StructuredOutputReminder
-
Use tool_choice API parameter to force the tool call when the model doesn't call it voluntarily.
- TOOL_DEFAULTS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
-
Standard defaults for tool executions.
- TOOL_RESULT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
-
已过时。Tool execution result event.
- TOOL_RESULT_DATA_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_RESULT_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_RESULT_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_RESULT_TEXT_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- TOOL_SUSPENDED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
-
Tool execution was suspended, waiting for user to provide results.
- ToolBase - io.agentscope.core.tool中的类
-
Abstract base class for tools that participate in permission evaluation and ReAct execution.
- ToolBase(ToolBase.Builder) - 类的构造器 io.agentscope.core.tool.ToolBase
-
Builder-based constructor (preferred).
- ToolBase(String, String, Map<String, Object>, boolean, boolean, boolean, String, boolean, boolean) - 类的构造器 io.agentscope.core.tool.ToolBase
-
Positional constructor used by built-in tools and any subclass that prefers explicit arguments over
ToolBase.builder(). - ToolBase.Builder - io.agentscope.core.tool中的类
-
Fluent builder for
ToolBasesubclasses. - ToolCallDeltaEvent - io.agentscope.core.event中的类
-
Emitted as tool call input arguments are streamed incrementally.
- ToolCallDeltaEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallDeltaEvent
- ToolCallDeltaEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallDeltaEvent
- ToolCallEndEvent - io.agentscope.core.event中的类
- ToolCallEndEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallEndEvent
- ToolCallEndEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallEndEvent
- ToolCallParam - io.agentscope.core.tool中的类
-
Parameters for tool invocation.
- ToolCallParam.Builder - io.agentscope.core.tool中的类
-
Builder for ToolCallParam.
- toolCalls() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
-
返回
toolCalls记录组件的值。 - ToolCallStartEvent - io.agentscope.core.event中的类
- ToolCallStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallStartEvent
- ToolCallStartEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallStartEvent
- ToolCallState - io.agentscope.core.message中的枚举类
- toolChoice(ToolChoice) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the tool choice configuration for controlling how the model uses tools.
- ToolChoice - io.agentscope.core.model中的接口
-
Represents the tool choice behavior for LLM model calls.
- ToolChoice.Auto - io.agentscope.core.model中的记录类
-
Auto mode: Let the model decide whether and which tools to call.
- ToolChoice.None - io.agentscope.core.model中的记录类
-
None mode: Prevent the model from calling any tools.
- ToolChoice.Required - io.agentscope.core.model中的记录类
-
Required mode: Force the model to call at least one tool.
- ToolChoice.Specific - io.agentscope.core.model中的记录类
-
Specific mode: Force the model to call a specific tool by name.
- toolContext(ToolContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
- ToolContextState - io.agentscope.core.state中的类
-
Read-cache backing for file-touching tools (Read / Write / Edit).
- ToolContextState.Builder - io.agentscope.core.state中的类
- ToolContextState.SpawnEntry - io.agentscope.core.state中的记录类
-
Serializable metadata for a spawned subagent, persisted alongside the parent agent's state so that
agent_sendcan lazily rebuild the liveAgentinstance after session restore or on a different replica. - ToolDangerousPathConstants - io.agentscope.core.tool中的类
-
Defaults for the dangerous-path and dangerous-command lists consulted by tool self-checks.
- ToolEmitter - io.agentscope.core.tool中的接口
-
Interface for emitting streaming responses during tool execution.
- toolExecutionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the execution configuration for tool executions.
- toolExecutionContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
-
Nests a
ToolExecutionContext(e.g. agent builder-level tool DI) that will be visible at lower priority than runtime attributes inRuntimeContext.asToolExecutionContext(). - toolExecutionContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
已过时。Use
RuntimeContextwithagent.call(msg, runtimeContext)or register POJOs directly viaRuntimeContext.builder().put(Type, value). - ToolExecutionContext - io.agentscope.core.tool中的类
-
已过时。Use
RuntimeContextinstead. Register POJOs viaRuntimeContext.builder().put(Type.class, value).build()and pass toagent.call(msg, runtimeContext). - ToolExecutionContext.Builder - io.agentscope.core.tool中的类
-
已过时。Builder for ToolExecutionContext.
- ToolExecutionContextProvider - io.agentscope.core.tool中的接口
-
已过时。Part of the
ToolExecutionContextlayer which is superseded byRuntimeContext. - ToolGroup - io.agentscope.core.tool中的类
-
Represents a named group of tools with activation state.
- ToolGroup(String, String, boolean, ToolGroupScope, Set<String>) - 类的构造器 io.agentscope.core.tool.ToolGroup
-
Protected constructor for subclass use.
- ToolGroup.Builder - io.agentscope.core.tool中的类
-
Builder for constructing ToolGroup instances.
- ToolGroupScope - io.agentscope.core.tool中的枚举类
-
Defines who manages a
ToolGroup's activation lifecycle. - toolkit(Toolkit) - 类中的方法 io.agentscope.core.ReActAgent.Builder
-
Sets the toolkit containing available tools for this agent.
- toolkit(Toolkit) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
- Toolkit - io.agentscope.core.tool中的类
-
Toolkit manages the registration, retrieval, and execution of agent tools.
- Toolkit() - 类的构造器 io.agentscope.core.tool.Toolkit
-
Create a Toolkit with default configuration (sequential execution using Reactor).
- Toolkit(ToolkitConfig) - 类的构造器 io.agentscope.core.tool.Toolkit
-
Create a Toolkit with custom configuration.
- Toolkit.ToolRegistration - io.agentscope.core.tool中的类
-
Fluent builder for registering tools with optional configuration.
- ToolkitAware - io.agentscope.core.tool中的接口
-
Implemented by middleware (or other components) that hold a reference to a
Toolkit. - ToolkitConfig - io.agentscope.core.tool中的类
-
Configuration for Toolkit execution behavior.
- ToolkitConfig.Builder - io.agentscope.core.tool中的类
-
Builder for ToolkitConfig.
- ToolkitState - io.agentscope.core.state.legacy中的记录类
-
Deserialization shape for the v1
toolkit_activeGroupssession entry. - ToolkitState(List<String>) - 记录类的构造器 io.agentscope.core.state.legacy.ToolkitState
-
创建
ToolkitState记录类的实例。 - toolName() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
-
返回
toolName记录组件的值。 - toolName() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回
toolName记录组件的值。 - toolName(String) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
-
Sets the tool name.
- ToolParam - io.agentscope.core.tool中的批注接口
-
Annotation to describe parameters of a tool method.
- ToolResultBlock - io.agentscope.core.message中的类
-
Represents the result of a tool execution.
- ToolResultBlock(String, String, ContentBlock) - 类的构造器 io.agentscope.core.message.ToolResultBlock
-
Creates a tool result block with a single content block output.
- ToolResultBlock(String, String, List<ContentBlock>) - 类的构造器 io.agentscope.core.message.ToolResultBlock
-
Creates a tool result block with a list of content blocks as output.
- ToolResultBlock(String, String, List<ContentBlock>, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolResultBlock
- ToolResultBlock(String, String, List<ContentBlock>, Map<String, Object>, ToolResultState) - 类的构造器 io.agentscope.core.message.ToolResultBlock
- ToolResultBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing ToolResultBlock instances.
- ToolResultConverter - io.agentscope.core.tool中的接口
-
Converts tool method return values to ToolResultBlock.
- ToolResultDataDeltaEvent - io.agentscope.core.event中的类
- ToolResultDataDeltaEvent(String, String, String, ContentBlock) - 类的构造器 io.agentscope.core.event.ToolResultDataDeltaEvent
- ToolResultDataDeltaEvent(String, String, String, String, String, ContentBlock) - 类的构造器 io.agentscope.core.event.ToolResultDataDeltaEvent
- ToolResultEndEvent - io.agentscope.core.event中的类
- ToolResultEndEvent(String, String, String, ToolResultState) - 类的构造器 io.agentscope.core.event.ToolResultEndEvent
- ToolResultEndEvent(String, String, String, String, String, ToolResultState) - 类的构造器 io.agentscope.core.event.ToolResultEndEvent
- ToolResultMessage - io.agentscope.core.message中的类
-
A
MsgwithMsgRole.TOOLpinned at construction time. - ToolResultMessage(ToolResultBlock...) - 类的构造器 io.agentscope.core.message.ToolResultMessage
- ToolResultMessage(String, String, String) - 类的构造器 io.agentscope.core.message.ToolResultMessage
- ToolResultMessage(List<ToolResultBlock>) - 类的构造器 io.agentscope.core.message.ToolResultMessage
- ToolResultMessage.Builder - io.agentscope.core.message中的类
-
Fluent builder for
ToolResultMessage. - ToolResultStartEvent - io.agentscope.core.event中的类
- ToolResultStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultStartEvent
- ToolResultStartEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultStartEvent
- ToolResultState - io.agentscope.core.message中的枚举类
- ToolResultTextDeltaEvent - io.agentscope.core.event中的类
- ToolResultTextDeltaEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultTextDeltaEvent
- ToolResultTextDeltaEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultTextDeltaEvent
- tools() - 接口中的方法 io.agentscope.core.hook.Hook
-
已过时。Optional tools installed together with this hook.
- tools() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回
tools记录组件的值。 - tools() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
返回
tools记录组件的值。 - tools(Set<String>) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
-
Sets the initial set of tools in this group.
- tools(Set<String>) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
-
Sets the initial set of tools in this group.
- ToolSchema - io.agentscope.core.model中的类
-
Immutable tool schema definition.
- ToolSchema.Builder - io.agentscope.core.model中的类
-
Builder for creating ToolSchema instances.
- ToolSchemaModule - io.agentscope.core.tool中的类
-
A victools JSON Schema
Modulethat readsToolParamannotations to populate"description"and"required"in the generated schema. - ToolSchemaModule(ToolSchemaModule.Option...) - 类的构造器 io.agentscope.core.tool.ToolSchemaModule
-
Creates a module with the given options.
- ToolSchemaModule.Option - io.agentscope.core.tool中的枚举类
-
Options for customizing module behavior.
- ToolSuspendException - io.agentscope.core.tool中的异常错误类
-
Exception thrown to signal that a tool execution should be suspended and handled externally.
- ToolSuspendException() - 异常错误类的构造器 io.agentscope.core.tool.ToolSuspendException
-
Creates a new ToolSuspendException with default message.
- ToolSuspendException(String) - 异常错误类的构造器 io.agentscope.core.tool.ToolSuspendException
-
Creates a new ToolSuspendException with a custom reason.
- toolUse - 类中的变量 io.agentscope.core.hook.ActingEvent
-
已过时。
- toolUseBlock(ToolUseBlock) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
-
Sets the tool use block.
- ToolUseBlock - io.agentscope.core.message中的类
-
Represents a tool use request within a message.
- ToolUseBlock(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
-
Creates a new tool use block without metadata (convenience constructor).
- ToolUseBlock(String, String, Map<String, Object>, String, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
-
Creates a new tool use block with raw content for streaming.
- ToolUseBlock(String, String, Map<String, Object>, String, Map<String, Object>, ToolCallState) - 类的构造器 io.agentscope.core.message.ToolUseBlock
-
Creates a new tool use block with all fields.
- ToolUseBlock(String, String, Map<String, Object>, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
-
Creates a new tool use block for JSON deserialization.
- ToolUseBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing ToolUseBlock instances.
- ToolValidator - io.agentscope.core.tool中的类
-
Unified validator for tool-related operations.
- topK(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the top-k sampling parameter.
- topP(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
-
Sets the top-p (nucleus sampling) parameter.
- toPrettyJson(Object) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
- toPrettyJson(Object) - 接口中的方法 io.agentscope.core.util.JsonCodec
-
Serialize an object to pretty-printed JSON string.
- toString() - 类中的方法 io.agentscope.core.agent.AgentBase
- toString() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.agent.Event
-
已过时。
- toString() - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。
- toString() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
- toString() - 类中的方法 io.agentscope.core.credential.KimiCredential
- toString() - 记录类中的方法 io.agentscope.core.credential.ModelCard
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.credential.XAICredential
- toString() - 类中的方法 io.agentscope.core.event.AgentEvent
- toString() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.interruption.InterruptContext
-
Returns a string representation of the interrupt context.
- toString() - 类中的方法 io.agentscope.core.message.TextBlock
- toString() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.model.ModelCreationContext
- toString() - 异常错误类中的方法 io.agentscope.core.model.ModelException
- toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
-
返回此记录类的字符串表示形式。
- toString() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
-
Get the formatted error message with all available details.
- toString() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
- toString() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.permission.PermissionContextState
- toString() - 类中的方法 io.agentscope.core.permission.PermissionDecision
- toString() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.rag.model.Document
-
已过时。
- toString() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.skill.AgentSkill
-
Returns a string representation of this skill.
- toString() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
-
Returns a string representation of this repository info.
- toString() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
- toString() - 类中的方法 io.agentscope.core.state.AgentState
- toString() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.state.PlanModeContextState
- toString() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.state.SessionInfo
-
Returns a string representation of the session information.
- toString() - 类中的方法 io.agentscope.core.state.Task
- toString() - 类中的方法 io.agentscope.core.state.TaskContextState
- toString() - 记录类中的方法 io.agentscope.core.state.ToolContextState.SpawnEntry
-
返回此记录类的字符串表示形式。
- toString() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
-
返回此记录类的字符串表示形式。
- toString() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
-
已过时。
- totalPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
-
Sets the total pixels of all frames extracted from the video (single image pixels × total frames).
- Tracer - io.agentscope.core.tracing中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
OtelTracingMiddlewareinstead. - TracerRegistry - io.agentscope.core.tracing中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。since 2.0.0. Use
OtelTracingMiddlewareinstead. - TracerRegistry() - 类的构造器 io.agentscope.core.tracing.TracerRegistry
-
已过时。
- TransportConstants - io.agentscope.core.model.transport中的类
-
Constants for HTTP transport layer.
- trigger(InterruptSource, Msg) - 类中的方法 io.agentscope.core.interruption.InterruptControl
-
Raise the interrupt signal.
- type(ProxyType) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the proxy type.
- type(String) - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
- TYPE - 类中的静态变量 io.agentscope.core.credential.DeepSeekCredential
- TYPE - 类中的静态变量 io.agentscope.core.credential.KimiCredential
- TYPE - 类中的静态变量 io.agentscope.core.credential.XAICredential
- TypeUtils - io.agentscope.core.util中的类
-
Utility class for type-safe operations.
U
- unbindRuntimeContextFromHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
-
Clears the
RuntimeContextpreviously pushed to allRuntimeContextAwarehooks. - UnixCommandValidator - io.agentscope.core.tool.coding中的类
-
Command validator for Unix-like systems (Linux, macOS).
- UnixCommandValidator() - 类的构造器 io.agentscope.core.tool.coding.UnixCommandValidator
- unregister(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
-
Unregister an HttpTransport from lifecycle management.
- unregisterRequest(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
- updatedAt() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
-
返回
updatedAt记录组件的值。 - updatedInput(Map<String, Object>) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
- updateToolGroups(List<String>, boolean) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Update the activation status of tool groups.
- updateToolPresetParameters(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.Toolkit
-
Update preset parameters for a registered tool at runtime.
- uploadSkillFiles() - 类中的方法 io.agentscope.core.skill.SkillBox
-
Uploads skill files to the upload directory with the configured filter.
- url(String) - 类中的方法 io.agentscope.core.message.URLSource.Builder
-
Sets the URL for the media content.
- url(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
-
Set the request URL.
- URLSource - io.agentscope.core.message中的类
-
Represents URL-based media content.
- URLSource(String) - 类的构造器 io.agentscope.core.message.URLSource
-
Creates a new URL source without a MIME type hint.
- URLSource(String, String) - 类的构造器 io.agentscope.core.message.URLSource
-
Creates a new URL source for JSON deserialization.
- URLSource.Builder - io.agentscope.core.message中的类
-
Builder for constructing URLSource instances.
- urlToBase64DataUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a file or web URL to a data URL with base64 encoding.
- urlToInputStream(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a file or web URL to an InputStream.
- urlToProtocolUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a URL to a file:// protocol URL or leave as-is for web URLs.
- urlToRgbaImageInputStream(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Convert a file or web URL to an InputStream with RGBA image.
- usage - 类中的变量 io.agentscope.core.message.Msg.Builder
- usage(ChatUsage) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
- usage(ChatUsage) - 类中的方法 io.agentscope.core.message.Msg.Builder
-
Sets the token usage information for this message.
- usage(ChatUsage) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
- usage(ChatUsage) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
- usage(ChatUsage) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
- usage(ChatUsage) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
-
Sets the usage information for the response.
- USER - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
-
Interruption initiated by user request.
- USER - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
-
User role for messages from human users or external inputs.
- USER_CONFIRM_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
- UserAgent - io.agentscope.core.agent.user中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- UserAgent.Builder - io.agentscope.core.agent.user中的类
-
已过时。Builder for UserAgent.
- UserConfirmResultEvent - io.agentscope.core.event中的类
-
Emitted after the user has responded to a
RequireUserConfirmEvent. - UserConfirmResultEvent(String, String, String, List<ConfirmResult>) - 类的构造器 io.agentscope.core.event.UserConfirmResultEvent
- UserConfirmResultEvent(String, List<ConfirmResult>) - 类的构造器 io.agentscope.core.event.UserConfirmResultEvent
- userId() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
-
已过时。返回
userId记录组件的值。 - userId(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
- userId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
-
Nullable;
null= anonymous / single-tenant context. - UserInputBase - io.agentscope.core.agent.user中的接口
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- UserInputData - io.agentscope.core.agent.user中的类
-
已过时, 待删除: 此 API 元素将从以后的版本中删除。
- UserInputData(List<ContentBlock>, Map<String, Object>) - 类的构造器 io.agentscope.core.agent.user.UserInputData
-
已过时。Creates a new UserInputData instance.
- userMessage(Msg) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
-
Set the user message that triggered the interruption.
- UserMessage - io.agentscope.core.message中的类
-
A
MsgwithMsgRole.USERpinned at construction time. - UserMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.UserMessage
- UserMessage(String) - 类的构造器 io.agentscope.core.message.UserMessage
- UserMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.UserMessage
- UserMessage(String, String) - 类的构造器 io.agentscope.core.message.UserMessage
- UserMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.UserMessage
- UserMessage.Builder - io.agentscope.core.message中的类
-
Fluent builder for
UserMessage. - username(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
-
Set the authentication username.
V
- validate(String, Set<String>) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
-
Validate if a command is allowed to execute.
- validate(String, Set<String>) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
- validate(String, Set<String>) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
- validateAndResolvePath(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
-
Validates that a resolved path is within the base directory.
- validateAudioExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Validate that an audio file has a supported extension.
- validateImageExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Validate that an image file has a supported extension.
- validateInput(String, Map<String, Object>) - 类中的静态方法 io.agentscope.core.tool.ToolValidator
-
Validate tool input parameters against a JSON Schema using networknt-schema.
- validateToolResultMatch(Msg, List<Msg>) - 类中的静态方法 io.agentscope.core.tool.ToolValidator
-
Validate that ToolResult messages match pending ToolUse blocks.
- validateVideoExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
-
Validate that a video file has a supported extension.
- ValidationResult(boolean, String, String) - 类的构造器 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.agent.EventType
-
已过时。返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.hook.HookEventType
-
已过时。返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.interruption.InterruptSource
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.memory.LongTermMemoryMode
-
已过时。返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.GenerateReason
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.MsgRole
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.ToolCallState
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.ToolResultState
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.CachePolicy
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.StructuredOutputReminder
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.transport.HttpVersion
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.transport.ProxyType
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.rag.RAGMode
-
已过时。返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.shutdown.PartialReasoningPolicy
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.shutdown.ShutdownState
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.state.Task.State
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.tool.ToolGroupScope
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 io.agentscope.core.tool.ToolSchemaModule.Option
-
返回带有指定名称的该类的枚举常量。
- values() - 枚举类中的静态方法 io.agentscope.core.agent.EventType
-
已过时。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.hook.HookEventType
-
已过时。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.interruption.InterruptSource
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.memory.LongTermMemoryMode
-
已过时。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.message.GenerateReason
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.message.MsgRole
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.message.ToolCallState
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.message.ToolResultState
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.model.CachePolicy
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.model.StructuredOutputReminder
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.model.transport.HttpVersion
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.model.transport.ProxyType
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.rag.RAGMode
-
已过时。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.shutdown.PartialReasoningPolicy
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.shutdown.ShutdownState
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.state.Task.State
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.tool.ToolGroupScope
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 io.agentscope.core.tool.ToolSchemaModule.Option
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- vectorName(String) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
-
已过时。Sets the vector name for retrieval.
- Version - io.agentscope.core中的类
-
AgentScope version and User-Agent information.
- VERSION - 类中的静态变量 io.agentscope.core.Version
-
AgentScope Java version
- VideoBlock - io.agentscope.core.message中的类
-
Represents video content in a message.
- VideoBlock(Source) - 类的构造器 io.agentscope.core.message.VideoBlock
-
Creates a new video block with source.
- VideoBlock.Builder - io.agentscope.core.message中的类
-
Builder for constructing VideoBlock instances.
- viewTextFile(String, String) - 类中的方法 io.agentscope.core.tool.file.ReadFileTool
-
View the file content in the specified range with line numbers.
W
- WebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的接口
-
WebSocket connection interface.
- WebSocketRequest - io.agentscope.core.model.transport.websocket中的类
-
WebSocket connection request configuration.
- WebSocketRequest.Builder - io.agentscope.core.model.transport.websocket中的类
-
Builder for WebSocketRequest.
- WebSocketTransport - io.agentscope.core.model.transport中的接口
-
WebSocket client interface.
- WebSocketTransportConfig - io.agentscope.core.model.transport.websocket中的类
-
Configuration for WebSocket clients.
- WebSocketTransportConfig.Builder - io.agentscope.core.model.transport.websocket中的类
-
Builder for WebSocketTransportConfig.
- WebSocketTransportException - io.agentscope.core.model.transport.websocket中的异常错误类
-
WebSocket transport layer exception.
- WebSocketTransportException(String, Throwable, String, String) - 异常错误类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportException
-
Create a WebSocketTransportException.
- WebSocketTransportException(String, Throwable, String, String, Map<String, String>) - 异常错误类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportException
-
Create a WebSocketTransportException with headers.
- WindowsCommandValidator - io.agentscope.core.tool.coding中的类
-
Command validator for Windows systems.
- WindowsCommandValidator() - 类的构造器 io.agentscope.core.tool.coding.WindowsCommandValidator
- withAppendedPath(String) - 类中的方法 io.agentscope.core.agent.EventSource
-
已过时。Returns a new
EventSourcewithpathextended bysegment, anddepthincremented by one. - withContent(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.Msg
-
Returns a copy of this message with the given content blocks.
- withGenerateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.Msg
-
Creates a new message with the specified generate reason.
- withId(String) - 类中的方法 io.agentscope.core.model.ChatResponse
-
Creates a new instance of ChatResponse with the specified ID, copying all other fields from this instance.
- withIdAndName(String, String) - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Create a ToolResultBlock for use in messages by setting id and name.
- withMetadata(Map<String, Object>) - 类中的方法 io.agentscope.core.event.AgentEvent
-
Attaches arbitrary key-value metadata to this event and returns it for chaining.
- withMode(PermissionMode) - 类中的方法 io.agentscope.core.permission.PermissionContextState
-
Returns a copy of this context with the
PermissionModereplaced and every working directory and rule preserved. - withSource(EventSource) - 类中的方法 io.agentscope.core.agent.Event
-
已过时。Returns a copy of this event with the given source attached.
- withSource(String) - 类中的方法 io.agentscope.core.event.AgentEvent
-
Sets the source path and returns this event.
- withState(ToolCallState) - 类中的方法 io.agentscope.core.message.ToolUseBlock
-
Returns a copy of this block with the given state.
- withState(ToolResultState) - 类中的方法 io.agentscope.core.message.ToolResultBlock
-
Returns a copy of this block with the given state.
- withSuggestedRules(List<PermissionRule>) - 类中的方法 io.agentscope.core.permission.PermissionDecision
-
Returns a copy of this decision with the given suggested rules attached.
- wrap(String) - 类中的静态方法 io.agentscope.core.memory.LongTermMemoryTools
-
已过时。
- WriteFileTool - io.agentscope.core.tool.file中的类
-
Text file writing and insertion tools.
- WriteFileTool() - 类的构造器 io.agentscope.core.tool.file.WriteFileTool
-
Creates a WriteFileTool with no base directory restriction.
- WriteFileTool(String) - 类的构造器 io.agentscope.core.tool.file.WriteFileTool
-
Creates a WriteFileTool with a base directory restriction.
- writeTextFile(String, String, String) - 类中的方法 io.agentscope.core.tool.file.WriteFileTool
-
Create/Replace/Overwrite content in a text file.
- writeTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
-
Set the write timeout.
- writeTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
-
Set the write timeout.
X
- XAICredential - io.agentscope.core.credential中的类
-
Credential for the xAI API.
- XAICredential.Builder - io.agentscope.core.credential中的类
常量字段值|所有程序包|所有类和接口|序列化表格
MiddlewareBaseinstead.