Docs · Examples · CopilotKit Intelligence · Build agent-native applications — on any framework, on any surface. Generative UI, shared state, and human-in-the-loop workflows for React, Angular, Vue, React Native, and in Slack and Microsoft Teams.
> /plugin marketplace add CopilotKit/CopilotKit> /plugin install copilotkit@copilotkit-plugins
Repo: CopilotKit/CopilotKit
What's inside
Docs · Examples · CopilotKit Intelligence · Discord
Build agent-native applications — on any framework, on any surface.
Generative UI, shared state, and human-in-the-loop workflows for React, Angular, Vue, React Native, and in Slack and Microsoft Teams.
Add CopilotKit Intelligence when it goes to production: rich threads that persist with generative UI, user memories, and agents that automatically learn from real use.
CopilotKit is a best-in-class SDK for building full-stack agentic applications, Generative UI, and chat applications.
What started as a React library is now the horizontal layer between your agents and your users: the same agent can power your web app, your mobile app, and your team's Slack or Microsoft Teams workspace.
We are the company behind the AG-UI Protocol — adopted by Google, LangChain, AWS, Microsoft, Mastra, PydanticAI, and more!
Use your coding agent to add CopilotKit to your app. It will inspect your project and guide the integration.
Give your coding agent this prompt:
Help me get started with CopilotKit. From the root of my project, run this
command and follow the instructions:
npx --yes copilotkit@latest onboard start
Already using CopilotKit or just finished setup? Add our agent skills to help your coding agent build features and debug issues.
npx copilotkit@latest skills install
Scaffolds a project in its own directory. It does not modify an app you already have.
npx copilotkit@latest create
https://github.com/user-attachments/assets/7372b27b-8def-40fb-a11d-1f6585f556ad
https://github.com/user-attachments/assets/72b7b4f3-b6e7-460c-a932-5746fe3c8db3
Features:
CopilotKit Intelligence adds rich threads with generative UI, user memories, product analytics, inspection, and automatic learning to your agents. It works with your existing CopilotKit app and agent framework. Use our hosted platform or deploy it in your own infrastructure.
See the Intelligence overview for what each plan includes.
👉 Connect Intelligence in 5 minutes →
CopilotKit connects your UI, agents, and tools into a single interaction loop.
This enables:
One agent backend. Every frontend.
| Platform | Status | Get Started |
|---|---|---|
| ⚛️ React / Next.js | ✅ GA | Quickstart |
| 🅰️ Angular | ✅ Supported | Source Code & Quickstart |
| 💚 Vue | ✅ Supported | Source Code - Quickstart coming soon |
| 📱 React Native | ✅ Supported | Quickstart |
| 💬 Slack / Microsoft Teams | ✅ Supported | Channels · Quickstart |
| 💬 Discord / WhatsApp / Telegram | ✅ Channels SDK adapter (managed connection coming soon) | Channels |
| 🔜 Google Chat / iMessage / SMS | 🟡 On the roadmap | Channels |
Your agent logic stays the same — AG-UI handles the wire protocol, CopilotKit handles the UI layer for each framework and channel.
The Channels SDK takes the agent you already built and drops it into the chat apps your users live in — same tools, same shared state, same human-in-the-loop, no rewrite (Learn more).
The useAgent hook sits directly on AG-UI, giving you full programmatic control over the agent connection.
// Programmatically access and control your agents
const { agent } = useAgent({ agentId: "my_agent" });
// Render and update your agent's state
return <div>
<h1>{agent.state.city}</h1>
<button onClick={() => agent.setState({ city: "NYC" })}>
Set City
</button>
</div>
Check out the useAgent docs to learn more.
https://github.com/user-attachments/assets/67928406-8abc-49a1-a851-98018b52174f
Generative UI is a core CopilotKit pattern that allows agents to dynamically render UI as part of their workflow.
https://github.com/user-attachments/assets/3cfacac0-4ffd-457a-96f9-d7951e4ab7b6
Generative UI educational repo →
Connect agent workflows to user-facing apps, with deep partnerships and 1st-party integrations across the agentic stack—including LangChain, CrewAI, Mastra, PydanticAI, and more.
Start a new AG-UI agent app:
npx create-ag-ui-app my-agent-app
Learn more in the AG-UI README →
Showing a partial view of a very large repo.
FAQ
copilotkit is a Claude Code plugin with 8 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes channels-setup, copilotkit-channels, copilotkit-cli. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it