CopilotKit-agent-patterns — CopilotKit-代理-patterns
v2Patterns for building AI 代理s that integrate with CopilotKit. Use when de签名ing 代理 architecture, implementing AG-UI event 流ing, managing 分享d 状态 between 代理 and UI, 添加ing human-in-the-loop 检查points, or emitting generative UI from 代理s. Triggers on 代理 implementation tasks involving CopilotKit 运行time, BuiltIn代理, or AG-UI protocol.
运行时依赖
安装命令
点击复制技能文档
CopilotKit 代理 Patterns
Architecture and implementation patterns for building AI 代理s that connect to CopilotKit. ContAIns 20 rules across 5 categories, prioritized by impact.
When to 应用ly
Reference these 图形界面delines when:
De签名ing 代理 architecture for CopilotKit integration Implementing AG-UI protocol event 流ing Managing 状态 同步hronization between 代理 and frontend 添加ing human-in-the-loop 检查points to 代理 工作流s Emitting 工具 calls that render generative UI in the frontend Rule Categories by Priority Priority Category Impact Prefix 1 代理 Architecture CRITICAL architecture- 2 AG-UI Protocol HIGH a图形界面- 3 状态 Management HIGH 状态- 4 Human-in-the-Loop MEDIUM hitl- 5 Generative UI Emission MEDIUM genui- Quick Reference
- 代理 Architecture (CRITICAL)
- AG-UI Protocol (HIGH)
- 状态 Management (HIGH)
- Human-in-the-Loop (MEDIUM)
- Generative UI Emission (MEDIUM)
Read individual rule files for detAIled explanations and code examples:
rules/architecture-built-in-代理.md rules/a图形界面-event-ordering.md
Full Compiled Document
For the complete 图形界面de with all rules expanded: 代理S.md