[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-copilotkit-react-core":3,"mdc--78w5lz-key":56,"related-repo-copilotkit-react-core":1244,"related-org-copilotkit-react-core":1348},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":51,"sourceUrl":54,"mdContent":55},"react-core","integrate CopilotKit into React applications","@copilotkit\u002Freact-core — mount the CopilotKit provider (from @copilotkit\u002Freact-core\u002Fv2) in a Next.js App Router \u002F React Router v7 \u002F TanStack Start \u002F SPA app, drop in CopilotChat\u002FCopilotPopup\u002FCopilotSidebar (v2 chat components ship from react-core\u002Fv2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent \u002F useAgentContext \u002F useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool \u002F useComponent \u002F useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file attachments with useAttachments, configure suggestion pills, and register activity- and custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated alias). Load the reference under references\u002F that matches your task.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"copilotkit","CopilotKit","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fcopilotkit.png",[12,16,17,20,23],{"name":13,"slug":14,"type":15},"React","react","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Next.js","next-js",{"name":21,"slug":22,"type":15},"UI Components","ui-components",{"name":24,"slug":25,"type":15},"Frontend","frontend",35928,"https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit","2026-07-12T08:06:15.72619",null,4434,[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,14,48,49,50],"agent","agent-native","agentic-ai","agents","ai","ai-agent","ai-assistant","assistant","assistant-chat-bots","copilot","copilot-chat","generative-ui","js","llm","nextjs","open-source","reactjs","ts","typescript",{"repoUrl":27,"stars":26,"forks":30,"topics":52,"description":53},[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,14,48,49,50],"The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more.  Makers of the AG-UI Protocol","https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit\u002Ftree\u002FHEAD\u002Fskills\u002Freact-core","---\nname: react-core\ndescription: >\n  @copilotkit\u002Freact-core — mount the CopilotKit provider (from @copilotkit\u002Freact-core\u002Fv2)\n  in a Next.js App Router \u002F React Router v7 \u002F TanStack Start \u002F SPA app, drop in CopilotChat\u002FCopilotPopup\u002FCopilotSidebar (v2 chat\n  components ship from react-core\u002Fv2 — NOT react-ui, which is CSS-only in v2), access and\n  subscribe to agents with useAgent \u002F useAgentContext \u002F useCapabilities, switch between\n  multiple agents, manage durable Intelligence threads with useThreads, register\n  browser-side tools via useFrontendTool, render tool calls with useRenderTool \u002F\n  useComponent \u002F useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file\n  attachments with useAttachments, configure suggestion pills, and register activity- and\n  custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated\n  alias). Load the reference under references\u002F that matches your task.\ntype: framework\nlibrary: copilotkit\nlibrary_version: \"1.56.2\"\nrequires:\n  - copilotkit\u002Fruntime\nsources:\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fproviders\u002FCopilotKitProvider.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Findex.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002Findex.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChat.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChatView.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002FCopilotKitInspector.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent-context.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-capabilities.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-threads.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-frontend-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool-call.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-default-render-tool.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-component.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-human-in-the-loop.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-attachments.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-configure-suggestions.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-suggestions.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-activity-message.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-custom-messages.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Flib\u002Fslots.tsx\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fcore.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fagent-registry.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Frun-handler.ts\"\n  - \"CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Ftypes.ts\"\n---\n\n# CopilotKit React Core\n\n`@copilotkit\u002Freact-core` is the React frontend half of CopilotKit: it mounts a provider,\nspeaks AG-UI over SSE to a runtime (or directly to CopilotKit Intelligence in SPA mode), and\nexposes hooks for every interaction surface.\n\nThis SKILL.md is the **index**. Read the reference under `references\u002F` that matches\nyour task — do not try to absorb the whole package from this file.\n\n## Mental model — three shells you compose\n\n1. **Provider shell** — the `CopilotKit` provider (from `@copilotkit\u002Freact-core\u002Fv2`) at or near the root (inside `\"use client\"` for\n   Next.js App Router). Carries `runtimeUrl` (or `publicLicenseKey` for SPA), `headers`,\n   `credentials`, `properties`, `onError`, `debug`, `showDevConsole`.\n2. **Chat shell** — `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar` or a composed\n   `CopilotChatView` + slot primitives (`CopilotChatInput`, `CopilotChatMessageView`, etc.).\n   All chat components ship from `@copilotkit\u002Freact-core\u002Fv2`. **`CopilotPanel` does not\n   exist** — it's a common hallucination.\n3. **Hook shell** — inside any component under the provider, call `useAgent`,\n   `useFrontendTool`, `useRenderTool`, etc. Every hook takes optional `{ agentId }` for\n   agent-scoped registration.\n\n## When to load which reference\n\n| Task                                                                                                      | Reference                                                                               |\n| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |\n| Mount the `CopilotKit` provider, pick `runtimeUrl` vs `publicLicenseKey`, RSC boundary rules              | `references\u002Fprovider-setup.md`                                                          |\n| Drop in `CopilotChat` \u002F `CopilotPopup` \u002F `CopilotSidebar`, compose `CopilotChatView` with slot primitives | `references\u002Fchat-components.md`                                                         |\n| File \u002F image attachments via `useAttachments` — drag-drop, click, paste, custom upload                    | `references\u002Fattachments.md`                                                             |\n| Client-side debug tooling — `showDevConsole`, `debug` prop, lazy-loaded web inspector                     | `references\u002Fdebug-mode.md`                                                              |\n| Read \u002F subscribe to an agent (`useAgent`) and push global context (`useAgentContext`)                     | `references\u002Fagent-access.md`                                                            |\n| Feature-gate UI on declared agent capabilities (`useCapabilities`)                                        | `references\u002Fcapabilities.md`                                                            |\n| Build a multi-agent UI (per-panel `useAgent`, agent-scoped tools, key-remount pattern)                    | `references\u002Fswitching-agents.md` (+ `switching-agents-recipes.md` for concrete layouts) |\n| List \u002F rename \u002F archive \u002F delete durable Intelligence threads (`useThreads`)                              | `references\u002Fthreads.md` (**requires runtime Intelligence mode**)                        |\n| Register browser-side tools (`useFrontendTool`)                                                           | `references\u002Fclient-side-tools.md`                                                       |\n| Render per-tool UI (`useRenderTool`, `useComponent`, `useDefaultRenderTool`, `useRenderToolCall`)         | `references\u002Frendering-tool-calls.md`                                                    |\n| Gate tool execution behind user approval (`useHumanInTheLoop`)                                            | `references\u002Fhuman-in-the-loop.md`                                                       |\n| Configure dynamic or static suggestion pills (`useConfigureSuggestions`, `useSuggestions`)                | `references\u002Fsuggestions.md`                                                             |\n| Render non-chat activity messages (`useRenderActivityMessage`)                                            | `references\u002Frendering-activity-messages.md`                                             |\n| Inject custom UI before\u002Fafter specific messages (`useRenderCustomMessages`)                               | `references\u002Fcustom-message-renderers.md`                                                |\n\n## Invariants and gotchas (load-once, before any reference)\n\n- `publicLicenseKey` is canonical. `publicApiKey` is a **deprecated alias** — expect it in legacy code.\n- `agents__unsafe_dev_only` and `selfManagedAgents` are dev-only aliases of each other. **Not production-safe.** See `packages\u002Fa2ui-renderer` or the `spa-without-runtime` lifecycle skill for the supported SPA path.\n- `CopilotPanel` does not exist. v2 chat components ship from `react-core\u002Fv2` — **not** `react-ui` (v2 `react-ui` is CSS-only).\n- No `useAgents()` hook exists. Discover agents via `copilotkit.subscribe({ onAgentsChanged })`.\n- `useRenderToolCall` is a **resolver** (for custom chat surfaces), **not** a registration hook. Register with `useRenderTool` \u002F `useComponent` \u002F `useDefaultRenderTool`.\n- UI-kit detection rule — any `render` or tool-call UI MUST reuse the consumer's shadcn \u002F MUI \u002F Chakra \u002F Ant \u002F Mantine primitives before writing raw JSX. This applies across `client-side-tools`, `rendering-tool-calls`, and `human-in-the-loop`.\n- Tool-call `status` values are camelCase: `'inProgress' | 'executing' | 'complete'`. In-progress args are `Partial\u003CT>`.\n- `useHumanInTheLoop` synthesized handler **MUST** call `respond(result)` (including reject paths), otherwise the agent run hangs. `respond` is `undefined` outside `Executing` status. Unmounting mid-Executing abandons the run.\n- `useThreads` errors with `'Runtime URL is not configured'` outside Intelligence mode.\n- `v1 → v2` migration renames: `useCopilotAction` → `useFrontendTool` + `useHumanInTheLoop`; `imageUploadsEnabled` → `attachments`. See the `v1-to-v2-migration` lifecycle skill.\n\n## Reading order for a first-time reader\n\n1. `provider-setup` — mount the provider.\n2. `chat-components` — wire a chat surface.\n3. `agent-access` — talk to agents.\n4. `client-side-tools` + `rendering-tool-calls` — add tool-call UI.\n5. Anything else as your feature requires.\n",{"data":57,"body":89},{"name":4,"description":6,"type":58,"library":8,"library_version":59,"requires":60,"sources":62},"framework","1.56.2",[61],"copilotkit\u002Fruntime",[63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fproviders\u002FCopilotKitProvider.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Findex.ts","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002Findex.ts","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChat.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002Fchat\u002FCopilotChatView.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fcomponents\u002FCopilotKitInspector.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-agent-context.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-capabilities.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-threads.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-frontend-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-tool-call.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-default-render-tool.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-component.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-human-in-the-loop.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-attachments.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-configure-suggestions.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-suggestions.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-activity-message.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Fhooks\u002Fuse-render-custom-messages.tsx","CopilotKit\u002FCopilotKit:packages\u002Freact-core\u002Fsrc\u002Fv2\u002Flib\u002Fslots.tsx","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fcore.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Fagent-registry.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Fcore\u002Frun-handler.ts","CopilotKit\u002FCopilotKit:packages\u002Fcore\u002Fsrc\u002Ftypes.ts",{"type":90,"children":91},"root",[92,101,114,135,142,357,363,819,825,1181,1187],{"type":93,"tag":94,"props":95,"children":97},"element","h1",{"id":96},"copilotkit-react-core",[98],{"type":99,"value":100},"text","CopilotKit React Core",{"type":93,"tag":102,"props":103,"children":104},"p",{},[105,112],{"type":93,"tag":106,"props":107,"children":109},"code",{"className":108},[],[110],{"type":99,"value":111},"@copilotkit\u002Freact-core",{"type":99,"value":113}," is the React frontend half of CopilotKit: it mounts a provider,\nspeaks AG-UI over SSE to a runtime (or directly to CopilotKit Intelligence in SPA mode), and\nexposes hooks for every interaction surface.",{"type":93,"tag":102,"props":115,"children":116},{},[117,119,125,127,133],{"type":99,"value":118},"This SKILL.md is the ",{"type":93,"tag":120,"props":121,"children":122},"strong",{},[123],{"type":99,"value":124},"index",{"type":99,"value":126},". Read the reference under ",{"type":93,"tag":106,"props":128,"children":130},{"className":129},[],[131],{"type":99,"value":132},"references\u002F",{"type":99,"value":134}," that matches\nyour task — do not try to absorb the whole package from this file.",{"type":93,"tag":136,"props":137,"children":139},"h2",{"id":138},"mental-model-three-shells-you-compose",[140],{"type":99,"value":141},"Mental model — three shells you compose",{"type":93,"tag":143,"props":144,"children":145},"ol",{},[146,241,317],{"type":93,"tag":147,"props":148,"children":149},"li",{},[150,155,157,162,164,170,172,178,180,186,188,194,196,202,204,210,212,218,219,225,226,232,233,239],{"type":93,"tag":120,"props":151,"children":152},{},[153],{"type":99,"value":154},"Provider shell",{"type":99,"value":156}," — the ",{"type":93,"tag":106,"props":158,"children":160},{"className":159},[],[161],{"type":99,"value":9},{"type":99,"value":163}," provider (from ",{"type":93,"tag":106,"props":165,"children":167},{"className":166},[],[168],{"type":99,"value":169},"@copilotkit\u002Freact-core\u002Fv2",{"type":99,"value":171},") at or near the root (inside ",{"type":93,"tag":106,"props":173,"children":175},{"className":174},[],[176],{"type":99,"value":177},"\"use client\"",{"type":99,"value":179}," for\nNext.js App Router). Carries ",{"type":93,"tag":106,"props":181,"children":183},{"className":182},[],[184],{"type":99,"value":185},"runtimeUrl",{"type":99,"value":187}," (or ",{"type":93,"tag":106,"props":189,"children":191},{"className":190},[],[192],{"type":99,"value":193},"publicLicenseKey",{"type":99,"value":195}," for SPA), ",{"type":93,"tag":106,"props":197,"children":199},{"className":198},[],[200],{"type":99,"value":201},"headers",{"type":99,"value":203},",\n",{"type":93,"tag":106,"props":205,"children":207},{"className":206},[],[208],{"type":99,"value":209},"credentials",{"type":99,"value":211},", ",{"type":93,"tag":106,"props":213,"children":215},{"className":214},[],[216],{"type":99,"value":217},"properties",{"type":99,"value":211},{"type":93,"tag":106,"props":220,"children":222},{"className":221},[],[223],{"type":99,"value":224},"onError",{"type":99,"value":211},{"type":93,"tag":106,"props":227,"children":229},{"className":228},[],[230],{"type":99,"value":231},"debug",{"type":99,"value":211},{"type":93,"tag":106,"props":234,"children":236},{"className":235},[],[237],{"type":99,"value":238},"showDevConsole",{"type":99,"value":240},".",{"type":93,"tag":147,"props":242,"children":243},{},[244,249,251,257,259,265,266,272,274,280,282,288,289,295,297,302,304,315],{"type":93,"tag":120,"props":245,"children":246},{},[247],{"type":99,"value":248},"Chat shell",{"type":99,"value":250}," — ",{"type":93,"tag":106,"props":252,"children":254},{"className":253},[],[255],{"type":99,"value":256},"CopilotChat",{"type":99,"value":258}," \u002F ",{"type":93,"tag":106,"props":260,"children":262},{"className":261},[],[263],{"type":99,"value":264},"CopilotPopup",{"type":99,"value":258},{"type":93,"tag":106,"props":267,"children":269},{"className":268},[],[270],{"type":99,"value":271},"CopilotSidebar",{"type":99,"value":273}," or a composed\n",{"type":93,"tag":106,"props":275,"children":277},{"className":276},[],[278],{"type":99,"value":279},"CopilotChatView",{"type":99,"value":281}," + slot primitives (",{"type":93,"tag":106,"props":283,"children":285},{"className":284},[],[286],{"type":99,"value":287},"CopilotChatInput",{"type":99,"value":211},{"type":93,"tag":106,"props":290,"children":292},{"className":291},[],[293],{"type":99,"value":294},"CopilotChatMessageView",{"type":99,"value":296},", etc.).\nAll chat components ship from ",{"type":93,"tag":106,"props":298,"children":300},{"className":299},[],[301],{"type":99,"value":169},{"type":99,"value":303},". ",{"type":93,"tag":120,"props":305,"children":306},{},[307,313],{"type":93,"tag":106,"props":308,"children":310},{"className":309},[],[311],{"type":99,"value":312},"CopilotPanel",{"type":99,"value":314}," does not\nexist",{"type":99,"value":316}," — it's a common hallucination.",{"type":93,"tag":147,"props":318,"children":319},{},[320,325,327,333,334,340,341,347,349,355],{"type":93,"tag":120,"props":321,"children":322},{},[323],{"type":99,"value":324},"Hook shell",{"type":99,"value":326}," — inside any component under the provider, call ",{"type":93,"tag":106,"props":328,"children":330},{"className":329},[],[331],{"type":99,"value":332},"useAgent",{"type":99,"value":203},{"type":93,"tag":106,"props":335,"children":337},{"className":336},[],[338],{"type":99,"value":339},"useFrontendTool",{"type":99,"value":211},{"type":93,"tag":106,"props":342,"children":344},{"className":343},[],[345],{"type":99,"value":346},"useRenderTool",{"type":99,"value":348},", etc. Every hook takes optional ",{"type":93,"tag":106,"props":350,"children":352},{"className":351},[],[353],{"type":99,"value":354},"{ agentId }",{"type":99,"value":356}," for\nagent-scoped registration.",{"type":93,"tag":136,"props":358,"children":360},{"id":359},"when-to-load-which-reference",[361],{"type":99,"value":362},"When to load which reference",{"type":93,"tag":364,"props":365,"children":366},"table",{},[367,386],{"type":93,"tag":368,"props":369,"children":370},"thead",{},[371],{"type":93,"tag":372,"props":373,"children":374},"tr",{},[375,381],{"type":93,"tag":376,"props":377,"children":378},"th",{},[379],{"type":99,"value":380},"Task",{"type":93,"tag":376,"props":382,"children":383},{},[384],{"type":99,"value":385},"Reference",{"type":93,"tag":387,"props":388,"children":389},"tbody",{},[390,429,472,497,527,559,583,617,649,672,716,740,771,795],{"type":93,"tag":372,"props":391,"children":392},{},[393,420],{"type":93,"tag":394,"props":395,"children":396},"td",{},[397,399,404,406,411,413,418],{"type":99,"value":398},"Mount the ",{"type":93,"tag":106,"props":400,"children":402},{"className":401},[],[403],{"type":99,"value":9},{"type":99,"value":405}," provider, pick ",{"type":93,"tag":106,"props":407,"children":409},{"className":408},[],[410],{"type":99,"value":185},{"type":99,"value":412}," vs ",{"type":93,"tag":106,"props":414,"children":416},{"className":415},[],[417],{"type":99,"value":193},{"type":99,"value":419},", RSC boundary rules",{"type":93,"tag":394,"props":421,"children":422},{},[423],{"type":93,"tag":106,"props":424,"children":426},{"className":425},[],[427],{"type":99,"value":428},"references\u002Fprovider-setup.md",{"type":93,"tag":372,"props":430,"children":431},{},[432,463],{"type":93,"tag":394,"props":433,"children":434},{},[435,437,442,443,448,449,454,456,461],{"type":99,"value":436},"Drop in ",{"type":93,"tag":106,"props":438,"children":440},{"className":439},[],[441],{"type":99,"value":256},{"type":99,"value":258},{"type":93,"tag":106,"props":444,"children":446},{"className":445},[],[447],{"type":99,"value":264},{"type":99,"value":258},{"type":93,"tag":106,"props":450,"children":452},{"className":451},[],[453],{"type":99,"value":271},{"type":99,"value":455},", compose ",{"type":93,"tag":106,"props":457,"children":459},{"className":458},[],[460],{"type":99,"value":279},{"type":99,"value":462}," with slot primitives",{"type":93,"tag":394,"props":464,"children":465},{},[466],{"type":93,"tag":106,"props":467,"children":469},{"className":468},[],[470],{"type":99,"value":471},"references\u002Fchat-components.md",{"type":93,"tag":372,"props":473,"children":474},{},[475,488],{"type":93,"tag":394,"props":476,"children":477},{},[478,480,486],{"type":99,"value":479},"File \u002F image attachments via ",{"type":93,"tag":106,"props":481,"children":483},{"className":482},[],[484],{"type":99,"value":485},"useAttachments",{"type":99,"value":487}," — drag-drop, click, paste, custom upload",{"type":93,"tag":394,"props":489,"children":490},{},[491],{"type":93,"tag":106,"props":492,"children":494},{"className":493},[],[495],{"type":99,"value":496},"references\u002Fattachments.md",{"type":93,"tag":372,"props":498,"children":499},{},[500,518],{"type":93,"tag":394,"props":501,"children":502},{},[503,505,510,511,516],{"type":99,"value":504},"Client-side debug tooling — ",{"type":93,"tag":106,"props":506,"children":508},{"className":507},[],[509],{"type":99,"value":238},{"type":99,"value":211},{"type":93,"tag":106,"props":512,"children":514},{"className":513},[],[515],{"type":99,"value":231},{"type":99,"value":517}," prop, lazy-loaded web inspector",{"type":93,"tag":394,"props":519,"children":520},{},[521],{"type":93,"tag":106,"props":522,"children":524},{"className":523},[],[525],{"type":99,"value":526},"references\u002Fdebug-mode.md",{"type":93,"tag":372,"props":528,"children":529},{},[530,550],{"type":93,"tag":394,"props":531,"children":532},{},[533,535,540,542,548],{"type":99,"value":534},"Read \u002F subscribe to an agent (",{"type":93,"tag":106,"props":536,"children":538},{"className":537},[],[539],{"type":99,"value":332},{"type":99,"value":541},") and push global context (",{"type":93,"tag":106,"props":543,"children":545},{"className":544},[],[546],{"type":99,"value":547},"useAgentContext",{"type":99,"value":549},")",{"type":93,"tag":394,"props":551,"children":552},{},[553],{"type":93,"tag":106,"props":554,"children":556},{"className":555},[],[557],{"type":99,"value":558},"references\u002Fagent-access.md",{"type":93,"tag":372,"props":560,"children":561},{},[562,574],{"type":93,"tag":394,"props":563,"children":564},{},[565,567,573],{"type":99,"value":566},"Feature-gate UI on declared agent capabilities (",{"type":93,"tag":106,"props":568,"children":570},{"className":569},[],[571],{"type":99,"value":572},"useCapabilities",{"type":99,"value":549},{"type":93,"tag":394,"props":575,"children":576},{},[577],{"type":93,"tag":106,"props":578,"children":580},{"className":579},[],[581],{"type":99,"value":582},"references\u002Fcapabilities.md",{"type":93,"tag":372,"props":584,"children":585},{},[586,598],{"type":93,"tag":394,"props":587,"children":588},{},[589,591,596],{"type":99,"value":590},"Build a multi-agent UI (per-panel ",{"type":93,"tag":106,"props":592,"children":594},{"className":593},[],[595],{"type":99,"value":332},{"type":99,"value":597},", agent-scoped tools, key-remount pattern)",{"type":93,"tag":394,"props":599,"children":600},{},[601,607,609,615],{"type":93,"tag":106,"props":602,"children":604},{"className":603},[],[605],{"type":99,"value":606},"references\u002Fswitching-agents.md",{"type":99,"value":608}," (+ ",{"type":93,"tag":106,"props":610,"children":612},{"className":611},[],[613],{"type":99,"value":614},"switching-agents-recipes.md",{"type":99,"value":616}," for concrete layouts)",{"type":93,"tag":372,"props":618,"children":619},{},[620,632],{"type":93,"tag":394,"props":621,"children":622},{},[623,625,631],{"type":99,"value":624},"List \u002F rename \u002F archive \u002F delete durable Intelligence threads (",{"type":93,"tag":106,"props":626,"children":628},{"className":627},[],[629],{"type":99,"value":630},"useThreads",{"type":99,"value":549},{"type":93,"tag":394,"props":633,"children":634},{},[635,641,643,648],{"type":93,"tag":106,"props":636,"children":638},{"className":637},[],[639],{"type":99,"value":640},"references\u002Fthreads.md",{"type":99,"value":642}," (",{"type":93,"tag":120,"props":644,"children":645},{},[646],{"type":99,"value":647},"requires runtime Intelligence mode",{"type":99,"value":549},{"type":93,"tag":372,"props":650,"children":651},{},[652,663],{"type":93,"tag":394,"props":653,"children":654},{},[655,657,662],{"type":99,"value":656},"Register browser-side tools (",{"type":93,"tag":106,"props":658,"children":660},{"className":659},[],[661],{"type":99,"value":339},{"type":99,"value":549},{"type":93,"tag":394,"props":664,"children":665},{},[666],{"type":93,"tag":106,"props":667,"children":669},{"className":668},[],[670],{"type":99,"value":671},"references\u002Fclient-side-tools.md",{"type":93,"tag":372,"props":673,"children":674},{},[675,707],{"type":93,"tag":394,"props":676,"children":677},{},[678,680,685,686,692,693,699,700,706],{"type":99,"value":679},"Render per-tool UI (",{"type":93,"tag":106,"props":681,"children":683},{"className":682},[],[684],{"type":99,"value":346},{"type":99,"value":211},{"type":93,"tag":106,"props":687,"children":689},{"className":688},[],[690],{"type":99,"value":691},"useComponent",{"type":99,"value":211},{"type":93,"tag":106,"props":694,"children":696},{"className":695},[],[697],{"type":99,"value":698},"useDefaultRenderTool",{"type":99,"value":211},{"type":93,"tag":106,"props":701,"children":703},{"className":702},[],[704],{"type":99,"value":705},"useRenderToolCall",{"type":99,"value":549},{"type":93,"tag":394,"props":708,"children":709},{},[710],{"type":93,"tag":106,"props":711,"children":713},{"className":712},[],[714],{"type":99,"value":715},"references\u002Frendering-tool-calls.md",{"type":93,"tag":372,"props":717,"children":718},{},[719,731],{"type":93,"tag":394,"props":720,"children":721},{},[722,724,730],{"type":99,"value":723},"Gate tool execution behind user approval (",{"type":93,"tag":106,"props":725,"children":727},{"className":726},[],[728],{"type":99,"value":729},"useHumanInTheLoop",{"type":99,"value":549},{"type":93,"tag":394,"props":732,"children":733},{},[734],{"type":93,"tag":106,"props":735,"children":737},{"className":736},[],[738],{"type":99,"value":739},"references\u002Fhuman-in-the-loop.md",{"type":93,"tag":372,"props":741,"children":742},{},[743,762],{"type":93,"tag":394,"props":744,"children":745},{},[746,748,754,755,761],{"type":99,"value":747},"Configure dynamic or static suggestion pills (",{"type":93,"tag":106,"props":749,"children":751},{"className":750},[],[752],{"type":99,"value":753},"useConfigureSuggestions",{"type":99,"value":211},{"type":93,"tag":106,"props":756,"children":758},{"className":757},[],[759],{"type":99,"value":760},"useSuggestions",{"type":99,"value":549},{"type":93,"tag":394,"props":763,"children":764},{},[765],{"type":93,"tag":106,"props":766,"children":768},{"className":767},[],[769],{"type":99,"value":770},"references\u002Fsuggestions.md",{"type":93,"tag":372,"props":772,"children":773},{},[774,786],{"type":93,"tag":394,"props":775,"children":776},{},[777,779,785],{"type":99,"value":778},"Render non-chat activity messages (",{"type":93,"tag":106,"props":780,"children":782},{"className":781},[],[783],{"type":99,"value":784},"useRenderActivityMessage",{"type":99,"value":549},{"type":93,"tag":394,"props":787,"children":788},{},[789],{"type":93,"tag":106,"props":790,"children":792},{"className":791},[],[793],{"type":99,"value":794},"references\u002Frendering-activity-messages.md",{"type":93,"tag":372,"props":796,"children":797},{},[798,810],{"type":93,"tag":394,"props":799,"children":800},{},[801,803,809],{"type":99,"value":802},"Inject custom UI before\u002Fafter specific messages (",{"type":93,"tag":106,"props":804,"children":806},{"className":805},[],[807],{"type":99,"value":808},"useRenderCustomMessages",{"type":99,"value":549},{"type":93,"tag":394,"props":811,"children":812},{},[813],{"type":93,"tag":106,"props":814,"children":816},{"className":815},[],[817],{"type":99,"value":818},"references\u002Fcustom-message-renderers.md",{"type":93,"tag":136,"props":820,"children":822},{"id":821},"invariants-and-gotchas-load-once-before-any-reference",[823],{"type":99,"value":824},"Invariants and gotchas (load-once, before any reference)",{"type":93,"tag":826,"props":827,"children":828},"ul",{},[829,854,896,935,955,995,1030,1058,1107,1125],{"type":93,"tag":147,"props":830,"children":831},{},[832,837,839,845,847,852],{"type":93,"tag":106,"props":833,"children":835},{"className":834},[],[836],{"type":99,"value":193},{"type":99,"value":838}," is canonical. ",{"type":93,"tag":106,"props":840,"children":842},{"className":841},[],[843],{"type":99,"value":844},"publicApiKey",{"type":99,"value":846}," is a ",{"type":93,"tag":120,"props":848,"children":849},{},[850],{"type":99,"value":851},"deprecated alias",{"type":99,"value":853}," — expect it in legacy code.",{"type":93,"tag":147,"props":855,"children":856},{},[857,863,865,871,873,878,880,886,888,894],{"type":93,"tag":106,"props":858,"children":860},{"className":859},[],[861],{"type":99,"value":862},"agents__unsafe_dev_only",{"type":99,"value":864}," and ",{"type":93,"tag":106,"props":866,"children":868},{"className":867},[],[869],{"type":99,"value":870},"selfManagedAgents",{"type":99,"value":872}," are dev-only aliases of each other. ",{"type":93,"tag":120,"props":874,"children":875},{},[876],{"type":99,"value":877},"Not production-safe.",{"type":99,"value":879}," See ",{"type":93,"tag":106,"props":881,"children":883},{"className":882},[],[884],{"type":99,"value":885},"packages\u002Fa2ui-renderer",{"type":99,"value":887}," or the ",{"type":93,"tag":106,"props":889,"children":891},{"className":890},[],[892],{"type":99,"value":893},"spa-without-runtime",{"type":99,"value":895}," lifecycle skill for the supported SPA path.",{"type":93,"tag":147,"props":897,"children":898},{},[899,904,906,912,913,918,920,926,928,933],{"type":93,"tag":106,"props":900,"children":902},{"className":901},[],[903],{"type":99,"value":312},{"type":99,"value":905}," does not exist. v2 chat components ship from ",{"type":93,"tag":106,"props":907,"children":909},{"className":908},[],[910],{"type":99,"value":911},"react-core\u002Fv2",{"type":99,"value":250},{"type":93,"tag":120,"props":914,"children":915},{},[916],{"type":99,"value":917},"not",{"type":99,"value":919}," ",{"type":93,"tag":106,"props":921,"children":923},{"className":922},[],[924],{"type":99,"value":925},"react-ui",{"type":99,"value":927}," (v2 ",{"type":93,"tag":106,"props":929,"children":931},{"className":930},[],[932],{"type":99,"value":925},{"type":99,"value":934}," is CSS-only).",{"type":93,"tag":147,"props":936,"children":937},{},[938,940,946,948,954],{"type":99,"value":939},"No ",{"type":93,"tag":106,"props":941,"children":943},{"className":942},[],[944],{"type":99,"value":945},"useAgents()",{"type":99,"value":947}," hook exists. Discover agents via ",{"type":93,"tag":106,"props":949,"children":951},{"className":950},[],[952],{"type":99,"value":953},"copilotkit.subscribe({ onAgentsChanged })",{"type":99,"value":240},{"type":93,"tag":147,"props":956,"children":957},{},[958,963,964,969,971,975,977,982,983,988,989,994],{"type":93,"tag":106,"props":959,"children":961},{"className":960},[],[962],{"type":99,"value":705},{"type":99,"value":846},{"type":93,"tag":120,"props":965,"children":966},{},[967],{"type":99,"value":968},"resolver",{"type":99,"value":970}," (for custom chat surfaces), ",{"type":93,"tag":120,"props":972,"children":973},{},[974],{"type":99,"value":917},{"type":99,"value":976}," a registration hook. Register with ",{"type":93,"tag":106,"props":978,"children":980},{"className":979},[],[981],{"type":99,"value":346},{"type":99,"value":258},{"type":93,"tag":106,"props":984,"children":986},{"className":985},[],[987],{"type":99,"value":691},{"type":99,"value":258},{"type":93,"tag":106,"props":990,"children":992},{"className":991},[],[993],{"type":99,"value":698},{"type":99,"value":240},{"type":93,"tag":147,"props":996,"children":997},{},[998,1000,1006,1008,1014,1015,1021,1023,1029],{"type":99,"value":999},"UI-kit detection rule — any ",{"type":93,"tag":106,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":99,"value":1005},"render",{"type":99,"value":1007}," or tool-call UI MUST reuse the consumer's shadcn \u002F MUI \u002F Chakra \u002F Ant \u002F Mantine primitives before writing raw JSX. This applies across ",{"type":93,"tag":106,"props":1009,"children":1011},{"className":1010},[],[1012],{"type":99,"value":1013},"client-side-tools",{"type":99,"value":211},{"type":93,"tag":106,"props":1016,"children":1018},{"className":1017},[],[1019],{"type":99,"value":1020},"rendering-tool-calls",{"type":99,"value":1022},", and ",{"type":93,"tag":106,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":99,"value":1028},"human-in-the-loop",{"type":99,"value":240},{"type":93,"tag":147,"props":1031,"children":1032},{},[1033,1035,1041,1043,1049,1051,1057],{"type":99,"value":1034},"Tool-call ",{"type":93,"tag":106,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":99,"value":1040},"status",{"type":99,"value":1042}," values are camelCase: ",{"type":93,"tag":106,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":99,"value":1048},"'inProgress' | 'executing' | 'complete'",{"type":99,"value":1050},". In-progress args are ",{"type":93,"tag":106,"props":1052,"children":1054},{"className":1053},[],[1055],{"type":99,"value":1056},"Partial\u003CT>",{"type":99,"value":240},{"type":93,"tag":147,"props":1059,"children":1060},{},[1061,1066,1068,1073,1075,1081,1083,1089,1091,1097,1099,1105],{"type":93,"tag":106,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":99,"value":729},{"type":99,"value":1067}," synthesized handler ",{"type":93,"tag":120,"props":1069,"children":1070},{},[1071],{"type":99,"value":1072},"MUST",{"type":99,"value":1074}," call ",{"type":93,"tag":106,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":99,"value":1080},"respond(result)",{"type":99,"value":1082}," (including reject paths), otherwise the agent run hangs. ",{"type":93,"tag":106,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":99,"value":1088},"respond",{"type":99,"value":1090}," is ",{"type":93,"tag":106,"props":1092,"children":1094},{"className":1093},[],[1095],{"type":99,"value":1096},"undefined",{"type":99,"value":1098}," outside ",{"type":93,"tag":106,"props":1100,"children":1102},{"className":1101},[],[1103],{"type":99,"value":1104},"Executing",{"type":99,"value":1106}," status. Unmounting mid-Executing abandons the run.",{"type":93,"tag":147,"props":1108,"children":1109},{},[1110,1115,1117,1123],{"type":93,"tag":106,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":99,"value":630},{"type":99,"value":1116}," errors with ",{"type":93,"tag":106,"props":1118,"children":1120},{"className":1119},[],[1121],{"type":99,"value":1122},"'Runtime URL is not configured'",{"type":99,"value":1124}," outside Intelligence mode.",{"type":93,"tag":147,"props":1126,"children":1127},{},[1128,1134,1136,1142,1144,1149,1151,1156,1158,1164,1165,1171,1173,1179],{"type":93,"tag":106,"props":1129,"children":1131},{"className":1130},[],[1132],{"type":99,"value":1133},"v1 → v2",{"type":99,"value":1135}," migration renames: ",{"type":93,"tag":106,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":99,"value":1141},"useCopilotAction",{"type":99,"value":1143}," → ",{"type":93,"tag":106,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":99,"value":339},{"type":99,"value":1150}," + ",{"type":93,"tag":106,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":99,"value":729},{"type":99,"value":1157},"; ",{"type":93,"tag":106,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":99,"value":1163},"imageUploadsEnabled",{"type":99,"value":1143},{"type":93,"tag":106,"props":1166,"children":1168},{"className":1167},[],[1169],{"type":99,"value":1170},"attachments",{"type":99,"value":1172},". See the ",{"type":93,"tag":106,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":99,"value":1178},"v1-to-v2-migration",{"type":99,"value":1180}," lifecycle skill.",{"type":93,"tag":136,"props":1182,"children":1184},{"id":1183},"reading-order-for-a-first-time-reader",[1185],{"type":99,"value":1186},"Reading order for a first-time reader",{"type":93,"tag":143,"props":1188,"children":1189},{},[1190,1201,1212,1223,1239],{"type":93,"tag":147,"props":1191,"children":1192},{},[1193,1199],{"type":93,"tag":106,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":99,"value":1198},"provider-setup",{"type":99,"value":1200}," — mount the provider.",{"type":93,"tag":147,"props":1202,"children":1203},{},[1204,1210],{"type":93,"tag":106,"props":1205,"children":1207},{"className":1206},[],[1208],{"type":99,"value":1209},"chat-components",{"type":99,"value":1211}," — wire a chat surface.",{"type":93,"tag":147,"props":1213,"children":1214},{},[1215,1221],{"type":93,"tag":106,"props":1216,"children":1218},{"className":1217},[],[1219],{"type":99,"value":1220},"agent-access",{"type":99,"value":1222}," — talk to agents.",{"type":93,"tag":147,"props":1224,"children":1225},{},[1226,1231,1232,1237],{"type":93,"tag":106,"props":1227,"children":1229},{"className":1228},[],[1230],{"type":99,"value":1013},{"type":99,"value":1150},{"type":93,"tag":106,"props":1233,"children":1235},{"className":1234},[],[1236],{"type":99,"value":1020},{"type":99,"value":1238}," — add tool-call UI.",{"type":93,"tag":147,"props":1240,"children":1241},{},[1242],{"type":99,"value":1243},"Anything else as your feature requires.",{"items":1245,"total":1347},[1246,1259,1278,1295,1307,1320,1333],{"slug":1247,"name":1247,"fn":1248,"description":1249,"org":1250,"tags":1251,"stars":26,"repoUrl":27,"updatedAt":1258},"a2ui-renderer","render declarative agent UI surfaces","Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via \u003CCopilotKit a2ui={{ theme }}>. Auto-activates via \u002Finfo — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit\u002Freact-core\u002Fv2; low-level primitives (A2UIProvider, A2UIRenderer, createCatalog) ship from @copilotkit\u002Fa2ui-renderer. Covers theme customization, createSurface dedup, action-bridge try\u002Ffinally cleanup. Load when an agent emits A2UI operations (createSurface \u002F updateComponents \u002F updateDataModel), when wiring a2ui on CopilotRuntime, or when styling A2UI surfaces.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1252,1253,1256,1257],{"name":9,"slug":8,"type":15},{"name":1254,"slug":1255,"type":15},"Design","design",{"name":24,"slug":25,"type":15},{"name":21,"slug":22,"type":15},"2026-07-12T08:06:36.722091",{"slug":1260,"name":1260,"fn":1261,"description":1262,"org":1263,"tags":1264,"stars":26,"repoUrl":27,"updatedAt":1277},"copilotkit-agui","build and debug CopilotKit agent backends","Use when building custom agent backends, implementing the AG-UI protocol, debugging streaming issues, or understanding how agents communicate with frontends. Covers event types, SSE transport, AbstractAgent\u002FHttpAgent patterns, state synchronization, tool calls, and human-in-the-loop flows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1265,1267,1270,1273,1274],{"name":1266,"slug":35,"type":15},"Agents",{"name":1268,"slug":1269,"type":15},"API Development","api-development",{"name":1271,"slug":1272,"type":15},"Backend","backend",{"name":9,"slug":8,"type":15},{"name":1275,"slug":1276,"type":15},"Debugging","debugging","2026-07-12T08:06:22.179755",{"slug":1279,"name":1279,"fn":1280,"description":1281,"org":1282,"tags":1283,"stars":26,"repoUrl":27,"updatedAt":1294},"copilotkit-contribute","contribute to CopilotKit open-source project","Use when contributing to the CopilotKit open-source project — forking, cloning, setting up the monorepo, creating branches, running tests, and submitting pull requests against CopilotKit\u002FCopilotKit.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1284,1285,1288,1291],{"name":9,"slug":8,"type":15},{"name":1286,"slug":1287,"type":15},"Engineering","engineering",{"name":1289,"slug":1290,"type":15},"GitHub","github",{"name":1292,"slug":1293,"type":15},"Pull Requests","pull-requests","2026-07-12T08:06:30.102192",{"slug":1296,"name":1296,"fn":1297,"description":1298,"org":1299,"tags":1300,"stars":26,"repoUrl":27,"updatedAt":1306},"copilotkit-debug","diagnose and debug CopilotKit issues","Use when diagnosing CopilotKit issues -- runtime connectivity failures, agent not responding, streaming errors, tool execution problems, transcription failures, version mismatches, and AG-UI event tracing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1301,1302,1303],{"name":9,"slug":8,"type":15},{"name":1275,"slug":1276,"type":15},{"name":1304,"slug":1305,"type":15},"Observability","observability","2026-07-12T08:06:23.407872",{"slug":1308,"name":1308,"fn":1309,"description":1310,"org":1311,"tags":1312,"stars":26,"repoUrl":27,"updatedAt":1319},"copilotkit-develop","build AI features with CopilotKit","Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1313,1314,1317,1318],{"name":1266,"slug":35,"type":15},{"name":1315,"slug":1316,"type":15},"AI Context","ai-context",{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},"2026-07-12T08:06:28.856644",{"slug":1321,"name":1321,"fn":1322,"description":1323,"org":1324,"tags":1325,"stars":26,"repoUrl":27,"updatedAt":1332},"copilotkit-integrations","integrate agent frameworks into CopilotKit applications","Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into a CopilotKit application via the AG-UI protocol.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1326,1327,1328,1329],{"name":1266,"slug":35,"type":15},{"name":1268,"slug":1269,"type":15},{"name":9,"slug":8,"type":15},{"name":1330,"slug":1331,"type":15},"Integrations","integrations","2026-07-12T08:06:32.560054",{"slug":1334,"name":1334,"fn":1335,"description":1336,"org":1337,"tags":1338,"stars":26,"repoUrl":27,"updatedAt":1346},"copilotkit-self-update","update CopilotKit agent skills","Use when the user wants to update, refresh, or reinstall the CopilotKit agent SKILLS (the SKILL.md files that teach this agent about CopilotKit). NOT for updating the CopilotKit codebase or project — this is specifically about refreshing the skills\u002Fknowledge this agent has loaded. Triggers on \"update copilotkit skills\", \"update skills\", \"refresh skills\", \"skills are stale\", \"skills are outdated\", \"get latest skills\", \"my copilotkit knowledge is wrong\", \"copilotkit APIs changed\", \"skills seem old\", \"wrong API names\", \"reinstall skills\", \"skills not working right\", \"update your copilotkit knowledge\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1339,1340,1343],{"name":9,"slug":8,"type":15},{"name":1341,"slug":1342,"type":15},"Documentation","documentation",{"name":1344,"slug":1345,"type":15},"Productivity","productivity","2026-07-12T08:06:31.345052",11,{"items":1349,"total":1464},[1350,1357,1365,1372,1378,1385,1392,1398,1410,1422,1430,1445],{"slug":1247,"name":1247,"fn":1248,"description":1249,"org":1351,"tags":1352,"stars":26,"repoUrl":27,"updatedAt":1258},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1353,1354,1355,1356],{"name":9,"slug":8,"type":15},{"name":1254,"slug":1255,"type":15},{"name":24,"slug":25,"type":15},{"name":21,"slug":22,"type":15},{"slug":1260,"name":1260,"fn":1261,"description":1262,"org":1358,"tags":1359,"stars":26,"repoUrl":27,"updatedAt":1277},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1360,1361,1362,1363,1364],{"name":1266,"slug":35,"type":15},{"name":1268,"slug":1269,"type":15},{"name":1271,"slug":1272,"type":15},{"name":9,"slug":8,"type":15},{"name":1275,"slug":1276,"type":15},{"slug":1279,"name":1279,"fn":1280,"description":1281,"org":1366,"tags":1367,"stars":26,"repoUrl":27,"updatedAt":1294},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1368,1369,1370,1371],{"name":9,"slug":8,"type":15},{"name":1286,"slug":1287,"type":15},{"name":1289,"slug":1290,"type":15},{"name":1292,"slug":1293,"type":15},{"slug":1296,"name":1296,"fn":1297,"description":1298,"org":1373,"tags":1374,"stars":26,"repoUrl":27,"updatedAt":1306},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1375,1376,1377],{"name":9,"slug":8,"type":15},{"name":1275,"slug":1276,"type":15},{"name":1304,"slug":1305,"type":15},{"slug":1308,"name":1308,"fn":1309,"description":1310,"org":1379,"tags":1380,"stars":26,"repoUrl":27,"updatedAt":1319},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1381,1382,1383,1384],{"name":1266,"slug":35,"type":15},{"name":1315,"slug":1316,"type":15},{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},{"slug":1321,"name":1321,"fn":1322,"description":1323,"org":1386,"tags":1387,"stars":26,"repoUrl":27,"updatedAt":1332},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1388,1389,1390,1391],{"name":1266,"slug":35,"type":15},{"name":1268,"slug":1269,"type":15},{"name":9,"slug":8,"type":15},{"name":1330,"slug":1331,"type":15},{"slug":1334,"name":1334,"fn":1335,"description":1336,"org":1393,"tags":1394,"stars":26,"repoUrl":27,"updatedAt":1346},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1395,1396,1397],{"name":9,"slug":8,"type":15},{"name":1341,"slug":1342,"type":15},{"name":1344,"slug":1345,"type":15},{"slug":1399,"name":1399,"fn":1400,"description":1401,"org":1402,"tags":1403,"stars":26,"repoUrl":27,"updatedAt":1409},"copilotkit-setup","set up CopilotKit in projects","Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring, provider setup, and first working chat integration.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1404,1405,1406],{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},{"name":1407,"slug":1408,"type":15},"Onboarding","onboarding","2026-07-12T08:06:25.534415",{"slug":1411,"name":1411,"fn":1412,"description":1413,"org":1414,"tags":1415,"stars":26,"repoUrl":27,"updatedAt":1421},"copilotkit-upgrade","migrate CopilotKit applications to v2","Use when migrating a CopilotKit v1 application to v2 -- updating package imports, replacing deprecated hooks and components, switching from GraphQL runtime to AG-UI protocol runtime, and resolving breaking API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1416,1417,1418],{"name":9,"slug":8,"type":15},{"name":1286,"slug":1287,"type":15},{"name":1419,"slug":1420,"type":15},"Migration","migration","2026-07-12T08:06:26.949801",{"slug":4,"name":4,"fn":5,"description":6,"org":1423,"tags":1424,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1425,1426,1427,1428,1429],{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},{"name":18,"slug":19,"type":15},{"name":13,"slug":14,"type":15},{"name":21,"slug":22,"type":15},{"slug":1431,"name":1431,"fn":1432,"description":1433,"org":1434,"tags":1435,"stars":26,"repoUrl":27,"updatedAt":1444},"runtime","mount and configure CopilotRuntime servers","@copilotkit\u002Fruntime — mount a fetch-native CopilotRuntime on any JS server, wire middleware, pick an AgentRunner, instantiate BuiltInAgent (Factory Mode with TanStack AI is the preferred default) or plug in any of 12 external agent frameworks (Mastra, LangGraph, CrewAI Crews\u002FFlows, PydanticAI, ADK, LlamaIndex, Agno, AWS Strands, MS Agent Framework, AG2, A2A), enable Intelligence mode for durable threads + websocket, register server-side tools via defineTool, and wire voice transcription. Uses the fetch-based createCopilotRuntimeHandler primitive — the Express\u002FHono adapters are discouraged. Load the reference under references\u002F that matches your task.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1436,1437,1438,1441],{"name":1271,"slug":1272,"type":15},{"name":9,"slug":8,"type":15},{"name":1439,"slug":1440,"type":15},"JavaScript","javascript",{"name":1442,"slug":1443,"type":15},"Middleware","middleware","2026-07-12T08:06:10.034875",{"slug":1446,"name":1447,"fn":1448,"description":1449,"org":1450,"tags":1451,"stars":1461,"repoUrl":1462,"updatedAt":1463},"advanced-visualization-techniques","Advanced Visualization Techniques","create advanced generative UI visualizations","UI mockups, dashboards, advanced interactivity, generative art, simulations, math visualizations, and design system rules for producing rich generateSandboxedUi output.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1452,1455,1456,1457,1460],{"name":1453,"slug":1454,"type":15},"Dashboards","dashboards",{"name":1254,"slug":1255,"type":15},{"name":24,"slug":25,"type":15},{"name":1458,"slug":1459,"type":15},"Generative Art","generative-art",{"name":21,"slug":22,"type":15},1440,"https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FOpenGenerativeUI","2026-07-12T08:06:40.712754",14]