AS AgentScopeAPI 手册 / API Reference
包package 2.x

agentscope-copilotkit

AgentScope Examples - CopilotKit · 2.0.4

CopilotKit and AG-UI full-stack integration example

groupIdGroupIdio.agentscope
版本Version2.0.4
版本线Line2.x
分类Categoryintegration
包Packages6
类型Types23 top-level / 31 total

包Packages

io.agentscope.examples.copilotkit1
io.agentscope.examples.copilotkit.a2ui8
io.agentscope.examples.copilotkit.config2
io.agentscope.examples.copilotkit.model1
io.agentscope.examples.copilotkit.service5
io.agentscope.examples.copilotkit.workbench6

类型Types

类型Type种类Kind包Package说明Description
CopilotKitExampleApplication类classio.agentscope.examples.copilotkit
CopilotKit Example 应用,把智能体接入外部消息渠道与企业平台。
AG-UI Example Application.
A2uiComposer类classio.agentscope.examples.copilotkit.a2ui
A 2 ui Composer,把智能体接入外部消息渠道与企业平台。
Turns a natural-language intent into a renderable A2UI surface.
A2uiModelClient接口interfaceio.agentscope.examples.copilotkit.a2ui
定义 A 2 ui 模型客户端契约的接口。
One model backend able to turn an intent into A2UI JSON.
A2uiOperations类classio.agentscope.examples.copilotkit.a2ui
A 2 ui Operations,把智能体接入外部消息渠道与企业平台。
Builders and structural checks for A2UI v0.9 server-to-client messages.
A2uiSchemaSource接口interfaceio.agentscope.examples.copilotkit.a2ui
定义 A 2 ui 模式来源契约的接口。
Supplies the A2UI grammar shown to the model and turns the reply back into a checked payload.
A2uiSurface记录recordio.agentscope.examples.copilotkit.a2ui
承载 A 2 ui Surface数据的记录类型。
A generated A2UI surface, ready to be shipped to the browser.
BundledA2uiSchemaSource类classio.agentscope.examples.copilotkit.a2ui
Bundled A 2 ui 模式来源,把智能体接入外部消息渠道与企业平台。
Default `A2uiSchemaSource`: a compact hand-written A2UI v0.9 grammar plus the structural checks in `A2uiOperations`.
DashScopeA2uiModelClient类classio.agentscope.examples.copilotkit.a2ui
DashScope A 2 ui 模型客户端,封装与远端服务的连接和调用。
Fallback A2UI composer running on DashScope, so the demo still produces surfaces without a Gemini key.
WorkbenchCatalog类classio.agentscope.examples.copilotkit.a2ui
Workbench 目录,把智能体接入外部消息渠道与企业平台。
The A2UI component catalog this example advertises to the model.
AgentConfiguration类classio.agentscope.examples.copilotkit.config
智能体配置,保存相关配置项。
Configuration class that registers agents with the AG-UI registry.
CopilotKitRouteConfiguration类classio.agentscope.examples.copilotkit.config
CopilotKit 路由配置,保存相关配置项。
Functional routes for CopilotKit Runtime info, threads, connect, and multi-route agent run.
CopilotKitModels类classio.agentscope.examples.copilotkit.model
CopilotKit 模型,与模型服务通信并返回生成或向量化结果。
CopilotKit Runtime / thread API models (immutable records).
AgentEventAguiReplayer类classio.agentscope.examples.copilotkit.service
智能体事件 AGUI Replayer,把智能体接入外部消息渠道与企业平台。
Replays persisted `io.agentscope.core.event.AgentEvent`s into AG-UI frames.
CopilotKitRuntimeService类classio.agentscope.examples.copilotkit.service
CopilotKit 运行时服务,把智能体接入外部消息渠道与企业平台。
CopilotKit Runtime info and multi-route connect handshake with AgentEvent replay.
DemoThreadStore类classio.agentscope.examples.copilotkit.service
Demo 会话线程存储,负责持久化与读取数据。
CopilotKit thread APIs backed by `ThreadSessionManager` sessions.
InMemoryAgentEventStore类classio.agentscope.examples.copilotkit.service
In 记忆智能体事件存储,负责持久化与读取数据。
In-memory AgentEvent log keyed by threadId.
PersistingAgentEventEnricher类classio.agentscope.examples.copilotkit.service
Persisting 智能体事件 Enricher,把智能体接入外部消息渠道与企业平台。
Persists the source `AgentEvent` while the AG-UI adapter projects it.
RefundOrderTool类classio.agentscope.examples.copilotkit.workbench
Refund 顺序工具,封装可被智能体调用的能力。
Refund tool demonstrating AgentScope's *built-in checks*: the permission decision depends on the actual arguments rather than on a static rule.
WorkbenchAguiEventConverter类classio.agentscope.examples.copilotkit.workbench
Workbench AGUI 事件转换器,把智能体接入外部消息渠道与企业平台。
Maps the workbench's `CustomEvent`s onto the AG-UI frames a CopilotKit client understands.
WorkbenchEventMiddleware类classio.agentscope.examples.copilotkit.workbench
Workbench 事件中间件,在智能体执行流程中提供横切扩展。
Turns agent progress into shared-state frames while the run is still streaming.
WorkbenchState类classio.agentscope.examples.copilotkit.workbench
Workbench 状态,把智能体接入外部消息渠道与企业平台。
Thread-scoped shared state backing the CopilotKit workbench.
WorkbenchStateRegistry类classio.agentscope.examples.copilotkit.workbench
Workbench 状态注册表,把智能体接入外部消息渠道与企业平台。
Keeps one `WorkbenchState` per AG-UI thread.
WorkbenchTools类classio.agentscope.examples.copilotkit.workbench
Workbench 工具,封装可被智能体调用的能力。
The workbench tool belt.