AS AgentScopeAPI 手册 / API Reference

全部类All Classes

411 个顶层类;含嵌套类共 459 个。411 top-level classes; 459 including nested classes.

类Class包Package说明Description
A2AAgentagentscope.agent
A2A 智能体,驱动智能体的推理、工具调用与会话执行。
A stateful client-side adapter for an A2A 1.0 agent.
A2AAgentStateagentscope.state
A2A 智能体状态。
The A2A agent state.
AdditionalWorkingDirectoryagentscope.permission
Additional Working 目录,驱动智能体的推理、工具调用与会话执行。
An additional directory included in permission scope.
Agentagentscope.agent
状态化 ReAct 智能体
The agent class.
AgentChatConfigagentscope.app.storage
智能体聊天配置,保存相关配置项。
The settings that apply when the agent talks in text.
AgentDataagentscope.app.storage
智能体数据模型。
The agent data model.
AgenticMemoryMiddlewareagentscope.middleware
Agentic 记忆中间件,在智能体执行流程中提供横切扩展。
The agentic memory, where the LLM decides when and what to save, together with an asyncio retrieval task in each reply. The memory is stored and retrieval based on the Markdown files.
AgentLikeagentscope.sop
智能体 Like,把复杂任务拆分为可执行步骤并驱动流程。
What a step needs of whatever does its work or judges it.
AgentOrientedExceptionagentscope.exception
智能体 Oriented 异常,表示执行过程中的错误。
The base class for all agent-oriented exceptions. These exceptions are expect to the captured and exposed to the agent during runtime, so that agents can handle the error appropriately during the runtime.
AgentRecordagentscope.app.storage
智能体 ORM 模型。
The agent ORM model.
AgentStateagentscope.state
会话状态
The agent state that should be saved and loaded from storage.
AgentVerifieragentscope.app.storage
智能体校验器,在多次调用之间保存和恢复会话与记忆数据。
A verifier that is itself an agent.
AGUIProtocolMiddlewareagentscope.app.middleware
AGUI 协议中间件,在智能体执行流程中提供横切扩展。
The middleware that converts the AgentScope events into AGUI protocol.
AnthropicChatFormatteragentscope.formatter
Anthropic 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The Anthropic formatter class for chatbot scenario, where only a user and an agent are involved. We use the `role` field to identify different entities in the conversation.
AnthropicChatModelagentscope.model
Anthropic 聊天模型,与模型服务通信并返回生成或向量化结果。
The Anthropic chat model.
AnthropicCredentialagentscope.credential
Anthropic 凭证,与模型服务通信并返回生成或向量化结果。
The Anthropic credential model.
AnthropicMultiAgentFormatteragentscope.formatter
Anthropic Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Anthropic formatter for multi-agent conversations, where more than a user and an agent are involved.
AppleContainerBackendagentscope.workspace
Apple 容器 Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running Apple container via the ``container`` CLI.
AppleContainerWorkspaceagentscope.workspace
Apple 容器工作区,在隔离环境中安全执行代码和工具。
Workspace backed by Apple's ``container`` CLI.
AppleContainerWorkspaceManageragentscope.app.workspace_manager
Apple 容器工作区管理器,承载智能体的部署、调度与服务化运行。
Manages :class:`AppleContainerWorkspace` instances with TTL-based caching.
ApproxTokenChunkeragentscope.rag
Approx 令牌切分器,把私有文档转化为可检索的知识。
A chunker based on an approximate token counting strategy.
AskUseragentscope.tool
Ask 用户,让智能体以受控方式调用外部能力。
The tool to collect information from the user via multiple-choice questions.
AskUserAnsweragentscope.tool
Ask 用户答案,让智能体以受控方式调用外部能力。
One question's answer, as the caller must return it.
AskUserMetadataagentscope.tool
Ask 用户元数据,让智能体以受控方式调用外部能力。
What the caller must put in ``ToolResultBlock.metadata``.
AskUserParamsagentscope.tool
Ask 用户参数,让智能体以受控方式调用外部能力。
What a caller asks for — the questions, and their options.
ASRModelBaseagentscope.asr
ASR 模型基类,处理低延迟的实时语音与多模态交互。
Base class for batch and realtime speech recognition models.
ASRModelCardagentscope.asr
ASR 模型卡片,处理低延迟的实时语音与多模态交互。
A model and its supported audio input types.
ASRResponseagentscope.asr
ASR 响应,处理低延迟的实时语音与多模态交互。
The text produced by an ASR model.
AsyncReadableagentscope.app.rag
异步可读,把私有文档转化为可检索的知识。
Minimal async-read protocol returned by :meth:`BlobStoreBase.open`.
AsyncSQLAlchemyStorageagentscope.app.storage
异步 SQLAlchemy 存储,负责持久化与读取数据。
Async SQLAlchemy-backed :class:`StorageBase` implementation.
AudioDeltaEventagentscope.realtime
音频增量事件,描述执行过程中的事件。
A chunk of assistant speech.
AudioFrameagentscope.realtime
一种分块的上游用户音频。
A chunk of upstream user audio.
BackendBaseagentscope.tool
Backend 基类,让智能体以受控方式调用外部能力。
Filesystem + subprocess interface consumed by builtin tools.
Base64Sourceagentscope.message
base64 来源。
The base64 source.
Bashagentscope.tool
Bash,让智能体以受控方式调用外部能力。
The bash tool.
BinaryAnsweragentscope.classifier
二元答案,与模型服务通信并返回生成或向量化结果。
The probability of a positive answer to a binary question.
BinaryCriteriaagentscope.classifier
二元标准,与模型服务通信并返回生成或向量化结果。
Optional descriptions for the two outcomes of a binary question.
BinaryQuestionagentscope.classifier
二元问题,与模型服务通信并返回生成或向量化结果。
A question whose answer is a probability between zero and one.
BindingStateagentscope.app.channel
绑定状态,把智能体接入外部消息渠道与企业平台。
Where a binding session is in its lifecycle.
BindingStepagentscope.app.channel
绑定步骤,把智能体接入外部消息渠道与企业平台。
What one call to a provider produced.
BlobStoreBaseagentscope.app.rag
二进制对象存储基类,把私有文档转化为可检索的知识。
Abstract base class for blob storage backends.
BubblewrapBackendagentscope.workspace
Bubblewrap Backend,在隔离环境中安全执行代码和工具。
Backend that executes commands inside Bubblewrap sandboxes.
BubblewrapWorkspaceagentscope.workspace
Bubblewrap 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by Linux Bubblewrap.
BubblewrapWorkspaceManageragentscope.app.workspace_manager
Bubblewrap 工作区管理器,承载智能体的部署、调度与服务化运行。
Manage Bubblewrap workspaces with TTL caching.
ChannelBaseagentscope.app.channel
平台渠道的抽象基类。
Abstract base for platform channels.
ChannelBindingagentscope.app.storage
渠道绑定,在多次调用之间保存和恢复会话与记忆数据。
One routing rule: match an inbound event, then decide which agent handles it and how its session is grouped.
ChannelCapabilityagentscope.app.channel
渠道能力,把智能体接入外部消息渠道与企业平台。
Platform capability declaration for gateway degradation decisions.
ChannelClientsagentscope.app.channel
渠道客户端,封装与远端服务的连接和调用。
Builds and caches unconnected channel instances by channel id.
ChannelConfirmationResultEventagentscope.app.channel
渠道确认结果事件,描述执行过程中的事件。
A user's decision on a pending tool-approval, delivered inbound.
ChannelErroragentscope.app.channel
渠道错误,把智能体接入外部消息渠道与企业平台。
A channel operation failed.
ChannelEventagentscope.app.channel
渠道事件,描述执行过程中的事件。
A normalised inbound message from an external platform.
ChannelGatewayagentscope.app.channel
渠道网关,把智能体接入外部消息渠道与企业平台。
Route inbound channel events into runs; resume on card clicks.
ChannelHeartbeatagentscope.app.channel
渠道心跳,把智能体接入外部消息渠道与企业平台。
One node's report of a channel's status, stamped with the time it was written.
ChannelLifecycleDispatcheragentscope.app.channel
渠道生命周期调度器,把智能体接入外部消息渠道与企业平台。
Reconciles this node's channel instances against storage.
ChannelOriginagentscope.app.storage
一种会话入站平台消息已打开。
A session an inbound platform message opened.
ChannelRecordagentscope.app.storage
渠道记录,在多次调用之间保存和恢复会话与记忆数据。
Persistent record for a channel instance — the single source of truth. Running adapter instances are a projection of this record.
ChannelStatusagentscope.app.channel
渠道状态,把智能体接入外部消息渠道与企业平台。
Live connection status of a running channel adapter — owned and updated by the adapter itself; read by the dispatcher's status API.
ChannelTypeRegistryagentscope.app.channel
渠道类型注册表,把智能体接入外部消息渠道与企业平台。
The channel types a service allows, keyed by ``channel_type``.
ChannelTypeSchemaagentscope.app.channel
渠道类型模式,把智能体接入外部消息渠道与企业平台。
Frontend-facing metadata for one channel type.
ChatKindagentscope.app.channel
聊天种类,把智能体接入外部消息渠道与企业平台。
A chat's audience shape, used to tailor the agent's context.
ChatModelBaseagentscope.model
聊天模型抽象基类
The base class for chat models.
ChatModelCandidateagentscope.middleware
聊天模型 Candidate,驱动智能体的推理、工具调用与会话执行。
A named chat model and the criteria for selecting it.
ChatModelConfigagentscope.app.storage
模型配置类。
The model configuration class.
ChatResponseagentscope.model
聊天模型的响应。
The response of chat models.
ChatUIagentscope.tui
聊天 UI,为框架提供通用类型与基础能力。
Messages, composer and HITL controls without an Agent dependency.
ChatUsageagentscope.model
聊天用量,与模型服务通信并返回生成或向量化结果。
The usage of a chat model API invocation.
ChoiceAnsweragentscope.classifier
选项答案,与模型服务通信并返回生成或向量化结果。
The selected alternative and its probability distribution.
ChoiceQuestionagentscope.classifier
选项问题,与模型服务通信并返回生成或向量化结果。
A question that selects one named alternative.
Chunkagentscope.rag
分块,把私有文档转化为可检索的知识。
A final indexable chunk produced by a :class:`ChunkerBase`.
ChunkerBaseagentscope.rag
切分器基类,把私有文档转化为可检索的知识。
Abstract base class for chunkers.
ChunkerConfigagentscope.app.storage
切分器配置,保存相关配置项。
Chunker configuration persisted alongside a knowledge base.
ClassifierModelBaseagentscope.classifier
分类器模型基类,与模型服务通信并返回生成或向量化结果。
Base class for models that return typed probabilistic decisions.
ClassifierResponseagentscope.classifier
分类器模型的规范化响应。
The normalized response of a classifier model.
ClassifierUsageagentscope.classifier
分类器用量,与模型服务通信并返回生成或向量化结果。
The usage of a classifier model API invocation.
ClawSkillHubagentscope.app.hub
Claw 技能中心,把智能体接入外部消息渠道与企业平台。
A skill hub backed by the ClawHub registry.
CollectionPerKbManageragentscope.app.rag
集合每个知识库管理器,把私有文档转化为可检索的知识。
One-collection-per-KB knowledge base manager.
ConfirmResultagentscope.event
用于工具调用的确认结果。
Confirm result for a tool call.
ConsoleRendereragentscope.console
控制台渲染器,为框架提供通用类型与基础能力。
Render :class:`~agentscope.event.AgentEvent` streams as line-based terminal output. Consume :meth:`Agent.reply_stream` and reset the renderer if the stream fails:
ContextConfigagentscope.agent
AgentScope 的上下文相关配置。
The context related configuration in AgentScope
ControlFrameagentscope.realtime
Control Frame,处理低延迟的实时语音与多模态交互。
One upstream control event.
ControlFrameTypeagentscope.realtime
Control Frame 类型,处理低延迟的实时语音与多模态交互。
The non-audio things a remote client can say.
CredentialBaseagentscope.credential
凭证基类类。
The credential base class.
CredentialBindingBaseagentscope.app.channel
凭证绑定基类,把智能体接入外部消息渠道与企业平台。
Base for a channel type's interactive credential flow.
CredentialFactoryagentscope.credential
凭证工厂,与模型服务通信并返回生成或向量化结果。
Registry and deserializer for :class:`CredentialBase` subclasses.
CredentialRecordagentscope.app.storage
凭证记录,在多次调用之间保存和恢复会话与记忆数据。
The credential model used for storing credentials.
CustomEventagentscope.event
自定义事件,描述执行过程中的事件。
Generic extensible event for signals that don't fit a specific ``AgentEvent`` subtype.
DashScopeAudioRealtimeModelagentscope.realtime
DashScope 音频实时模型,处理低延迟的实时语音与多模态交互。
The Qwen-Audio-Realtime API over WebSocket.
DashScopeChatFormatteragentscope.formatter
DashScope 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The DashScope formatter class for chatbot scenario (OpenAI-compatible format), where only a user and an agent are involved. We use the ``role`` field to identify different entities in the conversation.
DashScopeChatModelagentscope.model
DashScope 聊天模型,与模型服务通信并返回生成或向量化结果。
The DashScope chat model (OpenAI-compatible implementation).
DashScopeCosyVoiceTTSModelagentscope.tts
DashScope Cosy 语音 TTS 模型,处理低延迟的实时语音与多模态交互。
DashScope CosyVoice TTS model using the WebSocket SpeechSynthesizer.
DashScopeCredentialagentscope.credential
凭证用于 DashScope API。
The credential for DashScope API.
DashScopeEmbeddingModelagentscope.embedding
DashScope 向量化模型,与模型服务通信并返回生成或向量化结果。
Unified DashScope embedding model.
DashScopeMultiAgentFormatteragentscope.formatter
DashScope Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
DashScope formatter for multi-agent conversations (OpenAI-compatible format), where more than a user and an agent are involved.
DashScopeRealtimeModelagentscope.realtime
DashScope 实时模型,处理低延迟的实时语音与多模态交互。
The Qwen-Omni realtime API over WebSocket.
DashScopeRealtimeTTSModelagentscope.tts
DashScope 实时 TTS 模型,处理低延迟的实时语音与多模态交互。
DashScope Realtime TTS model using the QwenTtsRealtime WebSocket API.
DashScopeTTSModelagentscope.tts
DashScope TTS 模型,处理低延迟的实时语音与多模态交互。
DashScope TTS model implementation using the MultiModalConversation API. For more details please see the `official document <https://bailian.console.aliyun.com/?tab=doc#/doc/?type=model&url=2879134>`_.
DataBlockagentscope.message
数据块,在智能体、模型与前端之间传递结构化消息和事件。
The data block for binary content (images, audio, video, etc.).
DataBlockDeltaEventagentscope.event
数据块增量事件,描述执行过程中的事件。
Data block delta event.
DataBlockEndEventagentscope.event
数据块结束事件,描述执行过程中的事件。
Data block end event.
DataBlockStartEventagentscope.event
数据块启动事件,描述执行过程中的事件。
Data block start event.
DaytonaBackendagentscope.workspace
Daytona Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running Daytona sandbox.
DaytonaWorkspaceagentscope.workspace
Daytona 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by a Daytona sandbox.
DaytonaWorkspaceManageragentscope.app.workspace_manager
Daytona 工作区管理器,承载智能体的部署、调度与服务化运行。
Manages :class:`DaytonaWorkspace` instances with TTL caching.
DeepSeekChatFormatteragentscope.formatter
DeepSeek 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The DeepSeek formatter class for chatbot scenario, where only a user and an agent are involved. We use the `role` field to identify different entities in the conversation.
DeepSeekChatModelagentscope.model
DeepSeek 聊天模型。
The DeepSeek chat model.
DeepSeekCredentialagentscope.credential
DeepSeek 凭证模型。
The DeepSeek credential model.
DeepSeekMultiAgentFormatteragentscope.formatter
DeepSeek Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
DeepSeek formatter for multi-agent conversations, where more than a user and an agent are involved.
DenyAllResourceAccessPolicyagentscope.app.access
拒绝所有资源访问策略,把智能体接入外部消息渠道与企业平台。
Default policy that denies all cross-owner resource access.
DeveloperOrientedExceptionagentscope.exception
Developer Oriented 异常,表示执行过程中的错误。
The exception should be raised to the developers.
DimensionPolicyagentscope.app.rag
维度策略,把私有文档转化为可检索的知识。
The dimension policy a manager exposes to the front-end.
DimensionPolicyErroragentscope.app.rag
维度策略错误,把私有文档转化为可检索的知识。
Raised when a create-time embedding model violates the manager's dimension policy.
DimensionPolicyKindagentscope.app.rag
维度策略种类,把私有文档转化为可检索的知识。
The kind of dimension policy the manager publishes.
DingTalkChannelagentscope.app.channel
DingTalk 渠道,把智能体接入外部消息渠道与企业平台。
DingTalk enterprise application robot channel.
DirEntryagentscope.tool
目录条目,让智能体以受控方式调用外部能力。
One entry from :meth:`BackendBase.scandir`.
DiscordChannelagentscope.app.channel
Discord 渠道,把智能体接入外部消息渠道与企业平台。
Discord platform channel.
DockerBackendagentscope.workspace
Docker Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running Docker container.
DockerWorkspaceagentscope.workspace
Docker 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by a Docker container.
DockerWorkspaceManageragentscope.app.workspace_manager
Docker 工作区管理器,承载智能体的部署、调度与服务化运行。
Manages :class:`DockerWorkspace` instances with TTL-based caching.
DocumentSummaryagentscope.rag
文档摘要,把私有文档转化为可检索的知识。
A lightweight description of one source document inside a collection.
E2BBackendagentscope.workspace
E2B Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running E2B sandbox.
E2BWorkspaceagentscope.workspace
E2B 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by an E2B cloud sandbox.
E2BWorkspaceManageragentscope.app.workspace_manager
E2B 工作区管理器,承载智能体的部署、调度与服务化运行。
Manages :class:`E2BWorkspace` instances with TTL-based caching.
Editagentscope.tool
Edit,让智能体以受控方式调用外部能力。
The edit tool for performing exact string replacements in files.
ElasticsearchStoreagentscope.rag
Elasticsearch 存储,负责持久化与读取数据。
Vector store backed by Elasticsearch dense-vector indexes.
EmbeddingCacheBaseagentscope.embedding
向量化缓存基类,与模型服务通信并返回生成或向量化结果。
Base class for embedding caches, which is responsible for storing and retrieving embeddings.
EmbeddingModelBaseagentscope.embedding
向量化模型的基类。
Base class for embedding models.
EmbeddingModelCardagentscope.embedding
向量化模型卡片,与模型服务通信并返回生成或向量化结果。
A card describing an embedding model's capabilities.
EmbeddingModelConfigagentscope.app.storage
向量化模型配置,保存相关配置项。
Configuration for constructing an embedding model from a credential.
EmbeddingResponseagentscope.embedding
向量化响应类。
The embedding response class.
EmbeddingUsageagentscope.embedding
向量化用量,与模型服务通信并返回生成或向量化结果。
The usage of an embedding model API invocation.
ErrorInfoagentscope.types
错误信息,为框架提供通用类型与基础能力。
Structured, UI-facing description of a fatal reply error.
ErrorTypeagentscope.types
错误类型,为框架提供通用类型与基础能力。
Classification of a fatal error that terminated a reply.
EventBaseagentscope.event
基类事件。
Base event class.
EventTypeagentscope.event
事件类型,在智能体、模型与前端之间传递结构化消息和事件。
Event type enumeration.
ExceedMaxItersEventagentscope.event
超出最大迭代次数事件,描述执行过程中的事件。
Deprecated exceeded max iteration event, still emitted for backward compatibility without semantics; use ``ReplyEndEvent.finished_reason``.
ExcelParseragentscope.rag
Excel 解析器,把私有文档转化为可检索的知识。
Parser for Excel ``.xlsx`` / ``.xls`` files.
ExecResultagentscope.tool
Exec 结果,让智能体以受控方式调用外部能力。
Result of running a shell command via a backend.
ExternalExecutionResultEventagentscope.event
外部执行结果事件,描述执行过程中的事件。
External execution result event.
FeishuChannelagentscope.app.channel
Feishu 渠道,把智能体接入外部消息渠道与企业平台。
Feishu platform channel (SDK long-connection mode).
FileEmbeddingCacheagentscope.embedding
文件向量化缓存,与模型服务通信并返回生成或向量化结果。
The embedding cache class that stores each embeddings vector in binary files.
FinishedReasonagentscope.model
Finished 推理,与模型服务通信并返回生成或向量化结果。
The finished reason of the model response.
FormatterBaseagentscope.formatter
消息格式转换基类
The base class for formatters.
FunctionToolagentscope.tool
函数工具适配器
Adapter to convert a Python function to ToolProtocol.
GeminiChatFormatteragentscope.formatter
Gemini 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The Gemini formatter class for chatbot scenario, where only a user and an agent are involved. We use the `role` field to identify different entities in the conversation.
GeminiChatModelagentscope.model
Gemini 聊天模型,与模型服务通信并返回生成或向量化结果。
The Google Gemini chat model.
GeminiCredentialagentscope.credential
Gemini 凭证,与模型服务通信并返回生成或向量化结果。
The Google Gemini credential model.
GeminiEmbeddingModelagentscope.embedding
Gemini 向量化模型,与模型服务通信并返回生成或向量化结果。
Unified Google Gemini embedding model.
GeminiMultiAgentFormatteragentscope.formatter
Gemini Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The multi-agent formatter for Google Gemini API, where more than a user and an agent are involved.
GeminiRealtimeModelagentscope.realtime
Gemini 实时模型,处理低延迟的实时语音与多模态交互。
The Gemini Live API over WebSocket.
GeminiTTSModelagentscope.tts
Gemini TTS 模型,处理低延迟的实时语音与多模态交互。
Gemini TTS model implementation using the ``generateContent`` API with ``responseModalities: ["AUDIO"]``. For more details please see the `official document <https://ai.google.dev/gemini-api/docs/speech-generation>`_.
GitHubMCPHubagentscope.app.hub
GitHub MCP 中心,把智能体接入外部消息渠道与企业平台。
An MCP hub backed by GitHub's MCP registry.
Globagentscope.tool
Glob,让智能体以受控方式调用外部能力。
The glob tool for fast file pattern matching.
GoalPipelineagentscope.pipeline
目标流水线,把复杂任务拆分为可执行步骤并驱动流程。
The goal pipeline class that run an executor and verifier in a loop until the goal is achieved.
Grepagentscope.tool
Grep,让智能体以受控方式调用外部能力。
The grep tool for searching file contents using ripgrep.
HintBlockagentscope.message
Hint 块,在智能体、模型与前端之间传递结构化消息和事件。
A block used to provide instructions or hints to the LLM during the reasoning-acting loop. When passed to the LLM API, the hint block is converted into a user message.
HintBlockEventagentscope.event
Hint 块事件,描述执行过程中的事件。
One-shot hint block event.
HttpMCPConfigagentscope.mcp
HTTP MCP 服务端配置。
The HTTP MCP server configuration.
HubBaseagentscope.app.hub
中心基类,把智能体接入外部消息渠道与企业平台。
The identity and lifecycle shared by every hub implementation.
HubErroragentscope.app.hub
中心错误,把智能体接入外部消息渠道与企业平台。
Raised when a hub's upstream registry returns a failure.
HumanVerifieragentscope.app.storage
人工校验器,在多次调用之间保存和恢复会话与记忆数据。
A verifier that asks a person and waits for the answer.
ImageParseragentscope.rag
用于图像文件的解析器。
Parser for image files.
InboxMiddlewareagentscope.app.middleware
收件箱中间件,在智能体执行流程中提供横切扩展。
Drain the session's inbox and inject HintBlocks before each reasoning step.
InjectionConfigagentscope.agent
AgentScope 的运行时状态注入相关配置。
The state injection related configuration in AgentScope.
InMemoryMessageBusagentscope.app.message_bus
In 记忆消息总线,把智能体接入外部消息渠道与企业平台。
In-memory implementation of :class:`MessageBus`.
InputTranscriptionEventagentscope.realtime
输入 Transcription 事件,描述执行过程中的事件。
The settled transcript of one user turn.
InputTranscriptionFailedEventagentscope.realtime
输入 Transcription 失败事件,描述执行过程中的事件。
The provider could not transcribe one committed user turn.
InviteConfigagentscope.app.storage
邀请配置,保存相关配置项。
User-editable invite settings for :class:`AgentData`.
IsolationPolicyagentscope.app.workspace_manager
隔离策略,承载智能体的部署、调度与服务化运行。
Workspace isolation grain for :meth:`WorkspaceManagerBase.assign_workspace_id`.
JevClassifierModelagentscope.classifier
Jev 分类器模型,与模型服务通信并返回生成或向量化结果。
A classifier backed by TypeSafe's Jev System One API.
K8sBackendagentscope.workspace
K 8 s Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running Kubernetes Pod.
K8sWorkspaceagentscope.workspace
K 8 s 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by a Kubernetes Pod with PVC persistence.
K8sWorkspaceManageragentscope.app.workspace_manager
K 8 s 工作区管理器,承载智能体的部署、调度与服务化运行。
Manages :class:`K8sWorkspace` instances with TTL-based caching.
KnowledgeBaseagentscope.rag
文档知识库
Runtime handle for one knowledge base.
KnowledgeBaseDataagentscope.app.storage
可变负载的知识库基类类。
The mutable payload of a knowledge base record.
KnowledgeBaseErroragentscope.app.rag
知识库基类管理器错误的基类。
Base class for knowledge base manager errors.
KnowledgeBaseManagerBaseagentscope.app.rag
知识库管理器基类,把私有文档转化为可检索的知识。
Abstract base for knowledge base managers.
KnowledgeBaseNotFoundErroragentscope.app.rag
知识库未找到错误,把私有文档转化为可检索的知识。
Raised when a knowledge base record cannot be located.
KnowledgeBaseRecordagentscope.app.storage
知识库记录,在多次调用之间保存和恢复会话与记忆数据。
A persisted knowledge base record.
KnowledgeDocumentDataagentscope.app.storage
可变负载的知识库文档类。
The mutable payload of a knowledge document record.
KnowledgeDocumentRecordagentscope.app.storage
知识库文档记录,在多次调用之间保存和恢复会话与记忆数据。
A persisted knowledge document record.
LocalAudioTransportagentscope.realtime
本地音频传输层,处理低延迟的实时语音与多模态交互。
Microphone in, speaker out, via ``sounddevice``.
LocalBackendagentscope.tool
本地 Backend,让智能体以受控方式调用外部能力。
Host-local :class:`BackendBase` implementation.
LocalBlobStoreagentscope.app.rag
本地二进制对象存储,负责持久化与读取数据。
Store blobs as files beneath a configurable root directory.
LocalSkillLoaderagentscope.skill
本地技能加载器,让智能体以受控方式调用外部能力。
The skill loader that loads skills from a local directory.
LocalWorkspaceagentscope.workspace
本地工作区,在隔离环境中安全执行代码和工具。
Local-directory workspace.
LocalWorkspaceManageragentscope.app.workspace_manager
本地工作区管理器,承载智能体的部署、调度与服务化运行。
Manages LocalWorkspace instances with TTL-based lazy lifecycle.
MCPCardagentscope.app.hub
MCP 卡片,把智能体接入外部消息渠道与企业平台。
A single MCP listing on a hub.
MCPClientagentscope.mcp
MCP 客户端
The unified MCP client in AgentScope.
MCPHubBaseagentscope.app.hub
MCP 中心基类,把智能体接入外部消息渠道与企业平台。
The base class for MCP hub implementations.
MCPHubPageagentscope.app.hub
MCP 中心页码,把智能体接入外部消息渠道与企业平台。
One page of MCP cards.
MCPRecordagentscope.app.storage
MCP 记录,在多次调用之间保存和恢复会话与记忆数据。
One MCP a user has installed, at the user level rather than in any one workspace.
MCPToolagentscope.tool
MCP 工具,封装可被智能体调用的能力。
Adapter to convert an MCP tool to ToolProtocol.
Mem0Middlewareagentscope.middleware
Mem 0 中间件,在智能体执行流程中提供横切扩展。
AgentScope middleware that adds long-term memory backed by `mem0 <https://github.com/mem0ai/mem0>`_.
MessageBusagentscope.app.message_bus
消息总线,把智能体接入外部消息渠道与企业平台。
Abstract base class for live message transport.
MessageBusKeysagentscope.app.message_bus
消息总线密钥,把智能体接入外部消息渠道与企业平台。
Application-layer key conventions for the message bus.
MessagesUIagentscope.tui
消息 UI,为框架提供通用类型与基础能力。
Render authoritative message snapshots without consuming events.
MiddlewareBaseagentscope.middleware
中间件钩子基类
Base class for all middleware implementations.
MilvusLiteStoreagentscope.rag
Milvus Lite 存储,负责持久化与读取数据。
Vector store backend backed by Milvus Lite.
MiniMaxChatFormatteragentscope.formatter
MiniMax 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The MiniMax formatter for chatbot scenario.
MiniMaxChatModelagentscope.model
MiniMax 聊天模型,与模型服务通信并返回生成或向量化结果。
Chat model for MiniMax's Anthropic-compatible API.
MiniMaxCredentialagentscope.credential
MiniMax 凭证模型。
The MiniMax credential model.
MiniMaxMultiAgentFormatteragentscope.formatter
MiniMax Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The MiniMax formatter for multi-agent conversations.
ModelCallEndEventagentscope.event
模型调用结束事件,描述执行过程中的事件。
Model call end event.
ModelCallStartEventagentscope.event
模型调用启动事件,描述执行过程中的事件。
Model call start event.
ModelCardagentscope.model
模型卡片类。
The model card class.
ModelConfigagentscope.agent
模型相关配置。
The model related configuration.
ModelDisconnectedErroragentscope.realtime
模型已断开错误,处理低延迟的实时语音与多模态交互。
The provider closed the session; the next user audio reconnects.
ModelErrorEventagentscope.realtime
模型错误事件,描述执行过程中的事件。
An error reported by the provider.
ModelEventagentscope.realtime
模型事件,描述执行过程中的事件。
Common base class, for type hinting only.
ModelRouterMiddlewareagentscope.middleware
模型路由器中间件,在智能体执行流程中提供横切扩展。
Select the chat model of each reply by classifying the user input.
MongoDBStoreagentscope.rag
MongoDB 存储,负责持久化与读取数据。
Vector store backend backed by `MongoDB Vector Search <https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-overview/>`_.
MoonshotChatFormatteragentscope.formatter
Moonshot 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The Moonshot AI formatter for chatbot scenario.
MoonshotChatModelagentscope.model
Moonshot 聊天模型,与模型服务通信并返回生成或向量化结果。
The Moonshot AI chat model.
MoonshotCredentialagentscope.credential
Moonshot 凭证,与模型服务通信并返回生成或向量化结果。
The Moonshot AI credential model.
MoonshotMultiAgentFormatteragentscope.formatter
Moonshot Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Formatter for the Moonshot AI API in multi-agent conversations.
Msgagentscope.message
统一消息对象
The message class in AgentScope, responsible for information storage and transmission among different agents.
Offloaderagentscope.workspace
Offloader,在隔离环境中安全执行代码和工具。
The offloader protocol.
OllamaChatFormatteragentscope.formatter
Ollama 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The Ollama formatter class for chatbot scenario, where only a user and an agent are involved. We use the `role` field to identify different participants in the conversation.
OllamaChatModelagentscope.model
Ollama 聊天模型,与模型服务通信并返回生成或向量化结果。
The Ollama chat model.
OllamaCredentialagentscope.credential
Ollama 凭证,与模型服务通信并返回生成或向量化结果。
The Ollama credential model (connection settings).
OllamaEmbeddingModelagentscope.embedding
Ollama 向量化模型,与模型服务通信并返回生成或向量化结果。
Ollama text embedding model.
OllamaMultiAgentFormatteragentscope.formatter
Ollama Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Ollama formatter for multi-agent conversations, where more than a user and an agent are involved.
OpenAIASRModelagentscope.asr
OpenAI ASR 模型,处理低延迟的实时语音与多模态交互。
Batch speech recognition using OpenAI's Audio Transcriptions API.
OpenAIChatFormatteragentscope.formatter
OpenAI 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The OpenAI formatter class for chatbot scenario, where only a user and an agent are involved. We use the `name` field in OpenAI API to identify different entities in the conversation.
OpenAIChatModelagentscope.model
OpenAI 兼容聊天模型
The OpenAI Chat Completions model.
OpenAIClassifierModelagentscope.classifier
OpenAI 分类器模型,与模型服务通信并返回生成或向量化结果。
A classifier backed by the OpenAI Decisions API.
OpenAICredentialagentscope.credential
OpenAI 凭证模型。
The OpenAI credential model.
OpenAIEmbeddingModelagentscope.embedding
OpenAI 向量化模型,与模型服务通信并返回生成或向量化结果。
OpenAI text embedding model.
OpenAIMultiAgentFormatteragentscope.formatter
OpenAI Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
OpenAI formatter for multi-agent conversations, where more than a user and an agent are involved.
OpenAIRealtimeModelagentscope.realtime
OpenAI 实时模型,处理低延迟的实时语音与多模态交互。
The OpenAI Realtime API over WebSocket.
OpenAIResponseFormatteragentscope.formatter
OpenAIResponse 格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Formatter for the OpenAI Responses API in chat (single-agent) mode.
OpenAIResponseModelagentscope.model
OpenAIResponse 模型,与模型服务通信并返回生成或向量化结果。
The OpenAI Responses API chat model.
OpenAIResponseMultiAgentFormatteragentscope.formatter
OpenAIResponse Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Formatter for the OpenAI Responses API in multi-agent mode.
OpenAITTSModelagentscope.tts
OpenAI TTS 模型,处理低延迟的实时语音与多模态交互。
OpenAI TTS model implementation using the Audio Speech API. For more details please see the `official document <https://platform.openai.com/docs/guides/text-to-speech>`_.
OpenSandboxBackendagentscope.workspace
OpenSandbox Backend,在隔离环境中安全执行代码和工具。
Backend that delegates to a running OpenSandbox sandbox.
OpenSandboxWorkspaceagentscope.workspace
OpenSandbox 工作区,在隔离环境中安全执行代码和工具。
Workspace backed by an OpenSandbox sandbox.
OpenSandboxWorkspaceManageragentscope.app.workspace_manager
OpenSandbox 工作区管理器,承载智能体的部署、调度与服务化运行。
Manages OpenSandbox workspaces with TTL-based caching.
ParamsBaseagentscope.tool
参数基类,让智能体以受控方式调用外部能力。
A base class for tool parameters that remove the title field from the exported JSON schema.
ParserBaseagentscope.rag
解析器基类,把私有文档转化为可检索的知识。
Abstract base class for file-format parsers.
PDFParseragentscope.rag
用于PDF 文件的解析器。
Parser for PDF files.
PermissionBehavioragentscope.permission
权限的行为。
The behavior of permission.
PermissionContextagentscope.permission
权限上下文
Context for permission checking.
PermissionDecisionagentscope.permission
权限决策,驱动智能体的推理、工具调用与会话执行。
Decision result from permission checking.
PermissionEngineagentscope.permission
权限引擎,驱动智能体的推理、工具调用与会话执行。
Engine for checking and enforcing permission rules.
PermissionModeagentscope.permission
权限的模式。
The mode of permission.
PermissionRuleagentscope.permission
用于工具用量的权限规则。
Permission rule for tool usage.
PipelineProtocolagentscope.pipeline
流水线协议,把复杂任务拆分为可执行步骤并驱动流程。
What a pipeline has to offer to go where an agent goes.
PlayoutPositionagentscope.realtime
Playout Position,处理低延迟的实时语音与多模态交互。
How much assistant audio actually left the speaker — the only sound basis for truncating a barge-in.
PowerShellagentscope.tool
Power Shell,让智能体以受控方式调用外部能力。
Execute PowerShell commands through a workspace backend.
PPTParseragentscope.rag
用于PowerPoint`.pptx`文件的解析器。
Parser for PowerPoint ``.pptx`` files.
PrewarmConfigagentscope.app.workspace_manager
预热配置,保存相关配置项。
How many workspaces a manager keeps built ahead of demand.
ProtocolMiddlewareBaseagentscope.app.middleware
协议中间件基类,承载智能体的部署、调度与服务化运行。
Base middleware for converting AgentEvent stream to protocol format.
QdrantStoreagentscope.rag
Qdrant 存储,负责持久化与读取数据。
Vector store backend backed by `Qdrant <https://qdrant.tech>`_.
RAGMiddlewareagentscope.middleware
RAG 中间件,在智能体执行流程中提供横切扩展。
Middleware that integrates knowledge-base search into the agent.
ReActConfigagentscope.agent
ReAct 循环配置
The reasoning related configuration
Readagentscope.tool
读取工具。
The read tool.
RealtimeAgentagentscope.agent
实时智能体,驱动智能体的推理、工具调用与会话执行。
A voice agent: a realtime model on one side, a transport on the other, and the turn-taking state machine in between.
RealtimeModelBaseagentscope.realtime
实时模型基类,处理低延迟的实时语音与多模态交互。
A bidirectional realtime model: audio in, audio and tool calls out.
RealtimeModelCardagentscope.realtime
实时模型卡片,处理低延迟的实时语音与多模态交互。
Describes one realtime model. Everything here varies with the model name; what the adapter implements lives on :class:`RealtimeModelBase`.
RealtimeModelConfigagentscope.app.storage
实时语音模型配置类。
The realtime voice model configuration class.
RedisMessageBusagentscope.app.message_bus
Redis 消息总线,把智能体接入外部消息渠道与企业平台。
Redis-backed implementation of :class:`MessageBus`.
RedisStorageagentscope.app.storage
Redis 存储,负责持久化与读取数据。
The Redis storage implementation.
RefusalAnsweragentscope.classifier
拒答答案,与模型服务通信并返回生成或向量化结果。
A refusal to answer one question, independent of other answers.
RegisteredToolagentscope.tool
已注册工具,封装可被智能体调用的能力。
The registered tool function class, used to store the tool function and its registration information.
ReMeMiddlewareagentscope.middleware
Re Me 中间件,在智能体执行流程中提供横切扩展。
AgentScope middleware that adds long-term memory backed by `ReMe <https://github.com/agentscope-ai/ReMe>`_.
ReplyBudgetControlMiddlewareagentscope.middleware
回复预算 Control 中间件,在智能体执行流程中提供横切扩展。
Middleware that enforces a weighted token budget per reply.
ReplyContextagentscope.state
当前智能体回复的上下文。
The context of the current agent reply.
ReplyEndEventagentscope.event
回复结束事件,描述执行过程中的事件。
Reply end event.
ReplyEndReasonagentscope.event
回复结束推理,在智能体、模型与前端之间传递结构化消息和事件。
Deprecated alias of :class:`~agentscope.types.ReplyFinishedReason`, kept for backward compatibility. Value-compatible (both ``StrEnum``), so existing code that constructs or compares against it keeps working.
ReplyFinishedReasonagentscope.event
回复 Finished 推理,在智能体、模型与前端之间传递结构化消息和事件。
The reason a reply finished.
ReplyStartEventagentscope.event
回复启动事件,描述执行过程中的事件。
Reply start event.
RequireExternalExecutionEventagentscope.event
Require 外部执行事件,描述执行过程中的事件。
Require external execution event.
RequireUserConfirmEventagentscope.event
Require 用户确认事件,描述执行过程中的事件。
Require user confirm event.
ResetToolsagentscope.tool
重置工具,封装可被智能体调用的能力。
A meta tool allows agent to self-manage its equipped tools by activating or deactivating tool groups dynamically.
ResourceAccessPolicyBaseagentscope.app.access
资源访问策略基类,把智能体接入外部消息渠道与企业平台。
Base class for cross-owner resource access policies.
ResourceKindagentscope.app.access
资源种类,把智能体接入外部消息渠道与企业平台。
Resource kinds that can be resolved through the access policy.
ResourcePermissionagentscope.app.access
资源权限,把智能体接入外部消息渠道与企业平台。
Permission level granted for a referenced resource.
ResourceRefagentscope.app.access
资源引用,把智能体接入外部消息渠道与企业平台。
Reference to a resource owned by a specific user.
ResponseCreatedEventagentscope.realtime
响应已创建事件,描述执行过程中的事件。
The provider started producing a reply.
ResponseDoneEventagentscope.realtime
响应 Done 事件,描述执行过程中的事件。
The provider finished producing a reply.
RoutingConfigagentscope.app.storage
路由配置,保存相关配置项。
Ordered routing rules for a channel.
S3BlobStoreagentscope.app.rag
S 3 二进制对象存储,负责持久化与读取数据。
Store blobs in an S3-compatible bucket.
ScheduleDataagentscope.app.storage
调度配置数据。
The schedule configuration data.
ScheduleOriginagentscope.app.storage
调度来源,在多次调用之间保存和恢复会话与记忆数据。
A session a schedule opened on its due date.
ScheduleRecordagentscope.app.storage
调度记录,在多次调用之间保存和恢复会话与记忆数据。
Persisted schedule record.
ScheduleSourceagentscope.app.storage
调度来源,在多次调用之间保存和恢复会话与记忆数据。
The source that created the schedule.
ScoreAnsweragentscope.classifier
分数答案,与模型服务通信并返回生成或向量化结果。
An expected score and its probability distribution.
ScoreQuestionagentscope.classifier
分数问题,与模型服务通信并返回生成或向量化结果。
A question that assigns an expected score using an ordered rubric.
Sectionagentscope.rag
Section,把私有文档转化为可检索的知识。
A single natural section produced by a :class:`ParserBase`.
SessionConfigagentscope.app.storage
会话配置,保存相关配置项。
Session configuration — set at creation, updatable via PATCH.
SessionEndedEventagentscope.realtime
会话 Ended 事件,描述执行过程中的事件。
The provider session is gone; no further events will arrive.
SessionKnowledgeConfigagentscope.app.storage
会话知识库配置,保存相关配置项。
Session-level knowledge base attachment.
SessionNamingagentscope.app.storage
会话命名,在多次调用之间保存和恢复会话与记忆数据。
How :attr:`SessionConfig.name` is maintained.
SessionRecordagentscope.app.storage
会话类。
The session record.
SessionScopeagentscope.app.storage
会话范围,在多次调用之间保存和恢复会话与记忆数据。
How inbound messages are grouped into agent sessions.
SessionSettingsagentscope.app.storage
会话设置,保存相关配置项。
Settings for a session a channel or SOP run opens for a user.
SessionSourceagentscope.app.storage
会话来源,在多次调用之间保存和恢复会话与记忆数据。
The kinds a session's source used to come in.
Skillagentscope.skill
智能体技能类。
The agent skill class
SkillArchiveagentscope.app.hub
技能归档,把智能体接入外部消息渠道与企业平台。
A skill archive as the hub serves it.
SkillCardagentscope.app.hub
技能卡片,把智能体接入外部消息渠道与企业平台。
A single skill listing on a hub.
SkillHubBaseagentscope.app.hub
技能中心基类,把智能体接入外部消息渠道与企业平台。
The base class for skill hub implementations.
SkillHubPageagentscope.app.hub
技能中心页码,把智能体接入外部消息渠道与企业平台。
One page of skill cards.
SkillLoaderBaseagentscope.skill
技能加载器的基类。
The base class for skill loader.
SkillRecordagentscope.app.storage
技能记录,在多次调用之间保存和恢复会话与记忆数据。
One skill a user has installed, at the user level rather than in any one workspace — the skill counterpart of :class:`MCPRecord`.
SOPagentscope.sop
SOP,把复杂任务拆分为可执行步骤并驱动流程。
A fixed sequence of milestones, each verified before the next.
SOPAgentRefagentscope.app.storage
SOP 智能体引用,在多次调用之间保存和恢复会话与记忆数据。
Which agent does something, and in which conversation.
SOPDataagentscope.app.storage
SOP 数据,在多次调用之间保存和恢复会话与记忆数据。
A procedure: its milestones, in order.
SOPEngineagentscope.sop
SOP 引擎,把复杂任务拆分为可执行步骤并驱动流程。
One run of a :class:`~._schema.SOP`, shaped like an agent.
SOPOriginagentscope.app.storage
SOP 来源,在多次调用之间保存和恢复会话与记忆数据。
A session a SOP run opened to hold one of its conversations.
SOPPhaseagentscope.sop
SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。
Where a step, or a whole run, stands.
SOPRecordagentscope.app.storage
SOP 记录,在多次调用之间保存和恢复会话与记忆数据。
A stored procedure.
SOPRunRecordagentscope.app.storage
SOP 运行记录,在多次调用之间保存和恢复会话与记忆数据。
One run of a procedure.
SOPRunStateagentscope.sop
SOP 运行状态,把复杂任务拆分为可执行步骤并驱动流程。
One execution of a SOP, and the whole of what is worth saving.
SOPStepagentscope.sop
SOP 步骤,把复杂任务拆分为可执行步骤并驱动流程。
The usual shape: someone does the work, someone else judges it.
SOPStepBaseagentscope.sop
SOP 步骤基类,把复杂任务拆分为可执行步骤并驱动流程。
One milestone: a name, what it must prove, and how many tries.
SOPStepDataV1agentscope.app.storage
SOP 步骤数据 V 1,在多次调用之间保存和恢复会话与记忆数据。
One milestone, as :class:`~agentscope.sop.SOPStep` runs it. An incompatible change becomes a new model discriminated on :attr:`version`.
SOPStepRunStateagentscope.sop
SOP 步骤运行状态,把复杂任务拆分为可执行步骤并驱动流程。
What one step did in one run.
SOPStepSubmitMiddlewareagentscope.app.middleware
SOP 步骤提交中间件,在智能体执行流程中提供横切扩展。
Require a step's agent to end its turn through its submit tool.
SOPWorkspaceGrainagentscope.app.storage
SOP 工作区粒度,在多次调用之间保存和恢复会话与记忆数据。
How many workspaces a run gets. Always minted for the run, never shared with another run.
SpeechEndedEventagentscope.realtime
语音 Ended 事件,描述执行过程中的事件。
The provider's own VAD detected the user stopping.
SpeechStartedEventagentscope.realtime
语音已启动事件,描述执行过程中的事件。
The provider's own VAD detected the user starting to speak.
SpeechTransitionagentscope.realtime
语音 Transition,处理低延迟的实时语音与多模态交互。
A transition in voice activity, as detected by a VAD. Not an event class; the model-side ``SpeechStartedEvent`` is what a provider reports.
StateChangeMiddlewareagentscope.app.middleware
状态变更中间件,在智能体执行流程中提供横切扩展。
Detect state / team changes after each tool call and push notifications to the session event stream.
StdioMCPConfigagentscope.mcp
stdio MCP 配置,保存相关配置项。
The STDIO MCP server configuration.
StorageBaseagentscope.app.storage
存储抽象基类类。
The storage abstract base class.
StructuredOutputErroragentscope.exception
结构化输出错误,为框架提供通用类型与基础能力。
Raised when the model fails to produce a valid structured output, e.g. it does not call the structured-output tool, returns an empty response, or the returned arguments fail JSON/schema validation.
StructuredResponseagentscope.model
聊天模型的结构化响应。
The structured response of chat models.
SubAgentTemplateagentscope.app
子智能体模板,承载智能体的部署、调度与服务化运行。
A reusable blueprint for sub-agent creation within a team.
Taskagentscope.state
智能体任务。
The agent task.
TaskContextagentscope.state
任务上下文。
The task context.
TaskCreateagentscope.tool
任务创建,让智能体以受控方式调用外部能力。
Create a task for the agent to perform.
TaskGetagentscope.tool
任务读取,让智能体以受控方式调用外部能力。
Retrieve a task by its ID from the task list.
TaskListagentscope.tool
任务列表,让智能体以受控方式调用外部能力。
List tasks for the agent to perform.
TaskUpdateagentscope.tool
工具到更新智能体任务。
The tool to update the agent task.
TeamDataagentscope.app.storage
团队数据模型。
The team data model.
TeamMemberagentscope.app.storage
团队成员,在多次调用之间保存和恢复会话与记忆数据。
An entry in a team's member roster.
TeamMemberagentscope.pipeline
团队成员,把复杂任务拆分为可执行步骤并驱动流程。
A member of the team: an existing agent plus the description the leader reads to decide when to assign a task to it.
TeamMemberLoopMiddlewareagentscope.app.middleware
团队成员循环中间件,在智能体执行流程中提供横切扩展。
The team member loop engineering middleware, that requires:
TeamOriginagentscope.app.storage
团队来源,在多次调用之间保存和恢复会话与记忆数据。
A session a team minted for one of its members.
TeamPipelineagentscope.pipeline
团队流水线,把复杂任务拆分为可执行步骤并驱动流程。
A leader agent that assigns tasks to team members through tool calls.
TeamRecordagentscope.app.storage
团队 ORM 模型。
The team ORM model.
TextBlockagentscope.message
文本块。
The text block.
TextBlockDeltaEventagentscope.event
文本块增量事件,描述执行过程中的事件。
Text block delta event.
TextBlockEndEventagentscope.event
文本块结束事件,描述执行过程中的事件。
Text block end event.
TextBlockStartEventagentscope.event
文本块启动事件,描述执行过程中的事件。
Text block start event.
TextParseragentscope.rag
文本解析器,把私有文档转化为可检索的知识。
Parser for plain-text file formats.
ThinkingBlockagentscope.message
Thinking 块,在智能体、模型与前端之间传递结构化消息和事件。
The thinking block.
ThinkingBlockDeltaEventagentscope.event
Thinking 块增量事件,描述执行过程中的事件。
Thinking block delta event.
ThinkingBlockEndEventagentscope.event
Thinking 块结束事件,描述执行过程中的事件。
Thinking block end event.
ThinkingBlockStartEventagentscope.event
Thinking 块启动事件,描述执行过程中的事件。
Thinking block start event.
ToolBaseagentscope.tool
工具协议。
The tool protocol.
ToolCallBlockagentscope.message
工具调用块。
The tool call block.
ToolCallDeltaEventagentscope.event
工具调用增量事件,描述执行过程中的事件。
Tool call delta event.
ToolCallEndEventagentscope.event
工具调用结束事件,描述执行过程中的事件。
Tool call end event.
ToolCallEventagentscope.realtime
工具调用事件,描述执行过程中的事件。
A complete tool call requested by the provider.
ToolCallStartEventagentscope.event
工具调用启动事件,描述执行过程中的事件。
Tool call start event.
ToolCallStateagentscope.message
工具调用的状态。
The state of the tool call.
ToolChoiceagentscope.tool
工具选项配置。
The tool choice configuration.
ToolChunkagentscope.tool
工具结果分块来自工具执行。
The tool result chunk from a tool execution.
ToolContextagentscope.state
工具上下文,在多次调用之间保存和恢复会话与记忆数据。
The tool context, e.g. tool cache
ToolGroupagentscope.tool
工具组,让智能体以受控方式调用外部能力。
A group of related tools, mcps, and skills that an agent can activate, deactivate and use together. The tool group is activated by the meta tool `ResetTools`.
ToolGroupInactiveErroragentscope.exception
工具组 Inactive 错误,为框架提供通用类型与基础能力。
Exception raised when a tool group is inactive.
ToolInterruptedErroragentscope.exception
工具 Interrupted 错误,为框架提供通用类型与基础能力。
Exception raised when a tool calling was interrupted by the user.
ToolJSONDecodeErroragentscope.exception
工具 JSON Decode 错误,为框架提供通用类型与基础能力。
Exception raised when tool arguments fail JSON decoding or repair.
Toolkitagentscope.tool
工具注册表
Toolkit is the core module to register, manage and delete tool functions, MCP clients, Agent skills in AgentScope.
ToolMiddlewareBaseagentscope.tool
工具中间件基类,让智能体以受控方式调用外部能力。
Base class for tool middlewares.
ToolNotFoundErroragentscope.exception
工具未找到错误,为框架提供通用类型与基础能力。
Exception raised when a tool was not found.
ToolOffloadMiddlewareagentscope.app.middleware
工具卸载中间件,在智能体执行流程中提供横切扩展。
Middleware that offloads timed-out tool calls to background tasks.
ToolResponseagentscope.tool
工具执行结果
The tool response from a tool execution, which contains the completed tool result (compared to ToolChunk).
ToolResultBlockagentscope.message
工具结果块。
The tool result block.
ToolResultDataDeltaEventagentscope.event
工具结果数据增量事件,描述执行过程中的事件。
Tool result data delta event.
ToolResultEndEventagentscope.event
工具结果结束事件,描述执行过程中的事件。
Tool result end event.
ToolResultStartEventagentscope.event
工具结果启动事件,描述执行过程中的事件。
Tool result start event.
ToolResultStateagentscope.message
工具结果状态。
The tool result state.
ToolResultTextDeltaEventagentscope.event
工具结果文本增量事件,描述执行过程中的事件。
Tool result text delta event.
TracingMiddlewareagentscope.middleware
追踪中间件,在智能体执行流程中提供横切扩展。
Agent middleware that adds OpenTelemetry tracing to the reply, model-call and tool-execution lifecycles.
TranscriptDeltaEventagentscope.realtime
Transcript 增量事件,描述执行过程中的事件。
A chunk of the assistant's spoken text.
TransportBaseagentscope.realtime
传输层基类,处理低延迟的实时语音与多模态交互。
Connects a :class:`RealtimeAgent` to where audio comes from and goes to.
TTSMiddlewareagentscope.middleware
TTS 中间件,在智能体执行流程中提供横切扩展。
Synthesize speech for every text block produced during reasoning and inject the audio as ``DATA_BLOCK_*`` events into the stream.
TTSModelBaseagentscope.tts
TTS 模型,使用 AgentScope的基类。
Base class for TTS models in AgentScope.
TTSModelCardagentscope.tts
模型卡片类用于 TTS 模型。
The model card class for TTS models.
TTSModelConfigagentscope.app.storage
TTS 模型配置类。
The TTS model configuration class.
TTSResponseagentscope.tts
TTS 模型的响应。
The response of TTS models.
TTSUsageagentscope.tts
TTS 用量,处理低延迟的实时语音与多模态交互。
The usage of a TTS model API invocation.
TurnAggregatoragentscope.agent
轮次聚合器,驱动智能体的推理、工具调用与会话执行。
Collapses the transcripts a provider emits into clean user turns.
TurnMetricsagentscope.agent
轮次指标,驱动智能体的推理、工具调用与会话执行。
The four timestamps of one turn, and the delays derived from them.
TypeSafeCredentialagentscope.credential
类型安全凭证,与模型服务通信并返回生成或向量化结果。
The credential used by TypeSafe System One models.
URLSourceagentscope.message
URL 来源。
The URL source.
Usageagentscope.message
用量,在智能体、模型与前端之间传递结构化消息和事件。
The token usage information of a message.
UserConfirmResultEventagentscope.event
用户确认结果事件,描述执行过程中的事件。
User confirm result event.
UserInterruptEventagentscope.event
用户中断事件,描述执行过程中的事件。
User-initiated interrupt targeting a parked reply.
UserOriginagentscope.app.storage
用户来源,在多次调用之间保存和恢复会话与记忆数据。
A session a person opened themselves.
UserRecordagentscope.app.storage
用户类。
The user record.
VADBaseagentscope.realtime
语音活动检测基类,处理低延迟的实时语音与多模态交互。
Voice activity detection over a stream of PCM16 mono audio.
VectorRecordagentscope.rag
向量记录,把私有文档转化为可检索的知识。
A single record to insert into a vector store collection.
VectorSearchResultagentscope.rag
向量搜索结果,把私有文档转化为可检索的知识。
A single result returned by a similarity search.
VectorStoreBaseagentscope.rag
向量存储基类,把私有文档转化为可检索的知识。
Abstract base class for vector store backends.
VerificationResultagentscope.sop
Verification 结果,把复杂任务拆分为可执行步骤并驱动流程。
One settled verdict on one attempt.
VolcengineChatFormatteragentscope.formatter
火山引擎聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。
The Volcengine Ark formatter for a chatbot conversation.
VolcengineChatModelagentscope.model
火山引擎聊天模型,与模型服务通信并返回生成或向量化结果。
The Volcengine Ark chat model.
VolcengineCredentialagentscope.credential
火山引擎凭证模型。
The Volcengine credential model.
VolcengineMultiAgentFormatteragentscope.formatter
火山引擎 Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Volcengine formatter for multi-agent conversations, where more than a user and an agent are involved.
WordParseragentscope.rag
Word 解析器,把私有文档转化为可检索的知识。
Parser for Word ``.docx`` files.
WorkspaceBaseagentscope.workspace
工作区基类,在隔离环境中安全执行代码和工具。
Abstract base class for all workspace implementations.
WorkspaceManagerBaseagentscope.app.workspace_manager
工作区管理器基类,承载智能体的部署、调度与服务化运行。
Abstract base for workspace managers.
Writeagentscope.tool
写入工具。
The write tool.
XAIChatFormatteragentscope.formatter
用于xAI 聊天模型的格式化器。
Formatter for the xAI chat model.
XAIChatModelagentscope.model
xAI 聊天模型使用官方`xai_sdk`gRPC 客户端。
The xAI chat model using the official ``xai_sdk`` gRPC client.
XAICredentialagentscope.credential
xAI 凭证模型。
The xAI credential model.
XAIMultiAgentFormatteragentscope.formatter
xAI Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Formatter for the xAI chat model in multi-agent conversations.
XAIRealtimeModelagentscope.realtime
xAI 实时模型,处理低延迟的实时语音与多模态交互。
The Grok voice speech-to-speech API over WebSocket.