[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3585":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":15,"starSnapshotCount":15,"syncStatus":49,"lastSyncTime":50,"discoverSource":51},3585,"CopilotKit","CopilotKit\u002FCopilotKit","The Frontend Stack for Agents & Generative UI. React + Angular.  Makers of the AG-UI Protocol","https:\u002F\u002Fdocs.copilotkit.ai",null,"TypeScript",32543,4185,165,318,0,394,659,1763,1385,120,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"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","2026-06-06 04:01:41","\u003Cdiv align=center>\n\n\u003Cimg width=\"120\" height=\"120\" alt=\"FavIcon\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F779de607-2b8d-4751-872b-1243e97c7d18\" \u002F>\n\n# CopilotKit\n\n\u003Cdiv align=center>\n\n[Docs](https:\u002F\u002Fdocs.copilotkit.ai\u002F?ref=github_readme) ·\n[Examples](https:\u002F\u002Fwww.copilotkit.ai\u002Fexamples) ·\n[Copilot Cloud](https:\u002F\u002Fcloud.copilotkit.ai?ref=github_readme) ·\n[Discord](https:\u002F\u002Fdiscord.gg\u002F6dffbvGU3D?ref=github_readme)\n\n\u003C\u002Fdiv>\n\nBuild **agent-native applications** with generative UI, shared state, and human-in-the-loop workflows.\n\n\u003C\u002Fdiv>\n\n[![CopilotKit](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Faeb56c28-c766-44a5-810c-5d999bb6a32a)](https:\u002F\u002Fgo.copilotkit.ai\u002Fcopilotkit-docs)\n\n\u003Cdiv align=\"center\" style=\"display:flex;justify-content:start;gap:16px;height:20px;margin: 0;\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@copilotkit\u002Freact-core\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F%40copilotkit%2Freact-core?logo=npm&logoColor=%23FFFFFF&label=Version&color=%236963ff\" alt=\"NPM\">\n  \u003C\u002Fa>\n\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fcopilotkit\u002Fcopilotkit\u002Fblob\u002Fmain\u002FLICENSE\" target=\"_blank\">\n    \u003Cimg src=\"assets\u002Flicense-badge.svg\" alt=\"License: MIT\" height=\"20\">\n  \u003C\u002Fa>\n\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F6dffbvGU3D\" target=\"_blank\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1122926057641742418?logo=discord&logoColor=%23FFFFFF&label=Discord&color=%236963ff\" alt=\"Discord\">\n  \u003C\u002Fa>\n  \u003C\u002Fdiv>\n  \u003Cbr\u002F>\n  \u003Cdiv>\n    \u003Ca href=\"https:\u002F\u002Fwww.producthunt.com\u002Fposts\u002Fcopilotkit\" target=\"_blank\">\n  \u003C\u002Fa>\n\n\u003Cdiv \u002F>\n  \u003Cdiv align=\"center\">\n      \u003Ca href=\"https:\u002F\u002Ftrendshift.io\u002Frepositories\u002F5730\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Ftrendshift.io\u002Fapi\u002Fbadge\u002Frepositories\u002F5730\" alt=\"CopilotKit%2FCopilotKit | Trendshift\"                         style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"\u002F>\n    \u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fwww.producthunt.com\u002Fposts\u002Fcopilotkit\" target=\"_blank\">\n      \u003Cimg src=\"https:\u002F\u002Fapi.producthunt.com\u002Fwidgets\u002Fembed-image\u002Fv1\u002Ftop-post-badge.svg?post_id=428778&theme=light&period=daily\">\n    \u003C\u002Fa>\n\n  \u003C\u002Fdiv>\n\n---\n\n## What is CopilotKit\n\nCopilotKit is a best-in-class SDK for building full-stack agentic applications, Generative UI, and chat applications.\n\nWe are the company behind the **AG-UI Protocol**, adopted by Google, LangChain, AWS, Microsoft, Mastra, PydanticAI, and more!\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F6f06c63f-9bd1-4762-99ac-24898ee227bc\n\n\u003Cdiv align=\"center\"> Add AI to your app in 1 minute\u003C\u002Fdiv>\n\n**Features:**\n\n- **Chat UI** – A React-based chat interface that supports message streaming, tool calls, and agent responses.\n- **Backend Tool Rendering** – Enables agents to call backend tools that return UI components rendered directly in the client.\n- **Generative UI** – Allows agents to generate and update UI components dynamically at runtime based on user intent and agent state.\n- **Shared State** – A synchronized state layer that both agents and UI components can read from and write to in real time.\n- **Human-in-the-Loop** – Lets agents pause execution to request user input, confirmation, or edits before continuing.\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F55bf6714-62a7-4d5d-9232-07747cc0763b\n\n## Quick Start\n\n### New projects:\n\n```bash\nnpx copilotkit@latest create -f \u003Cframework>\n```\n\n### Existing projects:\n\n```bash\nnpx copilotkit@latest init\n```\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F7372b27b-8def-40fb-a11d-1f6585f556ad\n\nWhat this gives you:\n\n- **CopilotKit installed** – Core packages are fully set up in your app\n- **Provider configured** – Context, state, and hooks ready to use\n- **Agent \u003C> UI connected** – Agents can stream actions and render UI immediately\n- **Deployment-ready** – Your app is ready to deploy\n\n[Complete getting started guide →](https:\u002F\u002Fdocs.copilotkit.ai\u002Flanggraph\u002Fquickstart)\n\n## How it works:\n\nCopilotKit connects your UI, agents, and tools into a single interaction loop.\n\n![CopilotKit Diagram — Motion x2 6 sec version](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F6f175d86-bd22-4c26-a13a-6013654ed542)\n\nThis enables:\n\n- Agents that ask users for input\n- Tools that render UI\n- Stateful workflows across steps and sessions\n\n## ⭐️ useAgent Hook\n\nThe `useAgent` hook is a proper superset of `useCoAgent` and sits directly on AG-UI, giving more control over the agent connection.\n\n```ts\n\u002F\u002F Programmatically access and control your agents\nconst { agent } = useAgent({ agentId: \"my_agent\" });\n\n\u002F\u002F Render and update your agent's state\nreturn \u003Cdiv>\n  \u003Ch1>{agent.state.city}\u003C\u002Fh1>\n  \u003Cbutton onClick={() => agent.setState({ city: \"NYC\" })}>\n    Set City\n  \u003C\u002Fbutton>\n\u003C\u002Fdiv>\n```\n\nCheck out the [useAgent docs](https:\u002F\u002Fgo.copilotkit.ai\u002Fuseagent-docs) to learn more.\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F67928406-8abc-49a1-a851-98018b52174f\n\n## Generative UI\n\nGenerative UI is a core CopilotKit pattern that allows agents to dynamically render UI as part of their workflow.\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F3cfacac0-4ffd-457a-96f9-d7951e4ab7b6\n\n### Compare the Three Types\n\n\u003Cimg width=\"708\" height=\"311\" alt=\"image\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F962f49c2-31ea-43c5-b2a3-7cdde114705a\" \u002F>\n\n#### Explore:\n\n- [Static (AG-UI Protocol)](https:\u002F\u002Fdocs.copilotkit.ai\u002Fag-ui-protocol)\n- [Declarative (A2UI)](https:\u002F\u002Fdocs.copilotkit.ai\u002Fgenerative-ui\u002Fspecs\u002Fa2ui#using-a2ui-with-copilotkit)\n- [Open-Ended (MCP Apps & Open JSON)](https:\u002F\u002Fdocs.copilotkit.ai\u002Fgenerative-ui\u002Fspecs\u002Fmcp-apps)\n\n[Generative UI educational repo →](https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit\u002Ftree\u002Fmain\u002Fexamples\u002Fshowcases\u002Fgenerative-ui)\n\n## 🖥️ AG-UI: The Agent–User Interaction Protocol\n\nConnect agent workflow to user-facing apps, with deep partnerships and 1st-party integrations across the agentic stack—including LangGraph, CrewAI, and more.\n\n[![AG-UI](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fa625237a-cfc1-45fc-8d0c-637316b81291)](https:\u002F\u002Fgo.copilotkit.ai\u002Fag-ui)\n\n---\n\n```\nnpx create-ag-ui-app my-agent-app\n```\n\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fag-ui-protocol\u002Fag-ui\" target=\"_blank\">\n   Learn more in the AG-UI README →\n  \u003C\u002Fa>\n\n## 🤝 Community\n\n- [What's New](https:\u002F\u002Fdocs.copilotkit.ai\u002Fwhats-new)\n\u003Ch3>Have questions or need help?\u003C\u002Fh3>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F6dffbvGU3D?ref=github_readme\" target=\"_blank\">\n   Join our Discord →\n  \u003C\u002Fa> \u003C\u002Fbr>\n    \u003Ca href=\"https:\u002F\u002Fdocs.copilotkit.ai\u002F?ref=github_readme\" target=\"_blank\">\n  Read the Docs →\n  \u003C\u002Fa> \u003C\u002Fbr>\n    \u003Ca href=\"https:\u002F\u002Fcloud.copilotkit.ai?ref=github_readme\" target=\"_blank\">\n   Try Copilot Cloud →\n  \u003C\u002Fa>\n\u003Ch3>Stay up to date with our latest releases!\u003C\u002Fh3>\n  \u003Ca href=\"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fcopilotkit\u002F\" target=\"_blank\">\n   Follow us on LinkedIn →\n  \u003C\u002Fa> \u003C\u002Fbr>\n    \u003Ca href=\"https:\u002F\u002Fx.com\u002Fcopilotkit\" target=\"_blank\">\n   Follow us on X →\n  \u003C\u002Fa>\n\n## 🙋🏽‍♂️ Contributing\n\nThanks for your interest in contributing to CopilotKit! 💜\n\nWe value all contributions, whether it's through code, documentation, creating demo apps, or just spreading the word.\n\nHere are a few useful resources to help you get started:\n\n- For code contributions, [CONTRIBUTING.md](.\u002FCONTRIBUTING.md).\n- For documentation-related contributions, [check out the documentation contributions guide](https:\u002F\u002Fdocs.copilotkit.ai\u002Fcontributing\u002Fdocs-contributions?ref=github_readme).\n\n- Want to contribute but not sure how? [Join our Discord](https:\u002F\u002Fdiscord.gg\u002F6dffbvGU3D) and we'll help you out!\n\n## 📄 License\n\nThis repository's source code is available under the [MIT License](https:\u002F\u002Fgithub.com\u002FCopilotKit\u002FCopilotKit\u002Fblob\u002Fmain\u002FLICENSE).\n","CopilotKit 是一个用于构建全栈代理应用、生成式UI和聊天应用的顶级SDK。它支持React和Angular，核心功能包括基于React的聊天界面、后端工具渲染、动态生成UI组件、共享状态以及人机协作工作流。该项目特别适合需要集成AI助手或生成式用户界面的应用场景，如智能客服系统、个性化推荐引擎等。通过采用AG-UI协议，CopilotKit能够确保与多个主流技术平台的良好兼容性。",2,"2026-06-06 02:55:32","top_language"]