Documentation
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.
Starting from scratch? Bootstrap a full-stack agent in one command:
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 Built-in Agent (TanStack AI)
We'll render every code snippet using Built-in Agent (TanStack AI). Pick up where you left off — or switch backends below or from the sidebar.
Quickstart
The Built-in Agent (TanStack AI) quickstart guide.
Browse Built-in Agent (TanStack AI) docs
Every topic rendered with Built-in Agent (TanStack AI) snippets.
Switch backend
Pick another backend and the rest of the docs will render with its code.
