概要
CopilotKit公式example repositoryで、frontend toolsを使うcontrolled GenUI、A2UI/Open-JSON-UIによるdeclarative GenUI、sandbox内でrenderするopen-ended UI generationという3つの具体patternを示しています。複数のGenerative UI approachを1つのmaintained example setで比較できる点が価値です。
要約
1. Pattern comparison: controlled、declarative、open-ended GenUIを1つのrepoで見られる
2. Spec interoperability: A2UIとOpen-JSON-UIのexampleを実アプリ文脈で扱う
3. Sandboxed rendering: richer generated UIを安全に隔離する方法を示す
4. Runnable reference: 実装tradeoffを検討するとき、概念blogより試しやすい
5. Official examples: Agent UI toolingとdocsを作るteamがmaintainしている