CopilotKit
SDK for developers building agent-native apps, adding chat, generative UI, shared state and human-in-the-loop across web, mobile and chat platforms.
Open Source Alternative to:

CopilotKit started as a React library and now sits as a horizontal layer between your agents and your users, so one agent backend can serve a web app, a mobile app and a team workspace. It removes the work of rebuilding a chat surface and a state bridge for every frontend you ship.
The SDK is built on AG-UI, the wire protocol the same team maintains, which carries the transport while CopilotKit supplies the interface layer for each framework. React and Next.js are generally available, with Angular, Vue, React Native, Slack and Microsoft Teams supported. The npx copilotkit create command scaffolds a working setup in minutes and needs only an LLM key.
The library groups its work into a few building blocks.
- Chat UI: a customizable interface that handles message streaming, tool calls and agent responses.
- Generative UI: agents create and update components at runtime according to user intent and agent state.
- Shared state: a synchronized layer that agents and interface components both read from and write to in real time.
- Human-in-the-loop: execution pauses so a person can confirm, edit or supply input before the agent continues.
- Channels SDK: an agent you already built drops into Slack or Microsoft Teams with the same tools and approvals.
A self-learning capability in early access lets agents improve from user interactions without fine-tuning, adapting per user and keeping threads across sessions, available in the cloud or self-hosted. Installable agent skills also teach coding assistants how to set up, integrate, debug and upgrade CopilotKit inside a project directory.
Stars
37,216Forks
4,607Last commit
5 days agoRepository age
3 yearsLicense
MITVersion
angular/v0.5.1Repository
CopilotKit/CopilotKit
Auto-fetched from GitHub .
Open source alternatives similar to CopilotKit:
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit