Welcome to CopilotKit
CopilotKit is the frontend stack for agents and generative UI. Connect any agent framework or model to your React app for chat, generative UI, canvas apps, and human-in-the-loop workflows.
npx copilotkit@latest createConcepts
Architecture, gen UI types, OSS vs Enterprise.
API Reference
Hooks, components, and config.
Generative UI
Render tools as React components.
Continue with CopilotKit's Built-in Agent
We'll render every code snippet using CopilotKit's Built-in Agent. Pick up where you left off — or switch backends below or from the sidebar.
Switch backend
Pick another backend and the rest of the docs will render with its code.
