包package 2.x
agentscope-copilotkit
AgentScope Examples - CopilotKit · 2.0.4
CopilotKit and AG-UI full-stack integration example
| groupIdGroupId | io.agentscope |
|---|---|
| 版本Version | 2.0.4 |
| 版本线Line | 2.x |
| 分类Category | integration |
| 包Packages | 6 |
| 类型Types | 23 top-level / 31 total |
包Packages
类型Types
| 类型Type | 种类Kind | 包Package | 说明Description |
|---|---|---|---|
CopilotKitExampleApplication | 类class | io.agentscope.examples.copilotkit | CopilotKit Example 应用,把智能体接入外部消息渠道与企业平台。 AG-UI Example Application. |
A2uiComposer | 类class | io.agentscope.examples.copilotkit.a2ui | A 2 ui Composer,把智能体接入外部消息渠道与企业平台。 Turns a natural-language intent into a renderable A2UI surface. |
A2uiModelClient | 接口interface | io.agentscope.examples.copilotkit.a2ui | 定义 A 2 ui 模型客户端契约的接口。 One model backend able to turn an intent into A2UI JSON. |
A2uiOperations | 类class | io.agentscope.examples.copilotkit.a2ui | A 2 ui Operations,把智能体接入外部消息渠道与企业平台。 Builders and structural checks for A2UI v0.9 server-to-client messages. |
A2uiSchemaSource | 接口interface | io.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 | 记录record | io.agentscope.examples.copilotkit.a2ui | 承载 A 2 ui Surface数据的记录类型。 A generated A2UI surface, ready to be shipped to the browser. |
BundledA2uiSchemaSource | 类class | io.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 | 类class | io.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 | 类class | io.agentscope.examples.copilotkit.a2ui | Workbench 目录,把智能体接入外部消息渠道与企业平台。 The A2UI component catalog this example advertises to the model. |
AgentConfiguration | 类class | io.agentscope.examples.copilotkit.config | 智能体配置,保存相关配置项。 Configuration class that registers agents with the AG-UI registry. |
CopilotKitRouteConfiguration | 类class | io.agentscope.examples.copilotkit.config | CopilotKit 路由配置,保存相关配置项。 Functional routes for CopilotKit Runtime info, threads, connect, and multi-route agent run. |
CopilotKitModels | 类class | io.agentscope.examples.copilotkit.model | CopilotKit 模型,与模型服务通信并返回生成或向量化结果。 CopilotKit Runtime / thread API models (immutable records). |
AgentEventAguiReplayer | 类class | io.agentscope.examples.copilotkit.service | 智能体事件 AGUI Replayer,把智能体接入外部消息渠道与企业平台。 Replays persisted `io.agentscope.core.event.AgentEvent`s into AG-UI frames. |
CopilotKitRuntimeService | 类class | io.agentscope.examples.copilotkit.service | CopilotKit 运行时服务,把智能体接入外部消息渠道与企业平台。 CopilotKit Runtime info and multi-route connect handshake with AgentEvent replay. |
DemoThreadStore | 类class | io.agentscope.examples.copilotkit.service | Demo 会话线程存储,负责持久化与读取数据。 CopilotKit thread APIs backed by `ThreadSessionManager` sessions. |
InMemoryAgentEventStore | 类class | io.agentscope.examples.copilotkit.service | In 记忆智能体事件存储,负责持久化与读取数据。 In-memory AgentEvent log keyed by threadId. |
PersistingAgentEventEnricher | 类class | io.agentscope.examples.copilotkit.service | Persisting 智能体事件 Enricher,把智能体接入外部消息渠道与企业平台。 Persists the source `AgentEvent` while the AG-UI adapter projects it. |
RefundOrderTool | 类class | io.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 | 类class | io.agentscope.examples.copilotkit.workbench | Workbench AGUI 事件转换器,把智能体接入外部消息渠道与企业平台。 Maps the workbench's `CustomEvent`s onto the AG-UI frames a CopilotKit client understands. |
WorkbenchEventMiddleware | 类class | io.agentscope.examples.copilotkit.workbench | Workbench 事件中间件,在智能体执行流程中提供横切扩展。 Turns agent progress into shared-state frames while the run is still streaming. |
WorkbenchState | 类class | io.agentscope.examples.copilotkit.workbench | Workbench 状态,把智能体接入外部消息渠道与企业平台。 Thread-scoped shared state backing the CopilotKit workbench. |
WorkbenchStateRegistry | 类class | io.agentscope.examples.copilotkit.workbench | Workbench 状态注册表,把智能体接入外部消息渠道与企业平台。 Keeps one `WorkbenchState` per AG-UI thread. |
WorkbenchTools | 类class | io.agentscope.examples.copilotkit.workbench | Workbench 工具,封装可被智能体调用的能力。 The workbench tool belt. |