CopilotKit
Open-source frontend SDK for building fullstack agentic applications and generative UIs with React and Angular, backed by the AG-UI protocol.
At a Glance
About CopilotKit
CopilotKit is an open-source TypeScript/React SDK for building agent-native applications, generative UIs, and AI chat interfaces. Developed by Tawkit, Inc., it sits at the intersection of frontend development and agentic AI, providing the tooling to connect any AI agent backend to a user-facing application. The project is published under the MIT License and has accumulated over 31,000 GitHub stars as of mid-2026.
What It Is
CopilotKit is a fullstack agentic frontend framework that lets developers embed AI agents directly inside their web applications. Rather than building a standalone chatbot, developers use CopilotKit to wire agents into existing React or Angular apps so agents can render UI components, share application state, and pause for human input — all within the same product surface. The company describes it as "the enterprise agentic frontend stack."
The AG-UI Protocol
CopilotKit is the company behind the AG-UI (Agent–User Interaction) open protocol, which defines a bi-directional, real-time event stream between agentic backends and user-facing frontends. The protocol uses 16 real-time event types and is designed to replace the M×N integration problem (M agent frameworks × N frontend clients) with an M+N model. According to the CopilotKit website, AG-UI has been adopted by Google, LangChain, AWS, Microsoft, Mastra, PydanticAI, and others as first-party integrations.
Core Feature Set
The SDK ships with several distinct capabilities:
- Generative UI — Agents dynamically render developer-defined React components at runtime based on user intent and agent state, using the
useCopilotActionanduseComponenthooks. - Shared State — A synchronized state layer that both agents and UI components can read from and write to in real time via the
useAgenthook. - Human-in-the-Loop — Agents can pause execution to request user confirmation, input, or edits before continuing a workflow.
- Chat UI Components — Pre-built, customizable chat interfaces (
CopilotSidebar, etc.) with streaming support, or fully headless mode for custom builds. - Threads + Persistence — Automatic conversation threading and cross-session state persistence.
- Backend Tool Rendering — Agents call backend tools that return UI components rendered directly in the client.
Developer Setup Path
CopilotKit is designed to be added to new or existing projects with a single CLI command:
npx copilotkit@latest create
or for existing apps:
npx copilotkit@latest init
This installs core packages, configures the provider, connects agent-to-UI streaming, and prepares the app for deployment. The runtime supports LangGraph, CrewAI, Mastra, Agno, LlamaIndex, AG2, AWS Strands, Google ADK, Microsoft Agent Framework, Pydantic AI, and Vercel AI SDK as agentic backends.
Update: v1.59.3
The latest release is v1.59.3, published on June 3, 2026. The repository is actively maintained with frequent releases — the GitHub project shows 31,988 stars, 4,126 forks, and a last push date of June 4, 2026. The product direction is moving toward the Enterprise Intelligence Platform, which adds analytics, self-learning (CLHF — Continuous Learning from Human Feedback), VPC/on-prem deployment, and multimodal storage on top of the open-source core. CopilotKit also announced a $27M Series A covered by TechCrunch in May 2026, and CEO Atai Barkai published a hands-on short course on DeepLearning.AI covering generative UI with CopilotKit and AG-UI.
Community Discussions
Be the first to start a conversation about CopilotKit
Share your experience with CopilotKit, ask questions, or help others learn from your insights.
Pricing
Developer
For technical scouts. Free forever, one developer seat.
- CopilotKit Frontend SDKs
- Agentic Backend Connections
- Fully Headless UI
- Runtime-only VPC/On-Prem Deployment
- Cloud Hosting (Early access)
Pro
For small projects. Up to 5 developer seats.
- CopilotKit Frontend SDKs
- Agentic Backend Connections
- Fully Headless UI
- Runtime-only VPC/On-Prem Deployment
- Cloud Hosting (Early access)
- Thread Retention: 5 days
- Max Threads: 5,000
- Multimodal Storage: 10 GB
- Inspector
- Discord Community
Team
For growing teams. 5 seats included, self-hosting with database.
- CopilotKit Frontend SDKs
- Agentic Backend Connections
- Fully Headless UI
- Self-hosting including database
- VPC or On-Prem Deployment (+$2,500/mo)
- Cloud Hosting (Early access)
- Thread Retention: 14 days
- Max Threads: 25,000
- Multimodal Storage: 100 GB
- Inspector
- Discord Community
- Dedicated Slack Support
Enterprise
For scale deployments. Custom tailored pricing and terms.
- CopilotKit Frontend SDKs
- Agentic Backend Connections
- Fully Headless UI
- Angular Client
- VPC or On-Prem Deployment
- Cloud Hosting (Early access)
- Custom Thread Retention
- Unlimited Threads
- Custom Multimodal Storage
- Inspector
- Analytics (Early access)
- Self-Learning / CLHF (Early access)
- Discord Community
- Dedicated Slack Support
- Dedicated Engineering Support (up to 5 hrs/week)
- Service Level Agreement (SLA)
- Priority Bug Fixes
- Prioritized Roadmap Input
Capabilities
Key Features
- Generative UI — agents render React components dynamically at runtime
- Shared state between agents and UI components
- Human-in-the-loop workflows with agent pause/resume
- Pre-built customizable chat UI components (CopilotSidebar, etc.)
- Fully headless UI mode for custom builds
- Threads and cross-session persistence
- Backend tool rendering — tools return UI components
- useAgent hook for programmatic agent state access and control
- AG-UI protocol integration with 16 real-time event types
- React and Angular frontend SDK support
- Streaming-first architecture
- Inspector for debugging agent interactions
- Analytics for AI feature adoption (Enterprise)
- Self-learning / CLHF — agents improve from user feedback (Enterprise)
- VPC and on-prem deployment options
- npx CLI for quick project scaffolding
Integrations
Demo Video

