CopilotKit
Bring your agent
into any app
CopilotKit is an open-source framework that connects your app to AI agents. Add chat, interactive UI, and human approvals, with your choice of any agent backend.
Open your coding agent in your project's folder, or in an empty folder for a new app.
Build agent-powered apps
Connect your agent to your app with interactive UI, shared state, and human approvals.
Get startedRich Threads
Persist and resume rich conversations with generative UI, messages, tool activity, and app state. Import existing thread history so users can pick up where they left off.
Explore Rich ThreadsAutomatic Learning
Turn patterns from real agent conversations into skills you can review and publish. See the learning loop in an expense-review workflow.
Explore Automatic LearningStart building
Start fresh or add to your existing app. Answer a few questions, then give the setup prompt to your coding agent.
Where are you starting?
Choose an option to continue. We will tailor the setup to your starting point.
Fits the stack you already have
Choose your frontend, then explore an agent integration.