Docs · Examples · Enterprise Intelligence Platform · 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 beyond the browser.
> /plugin marketplace add CopilotKit/CopilotKit> /plugin install copilotkit@copilotkit-plugins
Repo: CopilotKit/CopilotKit
What's inside
Docs · Examples · Enterprise Intelligence Platform · 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 beyond the browser.
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 a multi-platform agentic framework: the same agent can power your web app, your mobile app, and your team's Slack workspace.
We are the company behind the AG-UI Protocol - adopted by Google, LangChain, AWS, Microsoft, Mastra, PydanticAI, and more!
Up and running in under five minutes. All you need is an LLM key (OpenAI, Anthropic, Gemini, etc.).
npx copilotkit@latest create
CopilotKit ships agent skills that teach your coding agent (Claude Code, Codex, Cursor, Gemini, and others) how to set up, build with, integrate, debug, and upgrade CopilotKit.
Install them into any project directory:
npx copilotkit@latest skills install
Run it again any time to refresh to the latest skills.
https://github.com/user-attachments/assets/72b7b4f3-b6e7-460c-a932-5746fe3c8db3
Features:
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 / MS Teams / Discord / Google Chat | 🟡 Beta | Request early access |
Your agent logic stays the same — AG-UI handles the wire protocol, CopilotKit handles the UI layer for each framework.
Your agents can run and generate Generative UI beyond the web app (Learn more).
CopilotKit now lets you deploy the same agent to the places your users already work:
🔒 Early access: We're onboarding teams now.
Improve your product by learning over time.
With Continuous Learning from Human Feedback (CLHF), part of the CopilotKit Intelligence Platform, agents improve with every interaction:
Available via CopilotKit Cloud or self-hosted.
🔒 Early access: We're onboarding teams now.
https://github.com/user-attachments/assets/7372b27b-8def-40fb-a11d-1f6585f556ad
What this gives you:
Complete getting started guide →
CopilotKit connects your UI, agents, and tools into a single interaction loop.
This enables:
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.
npx create-ag-ui-app my-agent-app
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:
For code contributions, CONTRIBUTING.md.
For documentation-related contributions, check out the documentation contributions guide.
Want to contribute but not sure how? Join our Discord and we'll help you out!
This repository's source code is available under the MIT License.
.browserslistrc
.changeset/
enable-mcp-apps-tool-filters.md
.claude/
.claude-plugin/
marketplace.json
plugin.json
docs/
architecture.md
documentation.md
git.md
hooks.md
workflow.md
.cursor/
rules/
agent-development.mdc
copilotkit-architecture.mdc
development-workflow.mdc
examples-and-demos.mdc
frontend-development.mdc
quick-reference.mdc
suggestions-development.mdc
working-with-rules.mdc
.dockerignore
.gitattributes
.github/
CODEOWNERS
config-allowlist.txt
ISSUE_TEMPLATE/
1-bug-report.yml
2-feature-request.yml
3-documentation.yml
config.yml
issue_template.md
PULL_REQUEST_TEMPLATE.md
scripts/
check-config-allowlist.sh
workflows/
auto_merge_showcases.yml
canary.yml
cleanup_pr-caches.yml
ghcr_unlinked_packages.yml
integrations_parity.yml
lint-release-workflows.yml
plugin-skills-check.yml
publish-commit.yml
publish-release.yml
security_fork-pr-alert.yml
security_zizmor.yml
showcase_autoupdate_drift.yml
showcase_build_check.yml
showcase_build.yml
showcase_capture-previews.yml
showcase_deploy.yml
showcase_eval_check.yml
showcase_eval-webhook_build.yml
showcase_eval.yml
showcase_keep-alive.yml
showcase_lint_prod.yml
showcase_promote_notify.dry-run.sh
showcase_promote_notify.yml
showcase_promote.yml
showcase_reconcile_staging.yml
showcase_reconcile.yml
showcase_validate-wiring.yml
showcase_validate.yml
stable-release.yml
static_bundle_size.yml
static_check-binaries.yml
static_compat.yml
static_danger.yml
static_quality.yml
telemetry-docs-fragment.yml
telemetry-runtime-fragment.yml
test_e2e-dojo.yml
test_e2e-legacy-v1.yml
test_e2e-showcase-on-demand.yml
test_integration-docs.yml
test_integration-runtime.yml
test_showcase-frontend-matrix.yml
test_smoke-starter.yml
test_unit-python-sdk.yml
test_unit-showcase.yml
test_unit-spring-ai.yml
test_unit.yml
update-branch.yml
zizmor.yml
.gitignore
.kodiak.toml
.mcp.json
.npmrc
.nvmrc
.oxfmtrc.json
.oxlintrc.json
.pnpmfile.cjs
.superset/
config.json
AGENTS.md
assets/
animated-banner.gif
CopilotTextarea_old.gif
CopilotTextarea.gif
demo.gif
license-badge.svg
proejct-perplexity-clone.png
project-canvas-demo.png
spreadsheet-demo-big-file.gif
travel-planner-gif.gif
changelog.txt
CLAUDE.md
CODE_OF_CONDUCT.md
codemods/
__tests__/
migrate-attachments.test.ts
migrate-attachments.ts
commitlint.config.js
community/
content/
CONTRIBUTING.md
README.md
TEMPLATE.md
demos_2024/
anshuman-language-translator.md
anshuman-recipe-modifier.md
anshumanrai-Cutom-Content.md
cal-buddy.md
code-snippet-generator.md
content-summary-tool.md
cookbook.md
copilotkit-browser-extension.md
copilotkit-task-manager.md
Copilotkit-weather-bot.md
copilotmate.md
daily-quote-app.md
daily-quote-generator.md
Email-Organizer.md
emotion-reads.md
event-management.md
EventPlanner.md
EventTimer.md
example-template.md
expense-tracker.md
financial-tracker.md
Flashcards_Quiz_ai.md
github-pull-request-tracker.md
habittracker.md
language-translator.md
legal-document-reviewer.md
mayank_news_generator.md
mayank-mohapatra-language-translator.md
mayank-receipe-generator.md
mayankmohapatra-Custom-Content.md
meal-prep-planner.md
Meditation Companion.md
mini-faq-bot.md
movie-bot.md
movie-suggestion-bot.md
music_lyrics_finder.md
music-lyric-finder.md
news-aggregator.md
priority-todolist.md
priyanshu-language-translator.md
priyanshu-new-aggregrator.md
quizflip.md
Recipe_Generator.md
Recipe-Modifier.md
snippetsorcerer.md
snippy.md
stocks-assistent.md
study-buddy.md
study-sphere.md
summarify.md
SwiftSupport.md
task-manager.md
TravelTally.md
VedantCustomContent.md
demos_2025/
email-summarizer.md
examples.md
femtracker-agent.md
finance_ai.md
meal-planner-direct-to-llm.md
meal-planner.md
CONTRIBUTING.md
dangerfile.js
deploy-starter.sh
dev-docs/
architecture/
ARCHITECTURE.md
multi-agent.md
plugin-points.md
setup-angular.md
setup-intelligence.md
setup-react.md
setup-runtime.md
setup-vanilla.md
browser-compat.md
bundle-size.md
langgraph-python-column-wave1-bugs.md
docs
examples/
canvas/
gemini/
.gitignore
agent/
main.py
poetry.lock
posts_generator_agent.py
prompts.py
pyproject.toml
README.md
stack_agent.py
app/
api/
copilotkit/
route.ts
contexts/
LayoutContext.tsx
globals.css
layout.tsx
page.tsx
post-generator/
page.tsx
prompts/
prompts.ts
stack-analyzer/
page.tsx
wrapper.tsx
assets/
example1.gif
example2.gif
components/
components.json
theme-provider.tsx
ui/
accordion.tsx
alert-dialog.tsx
alert.tsx
aspect-ratio.tsx
avatar.tsx
badge.tsx
breadcrumb.tsx
button.tsx
calendar.tsx
card.tsx
carousel.tsx
chart.tsx
checkbox.tsx
collapsible.tsx
command.tsx
context-menu.tsx
dialog.tsx
drawer.tsx
dropdown-menu.tsx
form.tsx
hover-card.tsx
input-otp.tsx
input.tsx
label.tsx
linkedin-post.tsx
menubar.tsx
navigation-menu.tsx
pagination.tsx
popover.tsx
progress.tsx
radio-group.tsx
resizable.tsx
scroll-area.tsx
select.tsx
separator.tsx
sheet.tsx
sidebar.tsx
skeleton.tsx
slider.tsx
sonner.tsx
stack-analysis-cards.tsx
switch.tsx
table.tsx
tabs.tsx
textarea.tsx
toast.tsx
toaster.tsx
toggle-group.tsx
toggle.tsx
tool-logs.tsx
tooltip.tsx
use-mobile.tsx
use-toast.ts
x-post.tsx
hooks/
use-mobile.ts
use-toast.ts
lib/
utils.ts
next-env.d.ts
next.config.mjs
package.json
pnpm-lock.yaml
postcss.config.mjs
public/
favicon.ico
placeholder-logo.png
placeholder-logo.svg
placeholder-user.jpg
placeholder.jpg
placeholder.svg
README.md
scripts/
setup-agent.bat
setup-agent.sh
styles/
globals.css
tsconfig.json
langgraph-python/
.env.local.example
.gitignore
agent/
.env.example
.gitignore
agent.py
langgraph.json
requirements.txt
LICENSE
next.config.ts
package.json
postcss.config.mjs
public/
file.svg
globe.svg
next.svg
vercel.svg
window.svg
README.md
scripts/
setup-agent.bat
setup-agent.sh
src/
app/
api/
copilotkit/
route.ts
favicon.ico
globals.css
layout.tsx
page.tsx
components/
canvas/
AppChatHeader.tsx
CardRenderer.tsx
ItemHeader.tsx
NewItemMenu.tsx
empty-state.tsx
ui/
accordion.tsx
alert-dialog.tsx
alert.tsx
aspect-ratio.tsx
avatar.tsx
badge.tsx
breadcrumb.tsx
button.tsx
calendar.tsx
card.tsx
carousel.tsx
chart.tsx
checkbox.tsx
collapsible.tsx
command.tsx
context-menu.tsx
dialog.tsx
drawer.tsx
dropdown-menu.tsx
form.tsx
hover-card.tsx
input-otp.tsx
input.tsx
label.tsx
menubar.tsx
navigation-menu.tsx
pagination.tsx
popover.tsx
progress.tsx
radio-group.tsx
resizable.tsx
scroll-area.tsx
select.tsx
separator.tsx
sheet.tsx
sidebar.tsx
skeleton.tsx
slider.tsx
sonner.tsx
switch.tsx
table.tsx
tabs.tsx
textarea.tsx
toast.tsx
toaster.tsx
toggle-group.tsx
toggle.tsx
... 1600 moreShowing a partial view of a very large repo.
FAQ
copilotkit is a Claude Code plugin with 17 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes a2ui-renderer, react-core, runtime. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.