全部类All Classes
411 个顶层类;含嵌套类共 459 个。411 top-level classes; 459 including nested classes.
| 类Class | 包Package | 说明Description |
|---|---|---|
A2AAgent | agentscope.agent | A2A 智能体,驱动智能体的推理、工具调用与会话执行。 A stateful client-side adapter for an A2A 1.0 agent. |
A2AAgentState | agentscope.state | A2A 智能体状态。 The A2A agent state. |
AdditionalWorkingDirectory | agentscope.permission | Additional Working 目录,驱动智能体的推理、工具调用与会话执行。 An additional directory included in permission scope. |
Agent | agentscope.agent | 状态化 ReAct 智能体 The agent class. |
AgentChatConfig | agentscope.app.storage | 智能体聊天配置,保存相关配置项。 The settings that apply when the agent talks in text. |
AgentData | agentscope.app.storage | 智能体数据模型。 The agent data model. |
AgenticMemoryMiddleware | agentscope.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. |
AgentLike | agentscope.sop | 智能体 Like,把复杂任务拆分为可执行步骤并驱动流程。 What a step needs of whatever does its work or judges it. |
AgentOrientedException | agentscope.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. |
AgentRecord | agentscope.app.storage | 智能体 ORM 模型。 The agent ORM model. |
AgentState | agentscope.state | 会话状态 The agent state that should be saved and loaded from storage. |
AgentVerifier | agentscope.app.storage | 智能体校验器,在多次调用之间保存和恢复会话与记忆数据。 A verifier that is itself an agent. |
AGUIProtocolMiddleware | agentscope.app.middleware | AGUI 协议中间件,在智能体执行流程中提供横切扩展。 The middleware that converts the AgentScope events into AGUI protocol. |
AnthropicChatFormatter | agentscope.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. |
AnthropicChatModel | agentscope.model | Anthropic 聊天模型,与模型服务通信并返回生成或向量化结果。 The Anthropic chat model. |
AnthropicCredential | agentscope.credential | Anthropic 凭证,与模型服务通信并返回生成或向量化结果。 The Anthropic credential model. |
AnthropicMultiAgentFormatter | agentscope.formatter | Anthropic Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Anthropic formatter for multi-agent conversations, where more than a user and an agent are involved. |
AppleContainerBackend | agentscope.workspace | Apple 容器 Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Apple container via the ``container`` CLI. |
AppleContainerWorkspace | agentscope.workspace | Apple 容器工作区,在隔离环境中安全执行代码和工具。 Workspace backed by Apple's ``container`` CLI. |
AppleContainerWorkspaceManager | agentscope.app.workspace_manager | Apple 容器工作区管理器,承载智能体的部署、调度与服务化运行。 Manages :class:`AppleContainerWorkspace` instances with TTL-based caching. |
ApproxTokenChunker | agentscope.rag | Approx 令牌切分器,把私有文档转化为可检索的知识。 A chunker based on an approximate token counting strategy. |
AskUser | agentscope.tool | Ask 用户,让智能体以受控方式调用外部能力。 The tool to collect information from the user via multiple-choice questions. |
AskUserAnswer | agentscope.tool | Ask 用户答案,让智能体以受控方式调用外部能力。 One question's answer, as the caller must return it. |
AskUserMetadata | agentscope.tool | Ask 用户元数据,让智能体以受控方式调用外部能力。 What the caller must put in ``ToolResultBlock.metadata``. |
AskUserParams | agentscope.tool | Ask 用户参数,让智能体以受控方式调用外部能力。 What a caller asks for — the questions, and their options. |
ASRModelBase | agentscope.asr | ASR 模型基类,处理低延迟的实时语音与多模态交互。 Base class for batch and realtime speech recognition models. |
ASRModelCard | agentscope.asr | ASR 模型卡片,处理低延迟的实时语音与多模态交互。 A model and its supported audio input types. |
ASRResponse | agentscope.asr | ASR 响应,处理低延迟的实时语音与多模态交互。 The text produced by an ASR model. |
AsyncReadable | agentscope.app.rag | 异步可读,把私有文档转化为可检索的知识。 Minimal async-read protocol returned by :meth:`BlobStoreBase.open`. |
AsyncSQLAlchemyStorage | agentscope.app.storage | 异步 SQLAlchemy 存储,负责持久化与读取数据。 Async SQLAlchemy-backed :class:`StorageBase` implementation. |
AudioDeltaEvent | agentscope.realtime | 音频增量事件,描述执行过程中的事件。 A chunk of assistant speech. |
AudioFrame | agentscope.realtime | 一种分块的上游用户音频。 A chunk of upstream user audio. |
BackendBase | agentscope.tool | Backend 基类,让智能体以受控方式调用外部能力。 Filesystem + subprocess interface consumed by builtin tools. |
Base64Source | agentscope.message | base64 来源。 The base64 source. |
Bash | agentscope.tool | Bash,让智能体以受控方式调用外部能力。 The bash tool. |
BinaryAnswer | agentscope.classifier | 二元答案,与模型服务通信并返回生成或向量化结果。 The probability of a positive answer to a binary question. |
BinaryCriteria | agentscope.classifier | 二元标准,与模型服务通信并返回生成或向量化结果。 Optional descriptions for the two outcomes of a binary question. |
BinaryQuestion | agentscope.classifier | 二元问题,与模型服务通信并返回生成或向量化结果。 A question whose answer is a probability between zero and one. |
BindingState | agentscope.app.channel | 绑定状态,把智能体接入外部消息渠道与企业平台。 Where a binding session is in its lifecycle. |
BindingStep | agentscope.app.channel | 绑定步骤,把智能体接入外部消息渠道与企业平台。 What one call to a provider produced. |
BlobStoreBase | agentscope.app.rag | 二进制对象存储基类,把私有文档转化为可检索的知识。 Abstract base class for blob storage backends. |
BubblewrapBackend | agentscope.workspace | Bubblewrap Backend,在隔离环境中安全执行代码和工具。 Backend that executes commands inside Bubblewrap sandboxes. |
BubblewrapWorkspace | agentscope.workspace | Bubblewrap 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by Linux Bubblewrap. |
BubblewrapWorkspaceManager | agentscope.app.workspace_manager | Bubblewrap 工作区管理器,承载智能体的部署、调度与服务化运行。 Manage Bubblewrap workspaces with TTL caching. |
ChannelBase | agentscope.app.channel | 平台渠道的抽象基类。 Abstract base for platform channels. |
ChannelBinding | agentscope.app.storage | 渠道绑定,在多次调用之间保存和恢复会话与记忆数据。 One routing rule: match an inbound event, then decide which agent handles it and how its session is grouped. |
ChannelCapability | agentscope.app.channel | 渠道能力,把智能体接入外部消息渠道与企业平台。 Platform capability declaration for gateway degradation decisions. |
ChannelClients | agentscope.app.channel | 渠道客户端,封装与远端服务的连接和调用。 Builds and caches unconnected channel instances by channel id. |
ChannelConfirmationResultEvent | agentscope.app.channel | 渠道确认结果事件,描述执行过程中的事件。 A user's decision on a pending tool-approval, delivered inbound. |
ChannelError | agentscope.app.channel | 渠道错误,把智能体接入外部消息渠道与企业平台。 A channel operation failed. |
ChannelEvent | agentscope.app.channel | 渠道事件,描述执行过程中的事件。 A normalised inbound message from an external platform. |
ChannelGateway | agentscope.app.channel | 渠道网关,把智能体接入外部消息渠道与企业平台。 Route inbound channel events into runs; resume on card clicks. |
ChannelHeartbeat | agentscope.app.channel | 渠道心跳,把智能体接入外部消息渠道与企业平台。 One node's report of a channel's status, stamped with the time it was written. |
ChannelLifecycleDispatcher | agentscope.app.channel | 渠道生命周期调度器,把智能体接入外部消息渠道与企业平台。 Reconciles this node's channel instances against storage. |
ChannelOrigin | agentscope.app.storage | 一种会话入站平台消息已打开。 A session an inbound platform message opened. |
ChannelRecord | agentscope.app.storage | 渠道记录,在多次调用之间保存和恢复会话与记忆数据。 Persistent record for a channel instance — the single source of truth. Running adapter instances are a projection of this record. |
ChannelStatus | agentscope.app.channel | 渠道状态,把智能体接入外部消息渠道与企业平台。 Live connection status of a running channel adapter — owned and updated by the adapter itself; read by the dispatcher's status API. |
ChannelTypeRegistry | agentscope.app.channel | 渠道类型注册表,把智能体接入外部消息渠道与企业平台。 The channel types a service allows, keyed by ``channel_type``. |
ChannelTypeSchema | agentscope.app.channel | 渠道类型模式,把智能体接入外部消息渠道与企业平台。 Frontend-facing metadata for one channel type. |
ChatKind | agentscope.app.channel | 聊天种类,把智能体接入外部消息渠道与企业平台。 A chat's audience shape, used to tailor the agent's context. |
ChatModelBase | agentscope.model | 聊天模型抽象基类 The base class for chat models. |
ChatModelCandidate | agentscope.middleware | 聊天模型 Candidate,驱动智能体的推理、工具调用与会话执行。 A named chat model and the criteria for selecting it. |
ChatModelConfig | agentscope.app.storage | 模型配置类。 The model configuration class. |
ChatResponse | agentscope.model | 聊天模型的响应。 The response of chat models. |
ChatUI | agentscope.tui | 聊天 UI,为框架提供通用类型与基础能力。 Messages, composer and HITL controls without an Agent dependency. |
ChatUsage | agentscope.model | 聊天用量,与模型服务通信并返回生成或向量化结果。 The usage of a chat model API invocation. |
ChoiceAnswer | agentscope.classifier | 选项答案,与模型服务通信并返回生成或向量化结果。 The selected alternative and its probability distribution. |
ChoiceQuestion | agentscope.classifier | 选项问题,与模型服务通信并返回生成或向量化结果。 A question that selects one named alternative. |
Chunk | agentscope.rag | 分块,把私有文档转化为可检索的知识。 A final indexable chunk produced by a :class:`ChunkerBase`. |
ChunkerBase | agentscope.rag | 切分器基类,把私有文档转化为可检索的知识。 Abstract base class for chunkers. |
ChunkerConfig | agentscope.app.storage | 切分器配置,保存相关配置项。 Chunker configuration persisted alongside a knowledge base. |
ClassifierModelBase | agentscope.classifier | 分类器模型基类,与模型服务通信并返回生成或向量化结果。 Base class for models that return typed probabilistic decisions. |
ClassifierResponse | agentscope.classifier | 分类器模型的规范化响应。 The normalized response of a classifier model. |
ClassifierUsage | agentscope.classifier | 分类器用量,与模型服务通信并返回生成或向量化结果。 The usage of a classifier model API invocation. |
ClawSkillHub | agentscope.app.hub | Claw 技能中心,把智能体接入外部消息渠道与企业平台。 A skill hub backed by the ClawHub registry. |
CollectionPerKbManager | agentscope.app.rag | 集合每个知识库管理器,把私有文档转化为可检索的知识。 One-collection-per-KB knowledge base manager. |
ConfirmResult | agentscope.event | 用于工具调用的确认结果。 Confirm result for a tool call. |
ConsoleRenderer | agentscope.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: |
ContextConfig | agentscope.agent | AgentScope 的上下文相关配置。 The context related configuration in AgentScope |
ControlFrame | agentscope.realtime | Control Frame,处理低延迟的实时语音与多模态交互。 One upstream control event. |
ControlFrameType | agentscope.realtime | Control Frame 类型,处理低延迟的实时语音与多模态交互。 The non-audio things a remote client can say. |
CredentialBase | agentscope.credential | 凭证基类类。 The credential base class. |
CredentialBindingBase | agentscope.app.channel | 凭证绑定基类,把智能体接入外部消息渠道与企业平台。 Base for a channel type's interactive credential flow. |
CredentialFactory | agentscope.credential | 凭证工厂,与模型服务通信并返回生成或向量化结果。 Registry and deserializer for :class:`CredentialBase` subclasses. |
CredentialRecord | agentscope.app.storage | 凭证记录,在多次调用之间保存和恢复会话与记忆数据。 The credential model used for storing credentials. |
CustomEvent | agentscope.event | 自定义事件,描述执行过程中的事件。 Generic extensible event for signals that don't fit a specific ``AgentEvent`` subtype. |
DashScopeAudioRealtimeModel | agentscope.realtime | DashScope 音频实时模型,处理低延迟的实时语音与多模态交互。 The Qwen-Audio-Realtime API over WebSocket. |
DashScopeChatFormatter | agentscope.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. |
DashScopeChatModel | agentscope.model | DashScope 聊天模型,与模型服务通信并返回生成或向量化结果。 The DashScope chat model (OpenAI-compatible implementation). |
DashScopeCosyVoiceTTSModel | agentscope.tts | DashScope Cosy 语音 TTS 模型,处理低延迟的实时语音与多模态交互。 DashScope CosyVoice TTS model using the WebSocket SpeechSynthesizer. |
DashScopeCredential | agentscope.credential | 凭证用于 DashScope API。 The credential for DashScope API. |
DashScopeEmbeddingModel | agentscope.embedding | DashScope 向量化模型,与模型服务通信并返回生成或向量化结果。 Unified DashScope embedding model. |
DashScopeMultiAgentFormatter | agentscope.formatter | DashScope Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 DashScope formatter for multi-agent conversations (OpenAI-compatible format), where more than a user and an agent are involved. |
DashScopeRealtimeModel | agentscope.realtime | DashScope 实时模型,处理低延迟的实时语音与多模态交互。 The Qwen-Omni realtime API over WebSocket. |
DashScopeRealtimeTTSModel | agentscope.tts | DashScope 实时 TTS 模型,处理低延迟的实时语音与多模态交互。 DashScope Realtime TTS model using the QwenTtsRealtime WebSocket API. |
DashScopeTTSModel | agentscope.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>`_. |
DataBlock | agentscope.message | 数据块,在智能体、模型与前端之间传递结构化消息和事件。 The data block for binary content (images, audio, video, etc.). |
DataBlockDeltaEvent | agentscope.event | 数据块增量事件,描述执行过程中的事件。 Data block delta event. |
DataBlockEndEvent | agentscope.event | 数据块结束事件,描述执行过程中的事件。 Data block end event. |
DataBlockStartEvent | agentscope.event | 数据块启动事件,描述执行过程中的事件。 Data block start event. |
DaytonaBackend | agentscope.workspace | Daytona Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Daytona sandbox. |
DaytonaWorkspace | agentscope.workspace | Daytona 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Daytona sandbox. |
DaytonaWorkspaceManager | agentscope.app.workspace_manager | Daytona 工作区管理器,承载智能体的部署、调度与服务化运行。 Manages :class:`DaytonaWorkspace` instances with TTL caching. |
DeepSeekChatFormatter | agentscope.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. |
DeepSeekChatModel | agentscope.model | DeepSeek 聊天模型。 The DeepSeek chat model. |
DeepSeekCredential | agentscope.credential | DeepSeek 凭证模型。 The DeepSeek credential model. |
DeepSeekMultiAgentFormatter | agentscope.formatter | DeepSeek Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 DeepSeek formatter for multi-agent conversations, where more than a user and an agent are involved. |
DenyAllResourceAccessPolicy | agentscope.app.access | 拒绝所有资源访问策略,把智能体接入外部消息渠道与企业平台。 Default policy that denies all cross-owner resource access. |
DeveloperOrientedException | agentscope.exception | Developer Oriented 异常,表示执行过程中的错误。 The exception should be raised to the developers. |
DimensionPolicy | agentscope.app.rag | 维度策略,把私有文档转化为可检索的知识。 The dimension policy a manager exposes to the front-end. |
DimensionPolicyError | agentscope.app.rag | 维度策略错误,把私有文档转化为可检索的知识。 Raised when a create-time embedding model violates the manager's dimension policy. |
DimensionPolicyKind | agentscope.app.rag | 维度策略种类,把私有文档转化为可检索的知识。 The kind of dimension policy the manager publishes. |
DingTalkChannel | agentscope.app.channel | DingTalk 渠道,把智能体接入外部消息渠道与企业平台。 DingTalk enterprise application robot channel. |
DirEntry | agentscope.tool | 目录条目,让智能体以受控方式调用外部能力。 One entry from :meth:`BackendBase.scandir`. |
DiscordChannel | agentscope.app.channel | Discord 渠道,把智能体接入外部消息渠道与企业平台。 Discord platform channel. |
DockerBackend | agentscope.workspace | Docker Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Docker container. |
DockerWorkspace | agentscope.workspace | Docker 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Docker container. |
DockerWorkspaceManager | agentscope.app.workspace_manager | Docker 工作区管理器,承载智能体的部署、调度与服务化运行。 Manages :class:`DockerWorkspace` instances with TTL-based caching. |
DocumentSummary | agentscope.rag | 文档摘要,把私有文档转化为可检索的知识。 A lightweight description of one source document inside a collection. |
E2BBackend | agentscope.workspace | E2B Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running E2B sandbox. |
E2BWorkspace | agentscope.workspace | E2B 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by an E2B cloud sandbox. |
E2BWorkspaceManager | agentscope.app.workspace_manager | E2B 工作区管理器,承载智能体的部署、调度与服务化运行。 Manages :class:`E2BWorkspace` instances with TTL-based caching. |
Edit | agentscope.tool | Edit,让智能体以受控方式调用外部能力。 The edit tool for performing exact string replacements in files. |
ElasticsearchStore | agentscope.rag | Elasticsearch 存储,负责持久化与读取数据。 Vector store backed by Elasticsearch dense-vector indexes. |
EmbeddingCacheBase | agentscope.embedding | 向量化缓存基类,与模型服务通信并返回生成或向量化结果。 Base class for embedding caches, which is responsible for storing and retrieving embeddings. |
EmbeddingModelBase | agentscope.embedding | 向量化模型的基类。 Base class for embedding models. |
EmbeddingModelCard | agentscope.embedding | 向量化模型卡片,与模型服务通信并返回生成或向量化结果。 A card describing an embedding model's capabilities. |
EmbeddingModelConfig | agentscope.app.storage | 向量化模型配置,保存相关配置项。 Configuration for constructing an embedding model from a credential. |
EmbeddingResponse | agentscope.embedding | 向量化响应类。 The embedding response class. |
EmbeddingUsage | agentscope.embedding | 向量化用量,与模型服务通信并返回生成或向量化结果。 The usage of an embedding model API invocation. |
ErrorInfo | agentscope.types | 错误信息,为框架提供通用类型与基础能力。 Structured, UI-facing description of a fatal reply error. |
ErrorType | agentscope.types | 错误类型,为框架提供通用类型与基础能力。 Classification of a fatal error that terminated a reply. |
EventBase | agentscope.event | 基类事件。 Base event class. |
EventType | agentscope.event | 事件类型,在智能体、模型与前端之间传递结构化消息和事件。 Event type enumeration. |
ExceedMaxItersEvent | agentscope.event | 超出最大迭代次数事件,描述执行过程中的事件。 Deprecated exceeded max iteration event, still emitted for backward compatibility without semantics; use ``ReplyEndEvent.finished_reason``. |
ExcelParser | agentscope.rag | Excel 解析器,把私有文档转化为可检索的知识。 Parser for Excel ``.xlsx`` / ``.xls`` files. |
ExecResult | agentscope.tool | Exec 结果,让智能体以受控方式调用外部能力。 Result of running a shell command via a backend. |
ExternalExecutionResultEvent | agentscope.event | 外部执行结果事件,描述执行过程中的事件。 External execution result event. |
FeishuChannel | agentscope.app.channel | Feishu 渠道,把智能体接入外部消息渠道与企业平台。 Feishu platform channel (SDK long-connection mode). |
FileEmbeddingCache | agentscope.embedding | 文件向量化缓存,与模型服务通信并返回生成或向量化结果。 The embedding cache class that stores each embeddings vector in binary files. |
FinishedReason | agentscope.model | Finished 推理,与模型服务通信并返回生成或向量化结果。 The finished reason of the model response. |
FormatterBase | agentscope.formatter | 消息格式转换基类 The base class for formatters. |
FunctionTool | agentscope.tool | 函数工具适配器 Adapter to convert a Python function to ToolProtocol. |
GeminiChatFormatter | agentscope.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. |
GeminiChatModel | agentscope.model | Gemini 聊天模型,与模型服务通信并返回生成或向量化结果。 The Google Gemini chat model. |
GeminiCredential | agentscope.credential | Gemini 凭证,与模型服务通信并返回生成或向量化结果。 The Google Gemini credential model. |
GeminiEmbeddingModel | agentscope.embedding | Gemini 向量化模型,与模型服务通信并返回生成或向量化结果。 Unified Google Gemini embedding model. |
GeminiMultiAgentFormatter | agentscope.formatter | Gemini Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 The multi-agent formatter for Google Gemini API, where more than a user and an agent are involved. |
GeminiRealtimeModel | agentscope.realtime | Gemini 实时模型,处理低延迟的实时语音与多模态交互。 The Gemini Live API over WebSocket. |
GeminiTTSModel | agentscope.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>`_. |
GitHubMCPHub | agentscope.app.hub | GitHub MCP 中心,把智能体接入外部消息渠道与企业平台。 An MCP hub backed by GitHub's MCP registry. |
Glob | agentscope.tool | Glob,让智能体以受控方式调用外部能力。 The glob tool for fast file pattern matching. |
GoalPipeline | agentscope.pipeline | 目标流水线,把复杂任务拆分为可执行步骤并驱动流程。 The goal pipeline class that run an executor and verifier in a loop until the goal is achieved. |
Grep | agentscope.tool | Grep,让智能体以受控方式调用外部能力。 The grep tool for searching file contents using ripgrep. |
HintBlock | agentscope.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. |
HintBlockEvent | agentscope.event | Hint 块事件,描述执行过程中的事件。 One-shot hint block event. |
HttpMCPConfig | agentscope.mcp | HTTP MCP 服务端配置。 The HTTP MCP server configuration. |
HubBase | agentscope.app.hub | 中心基类,把智能体接入外部消息渠道与企业平台。 The identity and lifecycle shared by every hub implementation. |
HubError | agentscope.app.hub | 中心错误,把智能体接入外部消息渠道与企业平台。 Raised when a hub's upstream registry returns a failure. |
HumanVerifier | agentscope.app.storage | 人工校验器,在多次调用之间保存和恢复会话与记忆数据。 A verifier that asks a person and waits for the answer. |
ImageParser | agentscope.rag | 用于图像文件的解析器。 Parser for image files. |
InboxMiddleware | agentscope.app.middleware | 收件箱中间件,在智能体执行流程中提供横切扩展。 Drain the session's inbox and inject HintBlocks before each reasoning step. |
InjectionConfig | agentscope.agent | AgentScope 的运行时状态注入相关配置。 The state injection related configuration in AgentScope. |
InMemoryMessageBus | agentscope.app.message_bus | In 记忆消息总线,把智能体接入外部消息渠道与企业平台。 In-memory implementation of :class:`MessageBus`. |
InputTranscriptionEvent | agentscope.realtime | 输入 Transcription 事件,描述执行过程中的事件。 The settled transcript of one user turn. |
InputTranscriptionFailedEvent | agentscope.realtime | 输入 Transcription 失败事件,描述执行过程中的事件。 The provider could not transcribe one committed user turn. |
InviteConfig | agentscope.app.storage | 邀请配置,保存相关配置项。 User-editable invite settings for :class:`AgentData`. |
IsolationPolicy | agentscope.app.workspace_manager | 隔离策略,承载智能体的部署、调度与服务化运行。 Workspace isolation grain for :meth:`WorkspaceManagerBase.assign_workspace_id`. |
JevClassifierModel | agentscope.classifier | Jev 分类器模型,与模型服务通信并返回生成或向量化结果。 A classifier backed by TypeSafe's Jev System One API. |
K8sBackend | agentscope.workspace | K 8 s Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running Kubernetes Pod. |
K8sWorkspace | agentscope.workspace | K 8 s 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by a Kubernetes Pod with PVC persistence. |
K8sWorkspaceManager | agentscope.app.workspace_manager | K 8 s 工作区管理器,承载智能体的部署、调度与服务化运行。 Manages :class:`K8sWorkspace` instances with TTL-based caching. |
KnowledgeBase | agentscope.rag | 文档知识库 Runtime handle for one knowledge base. |
KnowledgeBaseData | agentscope.app.storage | 可变负载的知识库基类类。 The mutable payload of a knowledge base record. |
KnowledgeBaseError | agentscope.app.rag | 知识库基类管理器错误的基类。 Base class for knowledge base manager errors. |
KnowledgeBaseManagerBase | agentscope.app.rag | 知识库管理器基类,把私有文档转化为可检索的知识。 Abstract base for knowledge base managers. |
KnowledgeBaseNotFoundError | agentscope.app.rag | 知识库未找到错误,把私有文档转化为可检索的知识。 Raised when a knowledge base record cannot be located. |
KnowledgeBaseRecord | agentscope.app.storage | 知识库记录,在多次调用之间保存和恢复会话与记忆数据。 A persisted knowledge base record. |
KnowledgeDocumentData | agentscope.app.storage | 可变负载的知识库文档类。 The mutable payload of a knowledge document record. |
KnowledgeDocumentRecord | agentscope.app.storage | 知识库文档记录,在多次调用之间保存和恢复会话与记忆数据。 A persisted knowledge document record. |
LocalAudioTransport | agentscope.realtime | 本地音频传输层,处理低延迟的实时语音与多模态交互。 Microphone in, speaker out, via ``sounddevice``. |
LocalBackend | agentscope.tool | 本地 Backend,让智能体以受控方式调用外部能力。 Host-local :class:`BackendBase` implementation. |
LocalBlobStore | agentscope.app.rag | 本地二进制对象存储,负责持久化与读取数据。 Store blobs as files beneath a configurable root directory. |
LocalSkillLoader | agentscope.skill | 本地技能加载器,让智能体以受控方式调用外部能力。 The skill loader that loads skills from a local directory. |
LocalWorkspace | agentscope.workspace | 本地工作区,在隔离环境中安全执行代码和工具。 Local-directory workspace. |
LocalWorkspaceManager | agentscope.app.workspace_manager | 本地工作区管理器,承载智能体的部署、调度与服务化运行。 Manages LocalWorkspace instances with TTL-based lazy lifecycle. |
MCPCard | agentscope.app.hub | MCP 卡片,把智能体接入外部消息渠道与企业平台。 A single MCP listing on a hub. |
MCPClient | agentscope.mcp | MCP 客户端 The unified MCP client in AgentScope. |
MCPHubBase | agentscope.app.hub | MCP 中心基类,把智能体接入外部消息渠道与企业平台。 The base class for MCP hub implementations. |
MCPHubPage | agentscope.app.hub | MCP 中心页码,把智能体接入外部消息渠道与企业平台。 One page of MCP cards. |
MCPRecord | agentscope.app.storage | MCP 记录,在多次调用之间保存和恢复会话与记忆数据。 One MCP a user has installed, at the user level rather than in any one workspace. |
MCPTool | agentscope.tool | MCP 工具,封装可被智能体调用的能力。 Adapter to convert an MCP tool to ToolProtocol. |
Mem0Middleware | agentscope.middleware | Mem 0 中间件,在智能体执行流程中提供横切扩展。 AgentScope middleware that adds long-term memory backed by `mem0 <https://github.com/mem0ai/mem0>`_. |
MessageBus | agentscope.app.message_bus | 消息总线,把智能体接入外部消息渠道与企业平台。 Abstract base class for live message transport. |
MessageBusKeys | agentscope.app.message_bus | 消息总线密钥,把智能体接入外部消息渠道与企业平台。 Application-layer key conventions for the message bus. |
MessagesUI | agentscope.tui | 消息 UI,为框架提供通用类型与基础能力。 Render authoritative message snapshots without consuming events. |
MiddlewareBase | agentscope.middleware | 中间件钩子基类 Base class for all middleware implementations. |
MilvusLiteStore | agentscope.rag | Milvus Lite 存储,负责持久化与读取数据。 Vector store backend backed by Milvus Lite. |
MiniMaxChatFormatter | agentscope.formatter | MiniMax 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。 The MiniMax formatter for chatbot scenario. |
MiniMaxChatModel | agentscope.model | MiniMax 聊天模型,与模型服务通信并返回生成或向量化结果。 Chat model for MiniMax's Anthropic-compatible API. |
MiniMaxCredential | agentscope.credential | MiniMax 凭证模型。 The MiniMax credential model. |
MiniMaxMultiAgentFormatter | agentscope.formatter | MiniMax Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 The MiniMax formatter for multi-agent conversations. |
ModelCallEndEvent | agentscope.event | 模型调用结束事件,描述执行过程中的事件。 Model call end event. |
ModelCallStartEvent | agentscope.event | 模型调用启动事件,描述执行过程中的事件。 Model call start event. |
ModelCard | agentscope.model | 模型卡片类。 The model card class. |
ModelConfig | agentscope.agent | 模型相关配置。 The model related configuration. |
ModelDisconnectedError | agentscope.realtime | 模型已断开错误,处理低延迟的实时语音与多模态交互。 The provider closed the session; the next user audio reconnects. |
ModelErrorEvent | agentscope.realtime | 模型错误事件,描述执行过程中的事件。 An error reported by the provider. |
ModelEvent | agentscope.realtime | 模型事件,描述执行过程中的事件。 Common base class, for type hinting only. |
ModelRouterMiddleware | agentscope.middleware | 模型路由器中间件,在智能体执行流程中提供横切扩展。 Select the chat model of each reply by classifying the user input. |
MongoDBStore | agentscope.rag | MongoDB 存储,负责持久化与读取数据。 Vector store backend backed by `MongoDB Vector Search <https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-overview/>`_. |
MoonshotChatFormatter | agentscope.formatter | Moonshot 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。 The Moonshot AI formatter for chatbot scenario. |
MoonshotChatModel | agentscope.model | Moonshot 聊天模型,与模型服务通信并返回生成或向量化结果。 The Moonshot AI chat model. |
MoonshotCredential | agentscope.credential | Moonshot 凭证,与模型服务通信并返回生成或向量化结果。 The Moonshot AI credential model. |
MoonshotMultiAgentFormatter | agentscope.formatter | Moonshot Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Formatter for the Moonshot AI API in multi-agent conversations. |
Msg | agentscope.message | 统一消息对象 The message class in AgentScope, responsible for information storage and transmission among different agents. |
Offloader | agentscope.workspace | Offloader,在隔离环境中安全执行代码和工具。 The offloader protocol. |
OllamaChatFormatter | agentscope.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. |
OllamaChatModel | agentscope.model | Ollama 聊天模型,与模型服务通信并返回生成或向量化结果。 The Ollama chat model. |
OllamaCredential | agentscope.credential | Ollama 凭证,与模型服务通信并返回生成或向量化结果。 The Ollama credential model (connection settings). |
OllamaEmbeddingModel | agentscope.embedding | Ollama 向量化模型,与模型服务通信并返回生成或向量化结果。 Ollama text embedding model. |
OllamaMultiAgentFormatter | agentscope.formatter | Ollama Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Ollama formatter for multi-agent conversations, where more than a user and an agent are involved. |
OpenAIASRModel | agentscope.asr | OpenAI ASR 模型,处理低延迟的实时语音与多模态交互。 Batch speech recognition using OpenAI's Audio Transcriptions API. |
OpenAIChatFormatter | agentscope.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. |
OpenAIChatModel | agentscope.model | OpenAI 兼容聊天模型 The OpenAI Chat Completions model. |
OpenAIClassifierModel | agentscope.classifier | OpenAI 分类器模型,与模型服务通信并返回生成或向量化结果。 A classifier backed by the OpenAI Decisions API. |
OpenAICredential | agentscope.credential | OpenAI 凭证模型。 The OpenAI credential model. |
OpenAIEmbeddingModel | agentscope.embedding | OpenAI 向量化模型,与模型服务通信并返回生成或向量化结果。 OpenAI text embedding model. |
OpenAIMultiAgentFormatter | agentscope.formatter | OpenAI Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 OpenAI formatter for multi-agent conversations, where more than a user and an agent are involved. |
OpenAIRealtimeModel | agentscope.realtime | OpenAI 实时模型,处理低延迟的实时语音与多模态交互。 The OpenAI Realtime API over WebSocket. |
OpenAIResponseFormatter | agentscope.formatter | OpenAIResponse 格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Formatter for the OpenAI Responses API in chat (single-agent) mode. |
OpenAIResponseModel | agentscope.model | OpenAIResponse 模型,与模型服务通信并返回生成或向量化结果。 The OpenAI Responses API chat model. |
OpenAIResponseMultiAgentFormatter | agentscope.formatter | OpenAIResponse Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Formatter for the OpenAI Responses API in multi-agent mode. |
OpenAITTSModel | agentscope.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>`_. |
OpenSandboxBackend | agentscope.workspace | OpenSandbox Backend,在隔离环境中安全执行代码和工具。 Backend that delegates to a running OpenSandbox sandbox. |
OpenSandboxWorkspace | agentscope.workspace | OpenSandbox 工作区,在隔离环境中安全执行代码和工具。 Workspace backed by an OpenSandbox sandbox. |
OpenSandboxWorkspaceManager | agentscope.app.workspace_manager | OpenSandbox 工作区管理器,承载智能体的部署、调度与服务化运行。 Manages OpenSandbox workspaces with TTL-based caching. |
ParamsBase | agentscope.tool | 参数基类,让智能体以受控方式调用外部能力。 A base class for tool parameters that remove the title field from the exported JSON schema. |
ParserBase | agentscope.rag | 解析器基类,把私有文档转化为可检索的知识。 Abstract base class for file-format parsers. |
PDFParser | agentscope.rag | 用于PDF 文件的解析器。 Parser for PDF files. |
PermissionBehavior | agentscope.permission | 权限的行为。 The behavior of permission. |
PermissionContext | agentscope.permission | 权限上下文 Context for permission checking. |
PermissionDecision | agentscope.permission | 权限决策,驱动智能体的推理、工具调用与会话执行。 Decision result from permission checking. |
PermissionEngine | agentscope.permission | 权限引擎,驱动智能体的推理、工具调用与会话执行。 Engine for checking and enforcing permission rules. |
PermissionMode | agentscope.permission | 权限的模式。 The mode of permission. |
PermissionRule | agentscope.permission | 用于工具用量的权限规则。 Permission rule for tool usage. |
PipelineProtocol | agentscope.pipeline | 流水线协议,把复杂任务拆分为可执行步骤并驱动流程。 What a pipeline has to offer to go where an agent goes. |
PlayoutPosition | agentscope.realtime | Playout Position,处理低延迟的实时语音与多模态交互。 How much assistant audio actually left the speaker — the only sound basis for truncating a barge-in. |
PowerShell | agentscope.tool | Power Shell,让智能体以受控方式调用外部能力。 Execute PowerShell commands through a workspace backend. |
PPTParser | agentscope.rag | 用于PowerPoint`.pptx`文件的解析器。 Parser for PowerPoint ``.pptx`` files. |
PrewarmConfig | agentscope.app.workspace_manager | 预热配置,保存相关配置项。 How many workspaces a manager keeps built ahead of demand. |
ProtocolMiddlewareBase | agentscope.app.middleware | 协议中间件基类,承载智能体的部署、调度与服务化运行。 Base middleware for converting AgentEvent stream to protocol format. |
QdrantStore | agentscope.rag | Qdrant 存储,负责持久化与读取数据。 Vector store backend backed by `Qdrant <https://qdrant.tech>`_. |
RAGMiddleware | agentscope.middleware | RAG 中间件,在智能体执行流程中提供横切扩展。 Middleware that integrates knowledge-base search into the agent. |
ReActConfig | agentscope.agent | ReAct 循环配置 The reasoning related configuration |
Read | agentscope.tool | 读取工具。 The read tool. |
RealtimeAgent | agentscope.agent | 实时智能体,驱动智能体的推理、工具调用与会话执行。 A voice agent: a realtime model on one side, a transport on the other, and the turn-taking state machine in between. |
RealtimeModelBase | agentscope.realtime | 实时模型基类,处理低延迟的实时语音与多模态交互。 A bidirectional realtime model: audio in, audio and tool calls out. |
RealtimeModelCard | agentscope.realtime | 实时模型卡片,处理低延迟的实时语音与多模态交互。 Describes one realtime model. Everything here varies with the model name; what the adapter implements lives on :class:`RealtimeModelBase`. |
RealtimeModelConfig | agentscope.app.storage | 实时语音模型配置类。 The realtime voice model configuration class. |
RedisMessageBus | agentscope.app.message_bus | Redis 消息总线,把智能体接入外部消息渠道与企业平台。 Redis-backed implementation of :class:`MessageBus`. |
RedisStorage | agentscope.app.storage | Redis 存储,负责持久化与读取数据。 The Redis storage implementation. |
RefusalAnswer | agentscope.classifier | 拒答答案,与模型服务通信并返回生成或向量化结果。 A refusal to answer one question, independent of other answers. |
RegisteredTool | agentscope.tool | 已注册工具,封装可被智能体调用的能力。 The registered tool function class, used to store the tool function and its registration information. |
ReMeMiddleware | agentscope.middleware | Re Me 中间件,在智能体执行流程中提供横切扩展。 AgentScope middleware that adds long-term memory backed by `ReMe <https://github.com/agentscope-ai/ReMe>`_. |
ReplyBudgetControlMiddleware | agentscope.middleware | 回复预算 Control 中间件,在智能体执行流程中提供横切扩展。 Middleware that enforces a weighted token budget per reply. |
ReplyContext | agentscope.state | 当前智能体回复的上下文。 The context of the current agent reply. |
ReplyEndEvent | agentscope.event | 回复结束事件,描述执行过程中的事件。 Reply end event. |
ReplyEndReason | agentscope.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. |
ReplyFinishedReason | agentscope.event | 回复 Finished 推理,在智能体、模型与前端之间传递结构化消息和事件。 The reason a reply finished. |
ReplyStartEvent | agentscope.event | 回复启动事件,描述执行过程中的事件。 Reply start event. |
RequireExternalExecutionEvent | agentscope.event | Require 外部执行事件,描述执行过程中的事件。 Require external execution event. |
RequireUserConfirmEvent | agentscope.event | Require 用户确认事件,描述执行过程中的事件。 Require user confirm event. |
ResetTools | agentscope.tool | 重置工具,封装可被智能体调用的能力。 A meta tool allows agent to self-manage its equipped tools by activating or deactivating tool groups dynamically. |
ResourceAccessPolicyBase | agentscope.app.access | 资源访问策略基类,把智能体接入外部消息渠道与企业平台。 Base class for cross-owner resource access policies. |
ResourceKind | agentscope.app.access | 资源种类,把智能体接入外部消息渠道与企业平台。 Resource kinds that can be resolved through the access policy. |
ResourcePermission | agentscope.app.access | 资源权限,把智能体接入外部消息渠道与企业平台。 Permission level granted for a referenced resource. |
ResourceRef | agentscope.app.access | 资源引用,把智能体接入外部消息渠道与企业平台。 Reference to a resource owned by a specific user. |
ResponseCreatedEvent | agentscope.realtime | 响应已创建事件,描述执行过程中的事件。 The provider started producing a reply. |
ResponseDoneEvent | agentscope.realtime | 响应 Done 事件,描述执行过程中的事件。 The provider finished producing a reply. |
RoutingConfig | agentscope.app.storage | 路由配置,保存相关配置项。 Ordered routing rules for a channel. |
S3BlobStore | agentscope.app.rag | S 3 二进制对象存储,负责持久化与读取数据。 Store blobs in an S3-compatible bucket. |
ScheduleData | agentscope.app.storage | 调度配置数据。 The schedule configuration data. |
ScheduleOrigin | agentscope.app.storage | 调度来源,在多次调用之间保存和恢复会话与记忆数据。 A session a schedule opened on its due date. |
ScheduleRecord | agentscope.app.storage | 调度记录,在多次调用之间保存和恢复会话与记忆数据。 Persisted schedule record. |
ScheduleSource | agentscope.app.storage | 调度来源,在多次调用之间保存和恢复会话与记忆数据。 The source that created the schedule. |
ScoreAnswer | agentscope.classifier | 分数答案,与模型服务通信并返回生成或向量化结果。 An expected score and its probability distribution. |
ScoreQuestion | agentscope.classifier | 分数问题,与模型服务通信并返回生成或向量化结果。 A question that assigns an expected score using an ordered rubric. |
Section | agentscope.rag | Section,把私有文档转化为可检索的知识。 A single natural section produced by a :class:`ParserBase`. |
SessionConfig | agentscope.app.storage | 会话配置,保存相关配置项。 Session configuration — set at creation, updatable via PATCH. |
SessionEndedEvent | agentscope.realtime | 会话 Ended 事件,描述执行过程中的事件。 The provider session is gone; no further events will arrive. |
SessionKnowledgeConfig | agentscope.app.storage | 会话知识库配置,保存相关配置项。 Session-level knowledge base attachment. |
SessionNaming | agentscope.app.storage | 会话命名,在多次调用之间保存和恢复会话与记忆数据。 How :attr:`SessionConfig.name` is maintained. |
SessionRecord | agentscope.app.storage | 会话类。 The session record. |
SessionScope | agentscope.app.storage | 会话范围,在多次调用之间保存和恢复会话与记忆数据。 How inbound messages are grouped into agent sessions. |
SessionSettings | agentscope.app.storage | 会话设置,保存相关配置项。 Settings for a session a channel or SOP run opens for a user. |
SessionSource | agentscope.app.storage | 会话来源,在多次调用之间保存和恢复会话与记忆数据。 The kinds a session's source used to come in. |
Skill | agentscope.skill | 智能体技能类。 The agent skill class |
SkillArchive | agentscope.app.hub | 技能归档,把智能体接入外部消息渠道与企业平台。 A skill archive as the hub serves it. |
SkillCard | agentscope.app.hub | 技能卡片,把智能体接入外部消息渠道与企业平台。 A single skill listing on a hub. |
SkillHubBase | agentscope.app.hub | 技能中心基类,把智能体接入外部消息渠道与企业平台。 The base class for skill hub implementations. |
SkillHubPage | agentscope.app.hub | 技能中心页码,把智能体接入外部消息渠道与企业平台。 One page of skill cards. |
SkillLoaderBase | agentscope.skill | 技能加载器的基类。 The base class for skill loader. |
SkillRecord | agentscope.app.storage | 技能记录,在多次调用之间保存和恢复会话与记忆数据。 One skill a user has installed, at the user level rather than in any one workspace — the skill counterpart of :class:`MCPRecord`. |
SOP | agentscope.sop | SOP,把复杂任务拆分为可执行步骤并驱动流程。 A fixed sequence of milestones, each verified before the next. |
SOPAgentRef | agentscope.app.storage | SOP 智能体引用,在多次调用之间保存和恢复会话与记忆数据。 Which agent does something, and in which conversation. |
SOPData | agentscope.app.storage | SOP 数据,在多次调用之间保存和恢复会话与记忆数据。 A procedure: its milestones, in order. |
SOPEngine | agentscope.sop | SOP 引擎,把复杂任务拆分为可执行步骤并驱动流程。 One run of a :class:`~._schema.SOP`, shaped like an agent. |
SOPOrigin | agentscope.app.storage | SOP 来源,在多次调用之间保存和恢复会话与记忆数据。 A session a SOP run opened to hold one of its conversations. |
SOPPhase | agentscope.sop | SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。 Where a step, or a whole run, stands. |
SOPRecord | agentscope.app.storage | SOP 记录,在多次调用之间保存和恢复会话与记忆数据。 A stored procedure. |
SOPRunRecord | agentscope.app.storage | SOP 运行记录,在多次调用之间保存和恢复会话与记忆数据。 One run of a procedure. |
SOPRunState | agentscope.sop | SOP 运行状态,把复杂任务拆分为可执行步骤并驱动流程。 One execution of a SOP, and the whole of what is worth saving. |
SOPStep | agentscope.sop | SOP 步骤,把复杂任务拆分为可执行步骤并驱动流程。 The usual shape: someone does the work, someone else judges it. |
SOPStepBase | agentscope.sop | SOP 步骤基类,把复杂任务拆分为可执行步骤并驱动流程。 One milestone: a name, what it must prove, and how many tries. |
SOPStepDataV1 | agentscope.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`. |
SOPStepRunState | agentscope.sop | SOP 步骤运行状态,把复杂任务拆分为可执行步骤并驱动流程。 What one step did in one run. |
SOPStepSubmitMiddleware | agentscope.app.middleware | SOP 步骤提交中间件,在智能体执行流程中提供横切扩展。 Require a step's agent to end its turn through its submit tool. |
SOPWorkspaceGrain | agentscope.app.storage | SOP 工作区粒度,在多次调用之间保存和恢复会话与记忆数据。 How many workspaces a run gets. Always minted for the run, never shared with another run. |
SpeechEndedEvent | agentscope.realtime | 语音 Ended 事件,描述执行过程中的事件。 The provider's own VAD detected the user stopping. |
SpeechStartedEvent | agentscope.realtime | 语音已启动事件,描述执行过程中的事件。 The provider's own VAD detected the user starting to speak. |
SpeechTransition | agentscope.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. |
StateChangeMiddleware | agentscope.app.middleware | 状态变更中间件,在智能体执行流程中提供横切扩展。 Detect state / team changes after each tool call and push notifications to the session event stream. |
StdioMCPConfig | agentscope.mcp | stdio MCP 配置,保存相关配置项。 The STDIO MCP server configuration. |
StorageBase | agentscope.app.storage | 存储抽象基类类。 The storage abstract base class. |
StructuredOutputError | agentscope.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. |
StructuredResponse | agentscope.model | 聊天模型的结构化响应。 The structured response of chat models. |
SubAgentTemplate | agentscope.app | 子智能体模板,承载智能体的部署、调度与服务化运行。 A reusable blueprint for sub-agent creation within a team. |
Task | agentscope.state | 智能体任务。 The agent task. |
TaskContext | agentscope.state | 任务上下文。 The task context. |
TaskCreate | agentscope.tool | 任务创建,让智能体以受控方式调用外部能力。 Create a task for the agent to perform. |
TaskGet | agentscope.tool | 任务读取,让智能体以受控方式调用外部能力。 Retrieve a task by its ID from the task list. |
TaskList | agentscope.tool | 任务列表,让智能体以受控方式调用外部能力。 List tasks for the agent to perform. |
TaskUpdate | agentscope.tool | 工具到更新智能体任务。 The tool to update the agent task. |
TeamData | agentscope.app.storage | 团队数据模型。 The team data model. |
TeamMember | agentscope.app.storage | 团队成员,在多次调用之间保存和恢复会话与记忆数据。 An entry in a team's member roster. |
TeamMember | agentscope.pipeline | 团队成员,把复杂任务拆分为可执行步骤并驱动流程。 A member of the team: an existing agent plus the description the leader reads to decide when to assign a task to it. |
TeamMemberLoopMiddleware | agentscope.app.middleware | 团队成员循环中间件,在智能体执行流程中提供横切扩展。 The team member loop engineering middleware, that requires: |
TeamOrigin | agentscope.app.storage | 团队来源,在多次调用之间保存和恢复会话与记忆数据。 A session a team minted for one of its members. |
TeamPipeline | agentscope.pipeline | 团队流水线,把复杂任务拆分为可执行步骤并驱动流程。 A leader agent that assigns tasks to team members through tool calls. |
TeamRecord | agentscope.app.storage | 团队 ORM 模型。 The team ORM model. |
TextBlock | agentscope.message | 文本块。 The text block. |
TextBlockDeltaEvent | agentscope.event | 文本块增量事件,描述执行过程中的事件。 Text block delta event. |
TextBlockEndEvent | agentscope.event | 文本块结束事件,描述执行过程中的事件。 Text block end event. |
TextBlockStartEvent | agentscope.event | 文本块启动事件,描述执行过程中的事件。 Text block start event. |
TextParser | agentscope.rag | 文本解析器,把私有文档转化为可检索的知识。 Parser for plain-text file formats. |
ThinkingBlock | agentscope.message | Thinking 块,在智能体、模型与前端之间传递结构化消息和事件。 The thinking block. |
ThinkingBlockDeltaEvent | agentscope.event | Thinking 块增量事件,描述执行过程中的事件。 Thinking block delta event. |
ThinkingBlockEndEvent | agentscope.event | Thinking 块结束事件,描述执行过程中的事件。 Thinking block end event. |
ThinkingBlockStartEvent | agentscope.event | Thinking 块启动事件,描述执行过程中的事件。 Thinking block start event. |
ToolBase | agentscope.tool | 工具协议。 The tool protocol. |
ToolCallBlock | agentscope.message | 工具调用块。 The tool call block. |
ToolCallDeltaEvent | agentscope.event | 工具调用增量事件,描述执行过程中的事件。 Tool call delta event. |
ToolCallEndEvent | agentscope.event | 工具调用结束事件,描述执行过程中的事件。 Tool call end event. |
ToolCallEvent | agentscope.realtime | 工具调用事件,描述执行过程中的事件。 A complete tool call requested by the provider. |
ToolCallStartEvent | agentscope.event | 工具调用启动事件,描述执行过程中的事件。 Tool call start event. |
ToolCallState | agentscope.message | 工具调用的状态。 The state of the tool call. |
ToolChoice | agentscope.tool | 工具选项配置。 The tool choice configuration. |
ToolChunk | agentscope.tool | 工具结果分块来自工具执行。 The tool result chunk from a tool execution. |
ToolContext | agentscope.state | 工具上下文,在多次调用之间保存和恢复会话与记忆数据。 The tool context, e.g. tool cache |
ToolGroup | agentscope.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`. |
ToolGroupInactiveError | agentscope.exception | 工具组 Inactive 错误,为框架提供通用类型与基础能力。 Exception raised when a tool group is inactive. |
ToolInterruptedError | agentscope.exception | 工具 Interrupted 错误,为框架提供通用类型与基础能力。 Exception raised when a tool calling was interrupted by the user. |
ToolJSONDecodeError | agentscope.exception | 工具 JSON Decode 错误,为框架提供通用类型与基础能力。 Exception raised when tool arguments fail JSON decoding or repair. |
Toolkit | agentscope.tool | 工具注册表 Toolkit is the core module to register, manage and delete tool functions, MCP clients, Agent skills in AgentScope. |
ToolMiddlewareBase | agentscope.tool | 工具中间件基类,让智能体以受控方式调用外部能力。 Base class for tool middlewares. |
ToolNotFoundError | agentscope.exception | 工具未找到错误,为框架提供通用类型与基础能力。 Exception raised when a tool was not found. |
ToolOffloadMiddleware | agentscope.app.middleware | 工具卸载中间件,在智能体执行流程中提供横切扩展。 Middleware that offloads timed-out tool calls to background tasks. |
ToolResponse | agentscope.tool | 工具执行结果 The tool response from a tool execution, which contains the completed tool result (compared to ToolChunk). |
ToolResultBlock | agentscope.message | 工具结果块。 The tool result block. |
ToolResultDataDeltaEvent | agentscope.event | 工具结果数据增量事件,描述执行过程中的事件。 Tool result data delta event. |
ToolResultEndEvent | agentscope.event | 工具结果结束事件,描述执行过程中的事件。 Tool result end event. |
ToolResultStartEvent | agentscope.event | 工具结果启动事件,描述执行过程中的事件。 Tool result start event. |
ToolResultState | agentscope.message | 工具结果状态。 The tool result state. |
ToolResultTextDeltaEvent | agentscope.event | 工具结果文本增量事件,描述执行过程中的事件。 Tool result text delta event. |
TracingMiddleware | agentscope.middleware | 追踪中间件,在智能体执行流程中提供横切扩展。 Agent middleware that adds OpenTelemetry tracing to the reply, model-call and tool-execution lifecycles. |
TranscriptDeltaEvent | agentscope.realtime | Transcript 增量事件,描述执行过程中的事件。 A chunk of the assistant's spoken text. |
TransportBase | agentscope.realtime | 传输层基类,处理低延迟的实时语音与多模态交互。 Connects a :class:`RealtimeAgent` to where audio comes from and goes to. |
TTSMiddleware | agentscope.middleware | TTS 中间件,在智能体执行流程中提供横切扩展。 Synthesize speech for every text block produced during reasoning and inject the audio as ``DATA_BLOCK_*`` events into the stream. |
TTSModelBase | agentscope.tts | TTS 模型,使用 AgentScope的基类。 Base class for TTS models in AgentScope. |
TTSModelCard | agentscope.tts | 模型卡片类用于 TTS 模型。 The model card class for TTS models. |
TTSModelConfig | agentscope.app.storage | TTS 模型配置类。 The TTS model configuration class. |
TTSResponse | agentscope.tts | TTS 模型的响应。 The response of TTS models. |
TTSUsage | agentscope.tts | TTS 用量,处理低延迟的实时语音与多模态交互。 The usage of a TTS model API invocation. |
TurnAggregator | agentscope.agent | 轮次聚合器,驱动智能体的推理、工具调用与会话执行。 Collapses the transcripts a provider emits into clean user turns. |
TurnMetrics | agentscope.agent | 轮次指标,驱动智能体的推理、工具调用与会话执行。 The four timestamps of one turn, and the delays derived from them. |
TypeSafeCredential | agentscope.credential | 类型安全凭证,与模型服务通信并返回生成或向量化结果。 The credential used by TypeSafe System One models. |
URLSource | agentscope.message | URL 来源。 The URL source. |
Usage | agentscope.message | 用量,在智能体、模型与前端之间传递结构化消息和事件。 The token usage information of a message. |
UserConfirmResultEvent | agentscope.event | 用户确认结果事件,描述执行过程中的事件。 User confirm result event. |
UserInterruptEvent | agentscope.event | 用户中断事件,描述执行过程中的事件。 User-initiated interrupt targeting a parked reply. |
UserOrigin | agentscope.app.storage | 用户来源,在多次调用之间保存和恢复会话与记忆数据。 A session a person opened themselves. |
UserRecord | agentscope.app.storage | 用户类。 The user record. |
VADBase | agentscope.realtime | 语音活动检测基类,处理低延迟的实时语音与多模态交互。 Voice activity detection over a stream of PCM16 mono audio. |
VectorRecord | agentscope.rag | 向量记录,把私有文档转化为可检索的知识。 A single record to insert into a vector store collection. |
VectorSearchResult | agentscope.rag | 向量搜索结果,把私有文档转化为可检索的知识。 A single result returned by a similarity search. |
VectorStoreBase | agentscope.rag | 向量存储基类,把私有文档转化为可检索的知识。 Abstract base class for vector store backends. |
VerificationResult | agentscope.sop | Verification 结果,把复杂任务拆分为可执行步骤并驱动流程。 One settled verdict on one attempt. |
VolcengineChatFormatter | agentscope.formatter | 火山引擎聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。 The Volcengine Ark formatter for a chatbot conversation. |
VolcengineChatModel | agentscope.model | 火山引擎聊天模型,与模型服务通信并返回生成或向量化结果。 The Volcengine Ark chat model. |
VolcengineCredential | agentscope.credential | 火山引擎凭证模型。 The Volcengine credential model. |
VolcengineMultiAgentFormatter | agentscope.formatter | 火山引擎 Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Volcengine formatter for multi-agent conversations, where more than a user and an agent are involved. |
WordParser | agentscope.rag | Word 解析器,把私有文档转化为可检索的知识。 Parser for Word ``.docx`` files. |
WorkspaceBase | agentscope.workspace | 工作区基类,在隔离环境中安全执行代码和工具。 Abstract base class for all workspace implementations. |
WorkspaceManagerBase | agentscope.app.workspace_manager | 工作区管理器基类,承载智能体的部署、调度与服务化运行。 Abstract base for workspace managers. |
Write | agentscope.tool | 写入工具。 The write tool. |
XAIChatFormatter | agentscope.formatter | 用于xAI 聊天模型的格式化器。 Formatter for the xAI chat model. |
XAIChatModel | agentscope.model | xAI 聊天模型使用官方`xai_sdk`gRPC 客户端。 The xAI chat model using the official ``xai_sdk`` gRPC client. |
XAICredential | agentscope.credential | xAI 凭证模型。 The xAI credential model. |
XAIMultiAgentFormatter | agentscope.formatter | xAI Multi 智能体格式化器,在智能体、模型与前端之间传递结构化消息和事件。 Formatter for the xAI chat model in multi-agent conversations. |
XAIRealtimeModel | agentscope.realtime | xAI 实时模型,处理低延迟的实时语音与多模态交互。 The Grok voice speech-to-speech API over WebSocket. |