mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
36020b061f
Two clonable starter templates showing CopilotKit driving a Claude Agent SDK agent over AG-UI, mirroring the langgraph-python showcase (todos canvas, charts, flight cards, dynamic dashboards, HITL, theme, threads drawer). Each agent is a thin, idiomatic layer on the official ag-ui-claude-sdk / @ag-ui/claude-agent-sdk adapters: three backend tools (query_data, search_flights, generate_a2ui) live in per-tool modules and are wired into ClaudeAgentAdapter, while the shared todo board is driven by the adapter's built-in ag_ui_update_state tool. The default model is claude-sonnet-5 and local dev uses a real ANTHROPIC_API_KEY (matching the official AG-UI dojo). Both instances are registered in the _parity manifest so their frontends stay synced with the langgraph-python north-star. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "claude-sdk-python-starter",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently \"npm run dev:ui\" \"npm run dev:agent\" --names ui,agent --prefix-colors blue,green --kill-others",
|
|
"dev:agent": "./scripts/run-agent.sh || scripts\\run-agent.bat",
|
|
"dev:ui": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"install:agent": "./scripts/setup-agent.sh || scripts\\setup-agent.bat",
|
|
"postinstall": "npm run install:agent",
|
|
"dev:debug": "LOG_LEVEL=debug npm run dev"
|
|
},
|
|
"dependencies": {
|
|
"@ag-ui/client": "0.0.57",
|
|
"@copilotkit/a2ui-renderer": "1.62.3",
|
|
"@copilotkit/react-core": "1.62.3",
|
|
"@copilotkit/runtime": "1.62.3",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"hono": "^4.12.10",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.1.6",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-rnd": "^10.5.2",
|
|
"react18-json-view": "^0.2.9",
|
|
"recharts": "^3.7.0",
|
|
"tailwind-merge": "^3.5.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"concurrently": "^9.1.2",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
},
|
|
"overrides": {
|
|
"@ag-ui/client": "0.0.57",
|
|
"@ag-ui/core": "0.0.57",
|
|
"@ag-ui/encoder": "0.0.57",
|
|
"@ag-ui/proto": "0.0.57"
|
|
}
|
|
}
|