CopilotKit AI Agent

by CopilotKit• 38k•• Scanned•Claim this listing•Request removal
Design & Mediaagentagent nativeagentic aiagentsai

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

CopilotKit is an open-source ai agent by CopilotKit, written mainly in TypeScript, with 38,446 GitHub stars and the MIT license. Its code was last updated Oct 31, 2026. The latest npm release is copilotkit 4.34.0, published Nov 6, 2026, with 7,416 downloads last week.

<div align="center"> <br /> <img alt="CopilotKit" src="assets/readme/logo-light.svg#gh-light-mode-only" width="400"> <img alt="CopilotKit" src="assets/readme/logo-dark.svg#gh-dark-mode-only" width="400"> <br />

Docs · Examples · Intelligence · OpenBot · Discord

<br />

<a href="https://www.copilotkit.ai/talk-to-an-engineer?ref=github_readme"><img src="assets/readme/talk-to-an-engineer.svg" alt="Talk to an engineer" width="232" height="44"></a>

<br />

<a href="https://www.npmjs.com/package/@copilotkit/react-core"><img src="https://img.shields.io/npm/v/%40copilotkit%2Freact-core?logo=npm&logoColor=white&label=npm&color=6666fc" alt="npm version"></a> <a href="https://github.com/CopilotKit/CopilotKit/stargazers"><img src="https://img.shields.io/github/stars/CopilotKit/CopilotKit?style=flat&logo=github&logoColor=white&label=stars&color=6666fc" alt="GitHub stars"></a> <a href="https://discord.gg/6dffbvGU3D"><img src="https://img.shields.io/discord/1122926057641742418?logo=discord&logoColor=white&label=discord&color=6666fc" alt="Discord"></a> <a href="https://github.com/CopilotKit/CopilotKit/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-6666fc" alt="License: MIT"></a>

<br />

<a href="https://trendshift.io/repositories/5730"><img src="https://trendshift.io/api/badge/repositories/5730" alt="CopilotKit/CopilotKit on Trendshift" width="250" height="55"></a>

</div> <br />

CopilotKit is the open-source stack for putting AI agents in front of real users. Bring the agent you already built, on any framework, and give it chat, generative UI, shared state, and human-in-the-loop in React, Angular, Vue, React Native, Slack, and Microsoft Teams.

When it goes to production, add CopilotKit Intelligence and your agents keep getting better: conversations that pick up where users left off, memory across sessions, and Continual Learning that turns real use into Skills you review and publish.

We're also the team behind AG-UI, the open Agent–User Interaction protocol adopted by Google, Microsoft, AWS, LangChain, Mastra, PydanticAI, and more.

What's new

What's newWhat it is
🪁 CopilotKit SoarAI coworkers your company owns, running on your own servers. Powered by OpenBot. Now in early access →
🔁 Continual LearningAgents learn from full-stack trajectories (what the agent did and what your users did), captured over AG-UI.
🤖 OpenBotOpen-source AI coworkers that each get a computer of their own. MIT licensed. Source on GitHub.
🧩 AG-UI 1.0 + A2UI 1.0CopilotKit now speaks AG-UI 1.0 and the A2UI 1.0 spec for declarative generative UI.
💬 ChannelsWrite Channels JSX once. Render native Block Kit in Slack and Adaptive Cards in Microsoft Teams.

Full changelog in What's New.

Quick start

Let your coding agent do it. Paste this prompt into Claude Code, Cursor, Codex, or any coding agent running in your project. It inspects your app and walks you through the integration.

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

Start a new project. Scaffolds a fresh app in its own directory. It won't touch an app you already have.

npx copilotkit@latest create

Give your coding agent CopilotKit skills. Helps it build features and debug issues once you're set up (learn more).

npx copilotkit@latest skills install
<details> <summary><b>Prefer to wire it up by hand? Here's a Next.js app in three files.</b></summary> <br />
npm install @copilotkit/react-core @copilotkit/runtime
# .env.local
OPENAI_API_KEY=your_openai_api_key
// app/api/copilotkit/[[...slug]]/route.ts
import {
  CopilotRuntime,
  createCopilotRuntimeHandler,
  BuiltInAgent,
} from "@copilotkit/runtime/v2";

const runtime = new CopilotRuntime({
  agents: { default: new BuiltInAgent({ model: "openai:gpt-6-luna" }) },
});

const handler = createCopilotRuntimeHandler({
  runtime,
  basePath: "/api/copilotkit",
});
export { handler as GET, handler as POST, handler as PATCH, handler as DELETE };
// app/page.tsx
"use client";
import { CopilotKitProvider, CopilotSidebar } from "@copilotkit/react-core/v2";
import "@copilotkit/react-core/v2/styles.css";

export default function Page() {
  return (
    <CopilotKitProvider runtimeUrl="/api/copilotkit">
      <main>
        <h1>Your App</h1>
        <CopilotSidebar />
      </main>
    </CopilotKitProvider>
  );
}

Already running LangGraph, CrewAI, Mastra, or another framework? Swap the Built-in Agent for yours using that framework's quickstart.

</details>

https://github.com/user-attachments/assets/4af4c22a-1638-4328-add7-ede088afea64

How it works

<img alt="Your users on React, Angular, Vue, React Native, Slack and Teams connect through CopilotKit's frontend SDKs and Copilot Runtime, over AG-UI, to your agents on LangGraph, CrewAI, Mastra, Google ADK, PydanticAI and more. CopilotKit Intelligence sits underneath for production." src="assets/readme/architecture-light.svg#gh-light-mode-only" width="880"> <img alt="Your users on React, Angular, Vue, React Native, Slack and Teams connect through CopilotKit's frontend SDKs and Copilot Runtime, over AG-UI, to your agents on LangGraph, CrewAI, Mastra, Google ADK, PydanticAI and more. CopilotKit Intelligence sits underneath for production." src="assets/readme/architecture-dark.svg#gh-dark-mode-only" width="880">

Your agent handles reasoning and execution. CopilotKit turns its work into a product experience. Events stream over AG-UI, so the agent can show its work as it happens, read what the user is looking at, call tools that render UI, and pause for a person to approve the next step. Your agent logic stays the same on every surface.

What you can build

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

FeatureWhat it does
Chat componentsStart with a working chat, replace the parts you need with slots, or go fully Headless UI.
Generative UIAgents render real UI, from your own components to A2UI specs to sandboxed MCP Apps.
Shared stateOne state layer that both the agent and your UI read and write in real time.
Human-in-the-loopAgents pause for input, confirmation, or edits before they act.
Frontend toolsLet the agent take actions inside your app, with your code doing the work.
AG-UI StreamsConversations that survive reloads, devices, and sessions, with generative UI intact.
Voice and WebMCPTalk to your agent, and expose your app's actions to browser agents.
InspectorA localhost overlay that shows threads, agents, and learning as you build.

Full control with useAgent

Every component is built on hooks you can use directly. useAgent sits right on top of AG-UI and gives you programmatic control of the agent connection.

import { useAgent } from "@copilotkit/react-core/v2";

function CityPicker() {
  const { agent } = useAgent({ agentId: "my_agent" });

  return (
    <div>
      <h1>{agent.state.city}</h1>
      <button onClick={() => agent.setState({ city: "NYC" })}>Set city</button>
    </div>
  );
}

More in the programmatic control docs.

Generative UI, three ways

https://github.com/user-attachments/assets/3cfacac0-4ffd-457a-96f9-d7951e4ab7b6

TypeThe agent…Built on
Controlledpicks from components you registeredAG-UI tool calls and state
Declarativedescribes UI as a structured spec your app rendersA2UI
Open-endedships a full interface that runs in a sandboxMCP Apps

Want to go deeper? The Generative UI educational repo walks through all three.

Works with your stack

One agent backend. Every frontend.

SurfaceStatusGet started
⚛️ React / Next.js✅ GAQuickstart
🅰️ Angular✅ SupportedQuickstart
💚 Vue✅ SupportedQuickstart
📱 React Native✅ SupportedQuickstart
💬 Slack / Microsoft Teams✅ GA on cloud-hosted IntelligenceSlack · Teams
💬 Discord / WhatsApp✅ Channels SDK adaptersChannels
🔜 Google Chat / iMessage / SMS🟡 On the roadmapChannels
🪁 CopilotKit Soar, powered by OpenBot✨ Early accessGet early access

Agent frameworks. LangGraph · Deep Agents · CrewAI · Mastra · Google ADK · PydanticAI · Microsoft Agent Framework · AWS Strands · Claude Agent SDK · LlamaIndex · Agno · AG2 · A2A · or CopilotKit's Built-in Agent.

CopilotKit Intelligence

<img alt="The Continual Learning loop: users and agents work together, full-stack trajectories are captured over AG-UI, they become evidence-backed insights, you review and publish Skills, and Skill delivery brings them to the agent on the next task." src="assets/readme/learning-loop-light.svg#gh-light-mode-only" width="880"> <img alt="The Continual Learning loop: users and agents work together, full-stack trajectories are captured over AG-UI, they become evidence-backed insights, you review and publish Skills, and Skill delivery brings them to the agent on the next task." src="assets/readme/learning-loop-dark.svg#gh-dark-mode-only" width="880">

Most agents plateau at launch quality. CopilotKit Intelligence is the production layer that keeps yours improving. It works with the CopilotKit app and agent framework you already run, cloud-hosted or self-hosted on your own infrastructure.

  • Continual Learning: real use of your app becomes evidence-backed insights, then Skills you review and publish. Every learned behavior traces back to its source.
  • AG-UI Streams: conversations pick up where users left off, with messages, generative UI, and live runs restored as they were.
  • User Memories: durable facts and preferences carried across conversations, recalled semantically.
  • Product Analytics: see what users ask for, what agents do, and where people get value.
  • Channels: Slack and Microsoft Teams infrastructure for the agent you already built.
  • Self-hosted: the same platform inside your Kubernetes cluster, VPC, or air-gapped environment.

The Developer plan is free. 👉 Connect Intelligence in 5 minutes → · Compare open source and Intelligence

AI coworkers, built on CopilotKit

<img alt="The agentic product stack, bottom to top: the AG-UI protocol, the open-source CopilotKit SDKs, CopilotKit Intelligence, and on top OpenBot (MIT) and CopilotKit Soar (commercial)." src="assets/readme/stack-light.svg#gh-light-mode-only" width="880"> <img alt="The agentic product stack, bottom to top: the AG-UI protocol, the open-source CopilotKit SDKs, CopilotKit Intelligence, and on top OpenBot (MIT) and CopilotKit Soar (commercial)." src="assets/readme/stack-dark.svg#gh-dark-mode-only" width="880">

We build real products on this stack, and open-source them.

OpenBot is an open-source agent workspace for your employees. Every AI coworker gets a computer of its own, with a browser, files, and tools, and every action is decided before it happens and recorded after. Bring any AG-UI agent and any model. The source is at CopilotKit/OpenBot.

CopilotKit Soar turns that core into one business-ready product. It gives each employee an AI coworker that works in your company's tools, learns new tasks from the people it works with, and runs on your own servers. Our engineers set it up with you, then hand you the keys.

Soar is in early access today. 👉 Get early access →

<table> <tr> <td width="25%" valign="top"><b><a href="https://open.bot/?ref=github_readme">OpenBot</a></b><br /><sub>AI coworkers, each with a computer of its own.</sub><br /><br /><a href="https://github.com/CopilotKit/OpenBot"><img src="https://img.shields.io/github/stars/CopilotKit/OpenBot?style=flat&color=6666fc&label=%E2%98%85" alt="OpenBot stars"></a></td> <td width="25%" valign="top"><b><a href="https://github.com/CopilotKit/OpenDots">OpenDots</a></b><br /><sub>Always-on coworkers for text, calls, and Slack.</sub><br /><br /><img src="https://img.shields.io/github/stars/CopilotKit/OpenDots?style=flat&color=6666fc&label=%E2%98%85" alt="OpenDots stars"></td> <td width="25%" valign="top"><b><a href="https://github.com/CopilotKit/OpenMuse">OpenFuse</a></b><br /><sub>A personal agent for iOS, Android, and web.</sub><br /><br /><img src="https://img.shields.io/github/stars/CopilotKit/OpenMuse?style=flat&color=6666fc&label=%E2%98%85" alt="OpenFuse stars"></td> <td width="25%" valign="top"><b><a href="https://github.com/CopilotKit/OpenTag">OpenTag</a></b><br /><sub>An on-call triage bot for Slack and Teams.</sub><br /><br /><img src="https://img.shields.io/github/stars/CopilotKit/OpenTag?style=flat&color=6666fc&label=%E2%98%85" alt="OpenTag stars"></td> </tr> </table>

AG-UI: the Agent–User Interaction protocol

AG-UI is the open, event-based protocol that connects agents to the people using them. MCP connects agents to tools, A2A connects agents to each other, and AG-UI connects them to your users. CopilotKit is built on it, and it has first-party integrations across LangChain, CrewAI, Mastra, PydanticAI, Google ADK, AWS, Microsoft, and more.

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

👉 Explore AG-UI on GitHub →

Community

Discord · Docs · X · LinkedIn · Blog

Contributing

Thanks for your interest in contributing to CopilotKit! 💜 We value every contribution, whether it's code, docs, a demo app, or spreading the word.

License

The source code in this repository is available under the MIT License.

CopilotKit alternatives

View more →

Similar ai agents in Design & Media, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
CopilotKit (this page)
CopilotKit
38kMITOct 31, 2026Scanned, no flagged issues
Taste Skill
Leonxlnx
107kMITOct 31, 2026Scanned, no flagged issues
Archify
tt-a1i
92kApache-2.0Oct 31, 2026Scanned, no flagged issues
Hyperframes
heygen-com
77kApache-2.0Nov 1, 2026Scanned, no flagged issues
OpenMontage
calesthio
74kAGPL-3.0Oct 28, 2026Scanned, no flagged issues
Guizang Ppt Skill
op7418
29kAGPL-3.0Oct 30, 2026Scanned, no flagged issues