CopilotKit

Introduction

Bring your LlamaIndex agents to your users with CopilotKit via AG-UI.


LlamaIndex

Bring your LlamaIndex agents to your users

Give your LlamaIndex agents real user-interactivity using CopilotKit and AG-UI. Build rich, interactive, agent-powered applications.

What you can build

Build with LlamaIndex

The user-facing primitives every LlamaIndex integration ships with — pick the one that fits your product and drop the code in.

Human in the Loop

Empower users to guide agents at key checkpoints. Combine the best of AI and human judgment for more reliable and controllable agent behavior.

Shared State

Keep your agent and your app in sync. Your agent can see everything in your app, and your app can react to your agent in real-time.

How it fits together

Architecture

The shape of a CopilotKit + LlamaIndex application — from your UI down to the agent runtime.

CopilotKit LlamaIndex architecture diagram
Live example

Run LlamaIndex in your browser

Two patterns we see most often — drive a SaaS workflow, or collaborate on a canvas with your agent.

A traditional SaaS application enhanced with AI agents. These copilots integrate seamlessly into existing workflows, providing intelligent assistance for specific business processes. Perfect for customer service, sales automation, project management, and domain-specific tasks where users need guided, step-by-step AI assistance.