AS AgentScopeAPI 手册 / API Reference
包package agentscope.app.channel

agentscope.app.channel

module agentscope.app.channel

agentscope.app.channel 属于渠道与平台集成,把智能体接入企业消息生态。 该包共收录 19 个公开类型。

Channels translate a platform (DingTalk, Feishu, ...) to/from normalised events; the stateless :class:ChannelGateway orchestrates each event; :class:~agentscope.app._service.ChannelService owns CRUD; :class:ChannelLifecycleDispatcher keeps this node's live instances reconciled with storage.

源码Source agentscope/app/channel/__init__.py:1

子包Subpackages

类Classes

BindingState
类class
绑定状态,把智能体接入外部消息渠道与企业平台。
Where a binding session is in its lifecycle.
BindingStep
类class
绑定步骤,把智能体接入外部消息渠道与企业平台。
What one call to a provider produced.
ChannelBase
类class
平台渠道的抽象基类。
Abstract base for platform channels.
ChannelCapability
类class
渠道能力,把智能体接入外部消息渠道与企业平台。
Platform capability declaration for gateway degradation decisions.
ChannelClients
类class
渠道客户端,封装与远端服务的连接和调用。
Builds and caches unconnected channel instances by channel id.
ChannelConfirmationResultEvent
类class
渠道确认结果事件,描述执行过程中的事件。
A user's decision on a pending tool-approval, delivered inbound.
ChannelError
类class
渠道错误,把智能体接入外部消息渠道与企业平台。
A channel operation failed.
ChannelEvent
类class
渠道事件,描述执行过程中的事件。
A normalised inbound message from an external platform.
ChannelGateway
类class
渠道网关,把智能体接入外部消息渠道与企业平台。
Route inbound channel events into runs; resume on card clicks.
ChannelHeartbeat
类class
渠道心跳,把智能体接入外部消息渠道与企业平台。
One node's report of a channel's status, stamped with the time it was written.
ChannelLifecycleDispatcher
类class
渠道生命周期调度器,把智能体接入外部消息渠道与企业平台。
Reconciles this node's channel instances against storage.
ChannelStatus
类class
渠道状态,把智能体接入外部消息渠道与企业平台。
Live connection status of a running channel adapter — owned and updated by the adapter itself; read by the dispatcher's status API.
ChannelTypeRegistry
类class
渠道类型注册表,把智能体接入外部消息渠道与企业平台。
The channel types a service allows, keyed by ``channel_type``.
ChannelTypeSchema
类class
渠道类型模式,把智能体接入外部消息渠道与企业平台。
Frontend-facing metadata for one channel type.
ChatKind
类class
聊天种类,把智能体接入外部消息渠道与企业平台。
A chat's audience shape, used to tailor the agent's context.
CredentialBindingBase
类class
凭证绑定基类,把智能体接入外部消息渠道与企业平台。
Base for a channel type's interactive credential flow.
DingTalkChannel
类class
DingTalk 渠道,把智能体接入外部消息渠道与企业平台。
DingTalk enterprise application robot channel.
DiscordChannel
类class
Discord 渠道,把智能体接入外部消息渠道与企业平台。
Discord platform channel.
FeishuChannel
类class
Feishu 渠道,把智能体接入外部消息渠道与企业平台。
Feishu platform channel (SDK long-connection mode).
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.