[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-copilotkit-channels-setup":3,"mdc-e1oixp-key":52,"related-repo-copilotkit-channels-setup":206,"related-org-copilotkit-channels-setup":303},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":47,"sourceUrl":50,"mdContent":51},"channels-setup","connect CopilotKit agents to communication channels","Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams — \"set up a channel\", \"connect my agent to Slack\", \"get my agent into Teams\", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding the project, building the AG-UI agent, creating and reconciling the managed Channel with the public CopilotKit CLI, running the long-running host, and proving a real provider mention gets a reply. The workflow is not in this file — it is fetched from https:\u002F\u002Fcopilotkit.ai\u002Fchannels-guide.md at run time, so it cannot go stale against the CLI.\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,19],{"name":13,"slug":14,"type":15},"Microsoft Teams","microsoft-teams","tag",{"name":17,"slug":18,"type":15},"Agents","agents",{"name":20,"slug":21,"type":15},"Slack","slack",35928,"https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit","2026-08-07T05:03:36.221418",null,4434,[28,29,30,18,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"agent","agent-native","agentic-ai","ai","ai-agent","ai-assistant","assistant","assistant-chat-bots","copilot","copilot-chat","generative-ui","js","llm","nextjs","open-source","react","reactjs","ts","typescript",{"repoUrl":23,"stars":22,"forks":26,"topics":48,"description":49},[28,29,30,18,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"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\u002Fchannels-setup","---\nname: channels-setup\ndescription: >\n  Use when a developer wants to build their first CopilotKit Channels agent and\n  get it answering in Slack or Microsoft Teams — \"set up a channel\", \"connect my\n  agent to Slack\", \"get my agent into Teams\", or starting from nothing and\n  wanting a working channel end to end. Covers the whole path: inspecting or\n  scaffolding the project, building the AG-UI agent, creating and reconciling\n  the managed Channel with the public CopilotKit CLI, running the long-running\n  host, and proving a real provider mention gets a reply. The workflow is not in\n  this file — it is fetched from https:\u002F\u002Fcopilotkit.ai\u002Fchannels-guide.md at run\n  time, so it cannot go stale against the CLI.\nversion: 1.0.0\n---\n\n# Set up a CopilotKit Channel\n\nThe workflow is **not written down here**. It lives at one canonical URL so it\nis corrected in one place instead of on every surface that describes it:\n\n**https:\u002F\u002Fcopilotkit.ai\u002Fchannels-guide.md**\n\n## Do this\n\n1. Fetch `https:\u002F\u002Fcopilotkit.ai\u002Fchannels-guide.md`.\n2. Verify you actually got the guide (below).\n3. Follow it exactly, start to finish.\n\nThe guide asks for its own inputs — the target project, the agent's real job,\nSlack or Microsoft Teams, and the agent framework and model. Do not pre-empt\nthose questions, and do not substitute remembered channel-setup steps for what\nthe guide says. Remembered steps are the reason this file is a pointer.\n\n## Verify you actually got the guide\n\n**A missing guide does not return 404.** The site answers unknown paths with a\n\"Page not found\" HTML page under HTTP 200, so a successful status code proves\nnothing. Check the body instead:\n\n- It is markdown, not HTML.\n- It begins with `# Build and prove a CopilotKit Channels agent`.\n- It contains five `## Phase` headings.\n\nIf any of those fail, you did not get the guide — treat it as unavailable no\nmatter what the status code said.\n\n## If you did not get the guide\n\nStop. Tell the user you could not reach the guide, show them the URL, and ask\nthem to paste its contents or retry.\n\nDo not improvise the workflow from memory. It spans the CopilotKit CLI, a\nmanaged Channel, provider setup performed by the user in Slack or Azure, and a\nlong-running runtime host. A half-remembered version produces a project that\ninstalls cleanly and answers nothing, which is the most expensive failure\navailable here — it looks finished.\n",{"data":53,"body":55},{"name":4,"description":6,"version":54},"1.0.0",{"type":56,"children":57},"root",[58,67,81,95,102,130,135,141,151,185,190,196,201],{"type":59,"tag":60,"props":61,"children":63},"element","h1",{"id":62},"set-up-a-copilotkit-channel",[64],{"type":65,"value":66},"text","Set up a CopilotKit Channel",{"type":59,"tag":68,"props":69,"children":70},"p",{},[71,73,79],{"type":65,"value":72},"The workflow is ",{"type":59,"tag":74,"props":75,"children":76},"strong",{},[77],{"type":65,"value":78},"not written down here",{"type":65,"value":80},". It lives at one canonical URL so it\nis corrected in one place instead of on every surface that describes it:",{"type":59,"tag":68,"props":82,"children":83},{},[84],{"type":59,"tag":74,"props":85,"children":86},{},[87],{"type":59,"tag":88,"props":89,"children":93},"a",{"href":90,"rel":91},"https:\u002F\u002Fcopilotkit.ai\u002Fchannels-guide.md",[92],"nofollow",[94],{"type":65,"value":90},{"type":59,"tag":96,"props":97,"children":99},"h2",{"id":98},"do-this",[100],{"type":65,"value":101},"Do this",{"type":59,"tag":103,"props":104,"children":105},"ol",{},[106,120,125],{"type":59,"tag":107,"props":108,"children":109},"li",{},[110,112,118],{"type":65,"value":111},"Fetch ",{"type":59,"tag":113,"props":114,"children":116},"code",{"className":115},[],[117],{"type":65,"value":90},{"type":65,"value":119},".",{"type":59,"tag":107,"props":121,"children":122},{},[123],{"type":65,"value":124},"Verify you actually got the guide (below).",{"type":59,"tag":107,"props":126,"children":127},{},[128],{"type":65,"value":129},"Follow it exactly, start to finish.",{"type":59,"tag":68,"props":131,"children":132},{},[133],{"type":65,"value":134},"The guide asks for its own inputs — the target project, the agent's real job,\nSlack or Microsoft Teams, and the agent framework and model. Do not pre-empt\nthose questions, and do not substitute remembered channel-setup steps for what\nthe guide says. Remembered steps are the reason this file is a pointer.",{"type":59,"tag":96,"props":136,"children":138},{"id":137},"verify-you-actually-got-the-guide",[139],{"type":65,"value":140},"Verify you actually got the guide",{"type":59,"tag":68,"props":142,"children":143},{},[144,149],{"type":59,"tag":74,"props":145,"children":146},{},[147],{"type":65,"value":148},"A missing guide does not return 404.",{"type":65,"value":150}," The site answers unknown paths with a\n\"Page not found\" HTML page under HTTP 200, so a successful status code proves\nnothing. Check the body instead:",{"type":59,"tag":152,"props":153,"children":154},"ul",{},[155,160,172],{"type":59,"tag":107,"props":156,"children":157},{},[158],{"type":65,"value":159},"It is markdown, not HTML.",{"type":59,"tag":107,"props":161,"children":162},{},[163,165,171],{"type":65,"value":164},"It begins with ",{"type":59,"tag":113,"props":166,"children":168},{"className":167},[],[169],{"type":65,"value":170},"# Build and prove a CopilotKit Channels agent",{"type":65,"value":119},{"type":59,"tag":107,"props":173,"children":174},{},[175,177,183],{"type":65,"value":176},"It contains five ",{"type":59,"tag":113,"props":178,"children":180},{"className":179},[],[181],{"type":65,"value":182},"## Phase",{"type":65,"value":184}," headings.",{"type":59,"tag":68,"props":186,"children":187},{},[188],{"type":65,"value":189},"If any of those fail, you did not get the guide — treat it as unavailable no\nmatter what the status code said.",{"type":59,"tag":96,"props":191,"children":193},{"id":192},"if-you-did-not-get-the-guide",[194],{"type":65,"value":195},"If you did not get the guide",{"type":59,"tag":68,"props":197,"children":198},{},[199],{"type":65,"value":200},"Stop. Tell the user you could not reach the guide, show them the URL, and ask\nthem to paste its contents or retry.",{"type":59,"tag":68,"props":202,"children":203},{},[204],{"type":65,"value":205},"Do not improvise the workflow from memory. It spans the CopilotKit CLI, a\nmanaged Channel, provider setup performed by the user in Slack or Azure, and a\nlong-running runtime host. A half-remembered version produces a project that\ninstalls cleanly and answers nothing, which is the most expensive failure\navailable here — it looks finished.",{"items":207,"total":302},[208,225,231,249,260,277,289],{"slug":209,"name":209,"fn":210,"description":211,"org":212,"tags":213,"stars":22,"repoUrl":23,"updatedAt":224},"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},[214,215,218,221],{"name":9,"slug":8,"type":15},{"name":216,"slug":217,"type":15},"Design","design",{"name":219,"slug":220,"type":15},"Frontend","frontend",{"name":222,"slug":223,"type":15},"UI Components","ui-components","2026-07-12T08:06:36.722091",{"slug":4,"name":4,"fn":5,"description":6,"org":226,"tags":227,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[228,229,230],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"slug":232,"name":232,"fn":233,"description":234,"org":235,"tags":236,"stars":22,"repoUrl":23,"updatedAt":248},"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},[237,238,241,244,245],{"name":17,"slug":18,"type":15},{"name":239,"slug":240,"type":15},"API Development","api-development",{"name":242,"slug":243,"type":15},"Backend","backend",{"name":9,"slug":8,"type":15},{"name":246,"slug":247,"type":15},"Debugging","debugging","2026-07-12T08:06:22.179755",{"slug":250,"name":250,"fn":251,"description":252,"org":253,"tags":254,"stars":22,"repoUrl":23,"updatedAt":259},"copilotkit-channels","configure CopilotKit intelligence channels","Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope, because the CLI or dashboard wizard performs it. Creating a Slack app for the first time is not: if no Slack app exists yet, use setup-slack-channel for the provider half and return here for the code.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[255,256,257,258],{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-08-04T05:59:05.179484",{"slug":261,"name":261,"fn":262,"description":263,"org":264,"tags":265,"stars":22,"repoUrl":23,"updatedAt":276},"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},[266,267,270,273],{"name":9,"slug":8,"type":15},{"name":268,"slug":269,"type":15},"Engineering","engineering",{"name":271,"slug":272,"type":15},"GitHub","github",{"name":274,"slug":275,"type":15},"Pull Requests","pull-requests","2026-07-12T08:06:30.102192",{"slug":278,"name":278,"fn":279,"description":280,"org":281,"tags":282,"stars":22,"repoUrl":23,"updatedAt":288},"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},[283,284,285],{"name":9,"slug":8,"type":15},{"name":246,"slug":247,"type":15},{"name":286,"slug":287,"type":15},"Observability","observability","2026-07-12T08:06:23.407872",{"slug":290,"name":290,"fn":291,"description":292,"org":293,"tags":294,"stars":22,"repoUrl":23,"updatedAt":301},"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},[295,296,299,300],{"name":17,"slug":18,"type":15},{"name":297,"slug":298,"type":15},"AI Context","ai-context",{"name":9,"slug":8,"type":15},{"name":219,"slug":220,"type":15},"2026-07-12T08:06:28.856644",14,{"items":304,"total":419},[305,312,318,326,333,340,346,353,366,380,392,404],{"slug":209,"name":209,"fn":210,"description":211,"org":306,"tags":307,"stars":22,"repoUrl":23,"updatedAt":224},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[308,309,310,311],{"name":9,"slug":8,"type":15},{"name":216,"slug":217,"type":15},{"name":219,"slug":220,"type":15},{"name":222,"slug":223,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":313,"tags":314,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[315,316,317],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"slug":232,"name":232,"fn":233,"description":234,"org":319,"tags":320,"stars":22,"repoUrl":23,"updatedAt":248},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[321,322,323,324,325],{"name":17,"slug":18,"type":15},{"name":239,"slug":240,"type":15},{"name":242,"slug":243,"type":15},{"name":9,"slug":8,"type":15},{"name":246,"slug":247,"type":15},{"slug":250,"name":250,"fn":251,"description":252,"org":327,"tags":328,"stars":22,"repoUrl":23,"updatedAt":259},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[329,330,331,332],{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"slug":261,"name":261,"fn":262,"description":263,"org":334,"tags":335,"stars":22,"repoUrl":23,"updatedAt":276},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[336,337,338,339],{"name":9,"slug":8,"type":15},{"name":268,"slug":269,"type":15},{"name":271,"slug":272,"type":15},{"name":274,"slug":275,"type":15},{"slug":278,"name":278,"fn":279,"description":280,"org":341,"tags":342,"stars":22,"repoUrl":23,"updatedAt":288},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[343,344,345],{"name":9,"slug":8,"type":15},{"name":246,"slug":247,"type":15},{"name":286,"slug":287,"type":15},{"slug":290,"name":290,"fn":291,"description":292,"org":347,"tags":348,"stars":22,"repoUrl":23,"updatedAt":301},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[349,350,351,352],{"name":17,"slug":18,"type":15},{"name":297,"slug":298,"type":15},{"name":9,"slug":8,"type":15},{"name":219,"slug":220,"type":15},{"slug":354,"name":354,"fn":355,"description":356,"org":357,"tags":358,"stars":22,"repoUrl":23,"updatedAt":365},"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},[359,360,361,362],{"name":17,"slug":18,"type":15},{"name":239,"slug":240,"type":15},{"name":9,"slug":8,"type":15},{"name":363,"slug":364,"type":15},"Integrations","integrations","2026-08-07T04:37:26.351052",{"slug":367,"name":367,"fn":368,"description":369,"org":370,"tags":371,"stars":22,"repoUrl":23,"updatedAt":379},"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},[372,373,376],{"name":9,"slug":8,"type":15},{"name":374,"slug":375,"type":15},"Documentation","documentation",{"name":377,"slug":378,"type":15},"Productivity","productivity","2026-07-12T08:06:31.345052",{"slug":381,"name":381,"fn":382,"description":383,"org":384,"tags":385,"stars":22,"repoUrl":23,"updatedAt":391},"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 (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[386,387,388],{"name":9,"slug":8,"type":15},{"name":219,"slug":220,"type":15},{"name":389,"slug":390,"type":15},"Onboarding","onboarding","2026-08-04T05:33:37.053218",{"slug":393,"name":393,"fn":394,"description":395,"org":396,"tags":397,"stars":22,"repoUrl":23,"updatedAt":403},"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},[398,399,400],{"name":9,"slug":8,"type":15},{"name":268,"slug":269,"type":15},{"name":401,"slug":402,"type":15},"Migration","migration","2026-07-12T08:06:26.949801",{"slug":405,"name":405,"fn":406,"description":407,"org":408,"tags":409,"stars":22,"repoUrl":23,"updatedAt":418},"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},[410,411,412,415,417],{"name":9,"slug":8,"type":15},{"name":219,"slug":220,"type":15},{"name":413,"slug":414,"type":15},"Next.js","next-js",{"name":416,"slug":43,"type":15},"React",{"name":222,"slug":223,"type":15},"2026-07-12T08:06:15.72619",17]