CopilotKit - frontend stack for building AI agents into apps

CopilotKit is the frontend stack for agents: libraries and the AG-UI protocol that connect LLMs or agents to users inside real apps, with generative UI, shared state and self-hosting.

Best for
Agents inside your product
Key capability
Frontend SDKs
Screenshot of CopilotKit AI assistant interface

What is CopilotKit?

CopilotKit is a frontend stack for building AI agents into real applications. Its frontend libraries and the AG-UI protocol connect a user-facing app to any agentic backend, so an agent can render generative UI with the app’s own components, act through APIs, tools or the frontend, and learn from user interactions.

Screenshot of CopilotKit AI assistant interface

Key features of CopilotKit

CopilotKit offers frontend support for React, Angular, Vue, iOS and Android, agentic backend connections through AG-UI, generative UI and chat components, human-in-the-loop approvals, shared state, channels such as Slack and Teams and automatic learning.

Frontend SDKs

Drop in a ready-made agent interface, adapt it with your design system, or build with headless APIs for full programmatic control.

AG-UI protocol

A general-purpose, bi-directional connection between a user-facing application and any agentic backend.

Generative UI and in-app actions

The agent returns real charts or forms rendered with your components and can act through your APIs, MCP tools or frontend.

Automatic learning

Every interaction becomes a signal, and the agent improves as people use it.

Self-hosting and auditability

Self-host the open-source SDK and the enterprise runtime, or use the managed Cloud, with a complete record of every action.

Pros and cons of CopilotKit

Pros

  • Open-source SDK that can be self-hosted
  • Works with many agent frameworks through AG-UI
  • Ready-made components or fully headless APIs
  • Bring your own database
  • Free forever Developer plan

Cons

  • Analytics and self-learning are early access features of the Enterprise plan
  • Developer and Pro plans offer VPC or on-prem deployment for the runtime only
  • Developer plan limited to one developer and 3 days of thread retention

Key use cases for CopilotKit

Agents inside your product

Embed a SaaS agent in your product that acts on the same live screen as your users.

Company knowledge base

Search, analyze and act on company knowledge.

Agents in Slack and Teams

Slack, Teams and text-messaging agents that work in channels your team already uses.

Customer support

Resolve issues with a clear human handoff.

Product insights for agents

See what users try, where they succeed, where they struggle and what to improve next.

How CopilotKit works

  1. 1

    Choose a user surface

    Build for web frameworks such as React, Angular or Vue, mobile apps, or channels like Slack, Teams and WhatsApp.

  2. 2

    Connect your agent

    Agent frameworks such as LangChain, Mastra or the OpenAI Agents SDK connect through AG-UI.

  3. 3

    Pick capabilities

    Add chat UI, generative UI, HITL approvals, frontend tools, user auth and shared state.

  4. 4

    Ship and learn

    The agent improves from real user interactions while every action stays auditable.

  5. 5

    Self-host or use the Cloud

    Run the open-source SDK and runtime on your own infrastructure or use the managed Cloud.

Who is using CopilotKit

Developers building agentic applications
Product teams
Enterprises
Development agencies
Technical educators

CopilotKit pricing

Plans and prices are as published by the vendor and can change. Check the official site before you buy. Open the pricing page (opens in a new tab)

Frequently asked questions about CopilotKit

AG-UI is the general-purpose, bi-directional connection between a user-facing application and any agentic backend.

React, Angular, Vue, iOS and Android, plus channels such as Slack, Teams and WhatsApp.

Frameworks including the OpenAI Agents SDK, Claude Agent SDK, LangChain, Google ADK, AWS Strands and Mastra.

Yes. You can self-host both the open-source SDK and the enterprise runtime, or use the managed Cloud.

The Developer plan is free forever for one developer; Pro, Team and Enterprise plans add limits, seats and support.

Your data stays yours whether you self-host or use Copilot Cloud, and everything persists in the database you already run.

Yes. It can act through your APIs and MCP tools, or directly in your frontend.

Conclusion

AI agents embedded in real applications are the focus, not code writing: the product combines frontend SDKs with the AG-UI protocol, a bi-directional connection between a user-facing app and any agentic backend. Inside the app, the agent can answer with a chart or form rendered from the product’s own components and act through its APIs, MCP tools or frontend. Teams can start from a ready-made interface or go fully headless, and React, Angular, Vue and mobile apps sit alongside Slack and Teams as surfaces.

On the backend side, frameworks such as LangChain, Mastra and the OpenAI Agents SDK connect through AG-UI. The open-source SDK and the enterprise runtime can be self-hosted with data kept in an existing database, or run on the managed Cloud. A free Developer plan covers one developer, while thread limits, seats and support grow on the paid tiers, and analytics and self-learning remain early access features on Enterprise.

Sources

Share CopilotKit:

No reviews yet

Be the first to share how this tool worked for you.

Featured on TiorAI

Show your visitors that your tool is listed on TiorAI.

CopilotKit — featured on TiorAI

For white and near-white backgrounds.

Badge style
<a href="https://tiorai.com/tools/copilotkit/"><img src="https://tiorai.com/wp-content/themes/tiorai/assets/images/badge/featured-on-tiorai-light.svg" alt="CopilotKit — featured on TiorAI" width="260" height="76" loading="lazy" style="max-width:100%;height:auto" /></a>

How to install it
  1. Pick the style that suits the background it will sit on.
  2. Copy the snippet and paste it into your footer, press page or integrations page.
  3. Nothing else is needed — the badge is a single image and requires no script on your site.
Do you recommend this?