AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.agent

io.agentscope.core.agent

package io.agentscope.core.agent

io.agentscope.core.agent 属于智能体运行时,推理、工具调用与会话执行。 该包共收录 18 个公开类型。

io.agentscope.core.agent belongs to the Agent runtime layer and contains 18 public types.

所属构件Artifacts agentscope-core

接口Interfaces

类型Type种类Kind说明Description
Agent接口interface
定义智能体契约的接口。
Complete agent interface combining all capabilities.
CallableAgent接口interface
定义 Callable 智能体契约的接口。
Interface for agents that can be called to process messages.
ObservableAgent接口interface
定义 Observable 智能体契约的接口。
Interface for agents that can observe messages without generating replies.
StreamableAgent接口interface
定义 Streamable 智能体契约的接口。
Interface for agents that support streaming events during execution.
SubagentEventBus接口interface
定义子智能体事件总线契约的接口。
A lightweight channel that allows synchronously-invoked subagents to push their `Event`s into the parent agent's `Flux<Event>` stream.

类Classes

类型Type种类Kind说明Description
AgentBase类class
智能体生命周期基类
Abstract base class for all agents in the AgentScope framework.
AgentRun类class
智能体运行,驱动智能体的推理、工具调用与会话执行。
A single-use, lazy execution handle.
Event类class
事件,描述执行过程中的事件。
An event emitted during streaming agent execution.
EventSource类class
事件来源,驱动智能体的推理、工具调用与会话执行。
@deprecated since 2.0.0.
RunControl类class
运行 Control,驱动智能体的推理、工具调用与会话执行。
Runtime-only control for one execution; never stored in conversation state.
RuntimeContext类class
单次调用上下文
Per-call metadata for an agent run: session-scoped fields plus a thread-safe attribute bag and an optional `ToolExecutionContext` (tool-POJO / DI layer).
StreamingHook类class
流式钩子,驱动智能体的推理、工具调用与会话执行。
Internal hook implementation for streaming events.
StreamOptions类class
用于`Agent#stream`API的配置选项。
Configuration options for the `Agent#stream` API.

枚举Enums

类型Type种类Kind说明Description
EventType枚举enum
定义事件类型的枚举。
Types of events emitted during agent execution.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.