CopilotKit

The frontend stack for agentic user experience.

Build production chat, generative UI, shared state, and human-in-the-loop workflows on any AG-UI compatible backend.

Build agents that get smarter with every use.

Rich Threads keep messages, generative UI, and tool activity available across sessions and devices.

Learning turns real usage into skills that improve your agent.

Build a new agent or bring one you already have. Any frontend, any backend.

Build your agent's user experience

Pick the UI primitive that matches the product surface you are building.

Build with any agent backend

Start with CopilotKit's default agent or open the docs for a partner framework.