OpenSource-Hub

CopilotKit

フレームワーク

CopilotKit/CopilotKit

用于构建智能体应用的全栈 SDK,支持生成式 UI。

概要

CopilotKit 是一个开源 SDK,用于构建具备生成式 UI、共享状态和人机协作工作流的智能体原生应用。支持 React、Angular、Vue 和 React Native,让智能体能够动态渲染 UI 组件。

README プレビュー

\n\n\n\n# CopilotKit\n\n\n\n[Docs](https://docs.copilotkit.ai/?ref=github_readme) ·\n[Examples](https://www.copilotkit.ai/examples) ·\n[Enterprise Intelligence Platform](https://go.copilotkit.ai/enterprise-intelligence-platform) ·\n[Discord](https://discord.gg/6dffbvGU3D?ref=github_readme)\n\n\n\nBuild **agent-native applications** — on any framework, on any surface.\n\nGenerative UI, shared state, and human-in-the-loop workflows for React, Angular, Vue, React Native — and beyond the browser.\n\n\n\n[](https://go.copilotkit.ai/copilotkit-docs)\n\n\n  \n    \n  \n\n  \n    \n  \n\n  \n    \n  \n  \n  \n  \n    \n  \n\n\n  \n      \n    \n    \n      \n    \n\n  \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\nWhat started as a React library is now a **multi-platform agentic framework**: the same agent can power your web app, your mobile app, and your team's Slack workspace.\n\nWe are the company behind the **[AG-UI Protocol](https://github.com/ag-ui-protocol/ag-ui)** - adopted by Google, LangChain, AWS, Microsoft, Mastra, PydanticAI, and more!\n\nhttps://github.com/user-attachments/assets/72b7b4f3-b6e7-460c-a932-5746fe3c8db3\n\n Add AI to your app in 1 minute\n\n**Features:**\n\n- **Chat UI** – A fully customizable 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- **Self-Learning** *(early access)* – Agents that continuously impr