[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-copilotkit-copilotkit-contribute":3,"mdc-fkhw1f-key":54,"related-repo-copilotkit-copilotkit-contribute":800,"related-org-copilotkit-copilotkit-contribute":898},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":49,"sourceUrl":52,"mdContent":53},"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},"copilotkit","CopilotKit","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fcopilotkit.png",[12,14,17,20],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"GitHub","github",{"name":18,"slug":19,"type":13},"Engineering","engineering",{"name":21,"slug":22,"type":13},"Pull Requests","pull-requests",35928,"https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit","2026-07-12T08:06:30.102192",null,4434,[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"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","react","reactjs","ts","typescript",{"repoUrl":24,"stars":23,"forks":27,"topics":50,"description":51},[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"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\u002Fcopilotkit-contribute","---\nname: copilotkit-contribute\ndescription: >\n  Use when contributing to the CopilotKit open-source project — forking,\n  cloning, setting up the monorepo, creating branches, running tests, and\n  submitting pull requests against CopilotKit\u002FCopilotKit.\nversion: 1.0.0\n---\n\n# Contributing to CopilotKit\n\n> **Important:** CopilotKit's internal v2 packages use the `@copilotkit\u002F*` namespace. The public API that users install is `@copilotkit\u002F*`. When contributing, you work with `@copilotkit\u002F*` source but users never see that namespace.\n\n## Live Documentation (MCP)\n\nThis plugin includes an MCP server (`copilotkit-docs`) that provides `search-docs` and `search-code` tools for querying live CopilotKit documentation and source code.\n\n- **Claude Code:** Auto-configured by the plugin's `.mcp.json` -- no setup needed.\n- **Codex:** Requires manual configuration. See the [copilotkit-debug skill](..\u002Fcopilotkit-debug\u002FSKILL.md#mcp-setup) for setup instructions.\n\n## Workflow\n\n1. **Fork and clone** the CopilotKit\u002FCopilotKit repository.\n2. **Install dependencies** with `pnpm install` (requires pnpm v9.x and Node 20+).\n3. **Build once** with `pnpm build` to bootstrap all packages.\n4. **Create a branch** using the naming convention: `feat\u002F\u003CISSUE>-\u003Cname>`, `fix\u002F\u003CISSUE>-\u003Cname>`, or `docs\u002F\u003CISSUE>-\u003Cname>`.\n5. **Develop** with `pnpm dev` (watches all packages) or target a specific package with `nx run @copilotkit\u002F\u003Cpkg>:dev`.\n6. **Write and run tests** with `nx run @copilotkit\u002F\u003Cpkg>:test`. All v2 packages use Vitest.\n7. **Lint and format** with `pnpm run lint --fix && pnpm run format`.\n8. **Commit** using conventional commit format: `\u003Ctype>(\u003Cscope>): \u003Csubject>` (enforced by commitlint).\n9. **Push and open a PR** against the `main` branch. CI builds all packages and publishes preview packages via pkg-pr-new.\n\n## Before Opening a PR\n\n- Reach out to the maintainers first for any significant work (file an issue or ask on Discord).\n- Run `pnpm run test` to verify all tests pass.\n- Run `pnpm run build` to verify the full build succeeds.\n- Run `pnpm run check-prettier` to verify formatting.\n- Ensure commit messages follow the `\u003Ctype>(\u003Cscope>): \u003Csubject>` format.\n\n## Quick Reference\n\n| Task                     | Command                        |\n| ------------------------ | ------------------------------ |\n| Install dependencies     | `pnpm install`                 |\n| Build all packages       | `pnpm build`                   |\n| Dev mode (all)           | `pnpm dev`                     |\n| Dev mode (v2 only)       | `pnpm dev:next`                |\n| Run all tests            | `pnpm run test`                |\n| Run v2 tests only        | `pnpm test:next`               |\n| Run single package tests | `nx run @copilotkit\u002Fcore:test` |\n| Test with coverage       | `pnpm run test:coverage`       |\n| Lint                     | `pnpm run lint`                |\n| Format                   | `pnpm run format`              |\n| Check formatting         | `pnpm run check-prettier`      |\n| Type check               | `pnpm run check-types`         |\n| Package quality checks   | `pnpm run check:packages`      |\n| Dependency graph         | `pnpm run graph`               |\n\n## Key Architecture Points\n\n- V2 (`@copilotkit\u002F*`) is the real implementation. V1 (`@copilotkit\u002F*`) wraps V2.\n- New features always go in V2 packages under `packages\u002Fv2\u002F`.\n- Communication between frontend and runtime uses the AG-UI protocol (SSE-based events).\n- The monorepo uses Nx for task orchestration and pnpm workspaces.\n\n## Reference Documents\n\n- [Contribution Guide](references\u002Fcontribution-guide.md) — full onboarding walkthrough\n- [Repo Structure](references\u002Frepo-structure.md) — package layout and architecture\n- [Testing Guide](references\u002Ftesting-guide.md) — Vitest setup, running tests, coverage\n- [PR Guidelines](references\u002Fpr-guidelines.md) — CI checks, review process, expectations\n",{"data":55,"body":57},{"name":4,"description":6,"version":56},"1.0.0",{"type":58,"children":59},"root",[60,69,108,115,144,186,192,368,374,431,437,697,703,747,753],{"type":61,"tag":62,"props":63,"children":65},"element","h1",{"id":64},"contributing-to-copilotkit",[66],{"type":67,"value":68},"text","Contributing to CopilotKit",{"type":61,"tag":70,"props":71,"children":72},"blockquote",{},[73],{"type":61,"tag":74,"props":75,"children":76},"p",{},[77,83,85,92,94,99,101,106],{"type":61,"tag":78,"props":79,"children":80},"strong",{},[81],{"type":67,"value":82},"Important:",{"type":67,"value":84}," CopilotKit's internal v2 packages use the ",{"type":61,"tag":86,"props":87,"children":89},"code",{"className":88},[],[90],{"type":67,"value":91},"@copilotkit\u002F*",{"type":67,"value":93}," namespace. The public API that users install is ",{"type":61,"tag":86,"props":95,"children":97},{"className":96},[],[98],{"type":67,"value":91},{"type":67,"value":100},". When contributing, you work with ",{"type":61,"tag":86,"props":102,"children":104},{"className":103},[],[105],{"type":67,"value":91},{"type":67,"value":107}," source but users never see that namespace.",{"type":61,"tag":109,"props":110,"children":112},"h2",{"id":111},"live-documentation-mcp",[113],{"type":67,"value":114},"Live Documentation (MCP)",{"type":61,"tag":74,"props":116,"children":117},{},[118,120,126,128,134,136,142],{"type":67,"value":119},"This plugin includes an MCP server (",{"type":61,"tag":86,"props":121,"children":123},{"className":122},[],[124],{"type":67,"value":125},"copilotkit-docs",{"type":67,"value":127},") that provides ",{"type":61,"tag":86,"props":129,"children":131},{"className":130},[],[132],{"type":67,"value":133},"search-docs",{"type":67,"value":135}," and ",{"type":61,"tag":86,"props":137,"children":139},{"className":138},[],[140],{"type":67,"value":141},"search-code",{"type":67,"value":143}," tools for querying live CopilotKit documentation and source code.",{"type":61,"tag":145,"props":146,"children":147},"ul",{},[148,167],{"type":61,"tag":149,"props":150,"children":151},"li",{},[152,157,159,165],{"type":61,"tag":78,"props":153,"children":154},{},[155],{"type":67,"value":156},"Claude Code:",{"type":67,"value":158}," Auto-configured by the plugin's ",{"type":61,"tag":86,"props":160,"children":162},{"className":161},[],[163],{"type":67,"value":164},".mcp.json",{"type":67,"value":166}," -- no setup needed.",{"type":61,"tag":149,"props":168,"children":169},{},[170,175,177,184],{"type":61,"tag":78,"props":171,"children":172},{},[173],{"type":67,"value":174},"Codex:",{"type":67,"value":176}," Requires manual configuration. See the ",{"type":61,"tag":178,"props":179,"children":181},"a",{"href":180},"..\u002Fcopilotkit-debug\u002FSKILL.md#mcp-setup",[182],{"type":67,"value":183},"copilotkit-debug skill",{"type":67,"value":185}," for setup instructions.",{"type":61,"tag":109,"props":187,"children":189},{"id":188},"workflow",[190],{"type":67,"value":191},"Workflow",{"type":61,"tag":193,"props":194,"children":195},"ol",{},[196,206,224,241,275,299,316,332,350],{"type":61,"tag":149,"props":197,"children":198},{},[199,204],{"type":61,"tag":78,"props":200,"children":201},{},[202],{"type":67,"value":203},"Fork and clone",{"type":67,"value":205}," the CopilotKit\u002FCopilotKit repository.",{"type":61,"tag":149,"props":207,"children":208},{},[209,214,216,222],{"type":61,"tag":78,"props":210,"children":211},{},[212],{"type":67,"value":213},"Install dependencies",{"type":67,"value":215}," with ",{"type":61,"tag":86,"props":217,"children":219},{"className":218},[],[220],{"type":67,"value":221},"pnpm install",{"type":67,"value":223}," (requires pnpm v9.x and Node 20+).",{"type":61,"tag":149,"props":225,"children":226},{},[227,232,233,239],{"type":61,"tag":78,"props":228,"children":229},{},[230],{"type":67,"value":231},"Build once",{"type":67,"value":215},{"type":61,"tag":86,"props":234,"children":236},{"className":235},[],[237],{"type":67,"value":238},"pnpm build",{"type":67,"value":240}," to bootstrap all packages.",{"type":61,"tag":149,"props":242,"children":243},{},[244,249,251,257,259,265,267,273],{"type":61,"tag":78,"props":245,"children":246},{},[247],{"type":67,"value":248},"Create a branch",{"type":67,"value":250}," using the naming convention: ",{"type":61,"tag":86,"props":252,"children":254},{"className":253},[],[255],{"type":67,"value":256},"feat\u002F\u003CISSUE>-\u003Cname>",{"type":67,"value":258},", ",{"type":61,"tag":86,"props":260,"children":262},{"className":261},[],[263],{"type":67,"value":264},"fix\u002F\u003CISSUE>-\u003Cname>",{"type":67,"value":266},", or ",{"type":61,"tag":86,"props":268,"children":270},{"className":269},[],[271],{"type":67,"value":272},"docs\u002F\u003CISSUE>-\u003Cname>",{"type":67,"value":274},".",{"type":61,"tag":149,"props":276,"children":277},{},[278,283,284,290,292,298],{"type":61,"tag":78,"props":279,"children":280},{},[281],{"type":67,"value":282},"Develop",{"type":67,"value":215},{"type":61,"tag":86,"props":285,"children":287},{"className":286},[],[288],{"type":67,"value":289},"pnpm dev",{"type":67,"value":291}," (watches all packages) or target a specific package with ",{"type":61,"tag":86,"props":293,"children":295},{"className":294},[],[296],{"type":67,"value":297},"nx run @copilotkit\u002F\u003Cpkg>:dev",{"type":67,"value":274},{"type":61,"tag":149,"props":300,"children":301},{},[302,307,308,314],{"type":61,"tag":78,"props":303,"children":304},{},[305],{"type":67,"value":306},"Write and run tests",{"type":67,"value":215},{"type":61,"tag":86,"props":309,"children":311},{"className":310},[],[312],{"type":67,"value":313},"nx run @copilotkit\u002F\u003Cpkg>:test",{"type":67,"value":315},". All v2 packages use Vitest.",{"type":61,"tag":149,"props":317,"children":318},{},[319,324,325,331],{"type":61,"tag":78,"props":320,"children":321},{},[322],{"type":67,"value":323},"Lint and format",{"type":67,"value":215},{"type":61,"tag":86,"props":326,"children":328},{"className":327},[],[329],{"type":67,"value":330},"pnpm run lint --fix && pnpm run format",{"type":67,"value":274},{"type":61,"tag":149,"props":333,"children":334},{},[335,340,342,348],{"type":61,"tag":78,"props":336,"children":337},{},[338],{"type":67,"value":339},"Commit",{"type":67,"value":341}," using conventional commit format: ",{"type":61,"tag":86,"props":343,"children":345},{"className":344},[],[346],{"type":67,"value":347},"\u003Ctype>(\u003Cscope>): \u003Csubject>",{"type":67,"value":349}," (enforced by commitlint).",{"type":61,"tag":149,"props":351,"children":352},{},[353,358,360,366],{"type":61,"tag":78,"props":354,"children":355},{},[356],{"type":67,"value":357},"Push and open a PR",{"type":67,"value":359}," against the ",{"type":61,"tag":86,"props":361,"children":363},{"className":362},[],[364],{"type":67,"value":365},"main",{"type":67,"value":367}," branch. CI builds all packages and publishes preview packages via pkg-pr-new.",{"type":61,"tag":109,"props":369,"children":371},{"id":370},"before-opening-a-pr",[372],{"type":67,"value":373},"Before Opening a PR",{"type":61,"tag":145,"props":375,"children":376},{},[377,382,395,407,419],{"type":61,"tag":149,"props":378,"children":379},{},[380],{"type":67,"value":381},"Reach out to the maintainers first for any significant work (file an issue or ask on Discord).",{"type":61,"tag":149,"props":383,"children":384},{},[385,387,393],{"type":67,"value":386},"Run ",{"type":61,"tag":86,"props":388,"children":390},{"className":389},[],[391],{"type":67,"value":392},"pnpm run test",{"type":67,"value":394}," to verify all tests pass.",{"type":61,"tag":149,"props":396,"children":397},{},[398,399,405],{"type":67,"value":386},{"type":61,"tag":86,"props":400,"children":402},{"className":401},[],[403],{"type":67,"value":404},"pnpm run build",{"type":67,"value":406}," to verify the full build succeeds.",{"type":61,"tag":149,"props":408,"children":409},{},[410,411,417],{"type":67,"value":386},{"type":61,"tag":86,"props":412,"children":414},{"className":413},[],[415],{"type":67,"value":416},"pnpm run check-prettier",{"type":67,"value":418}," to verify formatting.",{"type":61,"tag":149,"props":420,"children":421},{},[422,424,429],{"type":67,"value":423},"Ensure commit messages follow the ",{"type":61,"tag":86,"props":425,"children":427},{"className":426},[],[428],{"type":67,"value":347},{"type":67,"value":430}," format.",{"type":61,"tag":109,"props":432,"children":434},{"id":433},"quick-reference",[435],{"type":67,"value":436},"Quick Reference",{"type":61,"tag":438,"props":439,"children":440},"table",{},[441,460],{"type":61,"tag":442,"props":443,"children":444},"thead",{},[445],{"type":61,"tag":446,"props":447,"children":448},"tr",{},[449,455],{"type":61,"tag":450,"props":451,"children":452},"th",{},[453],{"type":67,"value":454},"Task",{"type":61,"tag":450,"props":456,"children":457},{},[458],{"type":67,"value":459},"Command",{"type":61,"tag":461,"props":462,"children":463},"tbody",{},[464,480,496,512,529,545,562,579,596,613,630,646,663,680],{"type":61,"tag":446,"props":465,"children":466},{},[467,472],{"type":61,"tag":468,"props":469,"children":470},"td",{},[471],{"type":67,"value":213},{"type":61,"tag":468,"props":473,"children":474},{},[475],{"type":61,"tag":86,"props":476,"children":478},{"className":477},[],[479],{"type":67,"value":221},{"type":61,"tag":446,"props":481,"children":482},{},[483,488],{"type":61,"tag":468,"props":484,"children":485},{},[486],{"type":67,"value":487},"Build all packages",{"type":61,"tag":468,"props":489,"children":490},{},[491],{"type":61,"tag":86,"props":492,"children":494},{"className":493},[],[495],{"type":67,"value":238},{"type":61,"tag":446,"props":497,"children":498},{},[499,504],{"type":61,"tag":468,"props":500,"children":501},{},[502],{"type":67,"value":503},"Dev mode (all)",{"type":61,"tag":468,"props":505,"children":506},{},[507],{"type":61,"tag":86,"props":508,"children":510},{"className":509},[],[511],{"type":67,"value":289},{"type":61,"tag":446,"props":513,"children":514},{},[515,520],{"type":61,"tag":468,"props":516,"children":517},{},[518],{"type":67,"value":519},"Dev mode (v2 only)",{"type":61,"tag":468,"props":521,"children":522},{},[523],{"type":61,"tag":86,"props":524,"children":526},{"className":525},[],[527],{"type":67,"value":528},"pnpm dev:next",{"type":61,"tag":446,"props":530,"children":531},{},[532,537],{"type":61,"tag":468,"props":533,"children":534},{},[535],{"type":67,"value":536},"Run all tests",{"type":61,"tag":468,"props":538,"children":539},{},[540],{"type":61,"tag":86,"props":541,"children":543},{"className":542},[],[544],{"type":67,"value":392},{"type":61,"tag":446,"props":546,"children":547},{},[548,553],{"type":61,"tag":468,"props":549,"children":550},{},[551],{"type":67,"value":552},"Run v2 tests only",{"type":61,"tag":468,"props":554,"children":555},{},[556],{"type":61,"tag":86,"props":557,"children":559},{"className":558},[],[560],{"type":67,"value":561},"pnpm test:next",{"type":61,"tag":446,"props":563,"children":564},{},[565,570],{"type":61,"tag":468,"props":566,"children":567},{},[568],{"type":67,"value":569},"Run single package tests",{"type":61,"tag":468,"props":571,"children":572},{},[573],{"type":61,"tag":86,"props":574,"children":576},{"className":575},[],[577],{"type":67,"value":578},"nx run @copilotkit\u002Fcore:test",{"type":61,"tag":446,"props":580,"children":581},{},[582,587],{"type":61,"tag":468,"props":583,"children":584},{},[585],{"type":67,"value":586},"Test with coverage",{"type":61,"tag":468,"props":588,"children":589},{},[590],{"type":61,"tag":86,"props":591,"children":593},{"className":592},[],[594],{"type":67,"value":595},"pnpm run test:coverage",{"type":61,"tag":446,"props":597,"children":598},{},[599,604],{"type":61,"tag":468,"props":600,"children":601},{},[602],{"type":67,"value":603},"Lint",{"type":61,"tag":468,"props":605,"children":606},{},[607],{"type":61,"tag":86,"props":608,"children":610},{"className":609},[],[611],{"type":67,"value":612},"pnpm run lint",{"type":61,"tag":446,"props":614,"children":615},{},[616,621],{"type":61,"tag":468,"props":617,"children":618},{},[619],{"type":67,"value":620},"Format",{"type":61,"tag":468,"props":622,"children":623},{},[624],{"type":61,"tag":86,"props":625,"children":627},{"className":626},[],[628],{"type":67,"value":629},"pnpm run format",{"type":61,"tag":446,"props":631,"children":632},{},[633,638],{"type":61,"tag":468,"props":634,"children":635},{},[636],{"type":67,"value":637},"Check formatting",{"type":61,"tag":468,"props":639,"children":640},{},[641],{"type":61,"tag":86,"props":642,"children":644},{"className":643},[],[645],{"type":67,"value":416},{"type":61,"tag":446,"props":647,"children":648},{},[649,654],{"type":61,"tag":468,"props":650,"children":651},{},[652],{"type":67,"value":653},"Type check",{"type":61,"tag":468,"props":655,"children":656},{},[657],{"type":61,"tag":86,"props":658,"children":660},{"className":659},[],[661],{"type":67,"value":662},"pnpm run check-types",{"type":61,"tag":446,"props":664,"children":665},{},[666,671],{"type":61,"tag":468,"props":667,"children":668},{},[669],{"type":67,"value":670},"Package quality checks",{"type":61,"tag":468,"props":672,"children":673},{},[674],{"type":61,"tag":86,"props":675,"children":677},{"className":676},[],[678],{"type":67,"value":679},"pnpm run check:packages",{"type":61,"tag":446,"props":681,"children":682},{},[683,688],{"type":61,"tag":468,"props":684,"children":685},{},[686],{"type":67,"value":687},"Dependency graph",{"type":61,"tag":468,"props":689,"children":690},{},[691],{"type":61,"tag":86,"props":692,"children":694},{"className":693},[],[695],{"type":67,"value":696},"pnpm run graph",{"type":61,"tag":109,"props":698,"children":700},{"id":699},"key-architecture-points",[701],{"type":67,"value":702},"Key Architecture Points",{"type":61,"tag":145,"props":704,"children":705},{},[706,725,737,742],{"type":61,"tag":149,"props":707,"children":708},{},[709,711,716,718,723],{"type":67,"value":710},"V2 (",{"type":61,"tag":86,"props":712,"children":714},{"className":713},[],[715],{"type":67,"value":91},{"type":67,"value":717},") is the real implementation. V1 (",{"type":61,"tag":86,"props":719,"children":721},{"className":720},[],[722],{"type":67,"value":91},{"type":67,"value":724},") wraps V2.",{"type":61,"tag":149,"props":726,"children":727},{},[728,730,736],{"type":67,"value":729},"New features always go in V2 packages under ",{"type":61,"tag":86,"props":731,"children":733},{"className":732},[],[734],{"type":67,"value":735},"packages\u002Fv2\u002F",{"type":67,"value":274},{"type":61,"tag":149,"props":738,"children":739},{},[740],{"type":67,"value":741},"Communication between frontend and runtime uses the AG-UI protocol (SSE-based events).",{"type":61,"tag":149,"props":743,"children":744},{},[745],{"type":67,"value":746},"The monorepo uses Nx for task orchestration and pnpm workspaces.",{"type":61,"tag":109,"props":748,"children":750},{"id":749},"reference-documents",[751],{"type":67,"value":752},"Reference Documents",{"type":61,"tag":145,"props":754,"children":755},{},[756,767,778,789],{"type":61,"tag":149,"props":757,"children":758},{},[759,765],{"type":61,"tag":178,"props":760,"children":762},{"href":761},"references\u002Fcontribution-guide.md",[763],{"type":67,"value":764},"Contribution Guide",{"type":67,"value":766}," — full onboarding walkthrough",{"type":61,"tag":149,"props":768,"children":769},{},[770,776],{"type":61,"tag":178,"props":771,"children":773},{"href":772},"references\u002Frepo-structure.md",[774],{"type":67,"value":775},"Repo Structure",{"type":67,"value":777}," — package layout and architecture",{"type":61,"tag":149,"props":779,"children":780},{},[781,787],{"type":61,"tag":178,"props":782,"children":784},{"href":783},"references\u002Ftesting-guide.md",[785],{"type":67,"value":786},"Testing Guide",{"type":67,"value":788}," — Vitest setup, running tests, coverage",{"type":61,"tag":149,"props":790,"children":791},{},[792,798],{"type":61,"tag":178,"props":793,"children":795},{"href":794},"references\u002Fpr-guidelines.md",[796],{"type":67,"value":797},"PR Guidelines",{"type":67,"value":799}," — CI checks, review process, expectations",{"items":801,"total":897},[802,819,838,845,857,870,883],{"slug":803,"name":803,"fn":804,"description":805,"org":806,"tags":807,"stars":23,"repoUrl":24,"updatedAt":818},"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},[808,809,812,815],{"name":9,"slug":8,"type":13},{"name":810,"slug":811,"type":13},"Design","design",{"name":813,"slug":814,"type":13},"Frontend","frontend",{"name":816,"slug":817,"type":13},"UI Components","ui-components","2026-07-12T08:06:36.722091",{"slug":820,"name":820,"fn":821,"description":822,"org":823,"tags":824,"stars":23,"repoUrl":24,"updatedAt":837},"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},[825,827,830,833,834],{"name":826,"slug":32,"type":13},"Agents",{"name":828,"slug":829,"type":13},"API Development","api-development",{"name":831,"slug":832,"type":13},"Backend","backend",{"name":9,"slug":8,"type":13},{"name":835,"slug":836,"type":13},"Debugging","debugging","2026-07-12T08:06:22.179755",{"slug":4,"name":4,"fn":5,"description":6,"org":839,"tags":840,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[841,842,843,844],{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":21,"slug":22,"type":13},{"slug":846,"name":846,"fn":847,"description":848,"org":849,"tags":850,"stars":23,"repoUrl":24,"updatedAt":856},"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},[851,852,853],{"name":9,"slug":8,"type":13},{"name":835,"slug":836,"type":13},{"name":854,"slug":855,"type":13},"Observability","observability","2026-07-12T08:06:23.407872",{"slug":858,"name":858,"fn":859,"description":860,"org":861,"tags":862,"stars":23,"repoUrl":24,"updatedAt":869},"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},[863,864,867,868],{"name":826,"slug":32,"type":13},{"name":865,"slug":866,"type":13},"AI Context","ai-context",{"name":9,"slug":8,"type":13},{"name":813,"slug":814,"type":13},"2026-07-12T08:06:28.856644",{"slug":871,"name":871,"fn":872,"description":873,"org":874,"tags":875,"stars":23,"repoUrl":24,"updatedAt":882},"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},[876,877,878,879],{"name":826,"slug":32,"type":13},{"name":828,"slug":829,"type":13},{"name":9,"slug":8,"type":13},{"name":880,"slug":881,"type":13},"Integrations","integrations","2026-07-12T08:06:32.560054",{"slug":884,"name":884,"fn":885,"description":886,"org":887,"tags":888,"stars":23,"repoUrl":24,"updatedAt":896},"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},[889,890,893],{"name":9,"slug":8,"type":13},{"name":891,"slug":892,"type":13},"Documentation","documentation",{"name":894,"slug":895,"type":13},"Productivity","productivity","2026-07-12T08:06:31.345052",11,{"items":899,"total":1021},[900,907,915,922,928,935,942,948,960,972,987,1002],{"slug":803,"name":803,"fn":804,"description":805,"org":901,"tags":902,"stars":23,"repoUrl":24,"updatedAt":818},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[903,904,905,906],{"name":9,"slug":8,"type":13},{"name":810,"slug":811,"type":13},{"name":813,"slug":814,"type":13},{"name":816,"slug":817,"type":13},{"slug":820,"name":820,"fn":821,"description":822,"org":908,"tags":909,"stars":23,"repoUrl":24,"updatedAt":837},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[910,911,912,913,914],{"name":826,"slug":32,"type":13},{"name":828,"slug":829,"type":13},{"name":831,"slug":832,"type":13},{"name":9,"slug":8,"type":13},{"name":835,"slug":836,"type":13},{"slug":4,"name":4,"fn":5,"description":6,"org":916,"tags":917,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[918,919,920,921],{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":21,"slug":22,"type":13},{"slug":846,"name":846,"fn":847,"description":848,"org":923,"tags":924,"stars":23,"repoUrl":24,"updatedAt":856},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[925,926,927],{"name":9,"slug":8,"type":13},{"name":835,"slug":836,"type":13},{"name":854,"slug":855,"type":13},{"slug":858,"name":858,"fn":859,"description":860,"org":929,"tags":930,"stars":23,"repoUrl":24,"updatedAt":869},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[931,932,933,934],{"name":826,"slug":32,"type":13},{"name":865,"slug":866,"type":13},{"name":9,"slug":8,"type":13},{"name":813,"slug":814,"type":13},{"slug":871,"name":871,"fn":872,"description":873,"org":936,"tags":937,"stars":23,"repoUrl":24,"updatedAt":882},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[938,939,940,941],{"name":826,"slug":32,"type":13},{"name":828,"slug":829,"type":13},{"name":9,"slug":8,"type":13},{"name":880,"slug":881,"type":13},{"slug":884,"name":884,"fn":885,"description":886,"org":943,"tags":944,"stars":23,"repoUrl":24,"updatedAt":896},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[945,946,947],{"name":9,"slug":8,"type":13},{"name":891,"slug":892,"type":13},{"name":894,"slug":895,"type":13},{"slug":949,"name":949,"fn":950,"description":951,"org":952,"tags":953,"stars":23,"repoUrl":24,"updatedAt":959},"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},[954,955,956],{"name":9,"slug":8,"type":13},{"name":813,"slug":814,"type":13},{"name":957,"slug":958,"type":13},"Onboarding","onboarding","2026-07-12T08:06:25.534415",{"slug":961,"name":961,"fn":962,"description":963,"org":964,"tags":965,"stars":23,"repoUrl":24,"updatedAt":971},"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},[966,967,968],{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":969,"slug":970,"type":13},"Migration","migration","2026-07-12T08:06:26.949801",{"slug":973,"name":973,"fn":974,"description":975,"org":976,"tags":977,"stars":23,"repoUrl":24,"updatedAt":986},"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},[978,979,980,983,985],{"name":9,"slug":8,"type":13},{"name":813,"slug":814,"type":13},{"name":981,"slug":982,"type":13},"Next.js","next-js",{"name":984,"slug":45,"type":13},"React",{"name":816,"slug":817,"type":13},"2026-07-12T08:06:15.72619",{"slug":988,"name":988,"fn":989,"description":990,"org":991,"tags":992,"stars":23,"repoUrl":24,"updatedAt":1001},"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},[993,994,995,998],{"name":831,"slug":832,"type":13},{"name":9,"slug":8,"type":13},{"name":996,"slug":997,"type":13},"JavaScript","javascript",{"name":999,"slug":1000,"type":13},"Middleware","middleware","2026-07-12T08:06:10.034875",{"slug":1003,"name":1004,"fn":1005,"description":1006,"org":1007,"tags":1008,"stars":1018,"repoUrl":1019,"updatedAt":1020},"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},[1009,1012,1013,1014,1017],{"name":1010,"slug":1011,"type":13},"Dashboards","dashboards",{"name":810,"slug":811,"type":13},{"name":813,"slug":814,"type":13},{"name":1015,"slug":1016,"type":13},"Generative Art","generative-art",{"name":816,"slug":817,"type":13},1440,"https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FOpenGenerativeUI","2026-07-12T08:06:40.712754",14]