CopilotKit/CopilotKit

▲ 37 stars today★ 37,506⑂ 4,655

The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Protocol

About CopilotKit/CopilotKit

CopilotKit/CopilotKit is an open-source project on GitHub, mainly written in TypeScript. The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Protocol It currently holds 37,506 stars and 4,655 forks with 284 open issues, and was last pushed on 2026-09-23 (repository created 2023-06-19).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #86 with 37 new stars today.

GitHub Repository Details

Repository CopilotKit/CopilotKit · default branch main · size 862728 KB · watchers 183 · source: GitHub REST API and repository README

README

https://github.com/CopilotKit/CopilotKit/blob/HEAD/FavIcon

CopilotKit

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.

Bring Your Own Agent. Any Channel. — CopilotKit and AG-UI connect any agent framework to Slack, Microsoft Teams, Discord, WhatsApp, and Telegram, with more channels on the roadmap.

https://github.com/CopilotKit/CopilotKit/blob/HEAD/NPM

https://github.com/CopilotKit/CopilotKit/blob/HEAD/License: MIT

https://github.com/CopilotKit/CopilotKit/blob/HEAD/Discord


https://github.com/CopilotKit/CopilotKit/blob/HEAD/CopilotKit%2FCopilotKit | Trendshift

---

What is CopilotKit?

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!

Quick Start

Setup with your coding agent

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

Want to use our agent skills?

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

Start a new project

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

What you can build

https://github.com/user-attachments/assets/72b7b4f3-b6e7-460c-a932-5746fe3c8db3

Features:

🪁 CopilotKit Intelligence

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 →

How it works

CopilotKit connects your UI, agents, and tools into a single interaction loop.

How CopilotKit connects your UI, your agents, and your tools in one loop

This enables:

🧩 Works With Your Stack

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.

💬 Channels: One Agent, Every Chat App

https://github.com/CopilotKit/CopilotKit/blob/HEAD/Write it once, run every 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).

👉 Explore Channels →

⭐️ useAgent Hook

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

{agent.state.city}

agent.setState({ city: "NYC" })}> Set City

Check out the useAgent docs to learn more.

https://github.com/user-attachments/assets/67928406-8abc-49a1-a851-98018b52174f

Generative UI

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

Compare the Three Types

https://github.com/CopilotKit/CopilotKit/blob/HEAD/The three generative UI types compared

Explore:

Generative UI educational repo →

🖥️ AG-UI: The Agent–User Interaction Protocol

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.

AG-UI

Start a new AG-UI agent app:

npx create-ag-ui-app my-agent-app

Learn more in the AG-UI README →

🤝 Community

Have questions or need help?

Join our Discord →
Read the Docs →
Try CopilotKit Intelligence →

Stay up to date with our latest releases!

Follow us on LinkedIn →
Follow us on X →

🙋🏽‍♂️ Contributing

Thanks for your interest in contributing to CopilotKit! 💜

We value all contributions, whether it's through code, documentation, creating demo apps, or just spreading the word.

Here are a few useful resources to help you get started:

📄 License

This repository's source code is available under the MIT License.

GitHub Stars & Activity

37,506Stars
4,655Forks
284Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars37,506
Forks4,655
Open issues284
Primary languageTypeScript
LicenseMIT
Stars gained today37
Created2023-06-19
Last pushed2026-09-23

Trending History

Daily boardrank #86 · ▲ 37 stars

Related GitHub Projects

1

thedotmack / claude-mem

TypeScript★ 94,550⑂ 8,360▲ 96 stars
2

code-yeongyu / oh-my-openagent

TypeScript★ 69,330⑂ 5,716▲ 47 stars
3

can1357 / oh-my-pi

TypeScript★ 32,992⑂ 3,501▲ 405 stars
4

browserbase / stagehand

TypeScript★ 25,321⑂ 1,728▲ 322 stars
5

Open-Dev-Society / OpenStock

TypeScript★ 18,740⑂ 2,283▲ 379 stars
6

dream-num / univer

TypeScript★ 16,246⑂ 1,432▲ 1,140 stars
7

XiaomiMiMo / MiMo-Code

TypeScript★ 13,439⑂ 1,391▲ 87 stars
8

opengeos / GeoLibre

TypeScript★ 7,614⑂ 815▲ 42 stars

More Trending Repositories