Skip to content
FossShelf
Home / Categories / For AI Engineers

CopilotKit

Add in-app AI copilot chat and actions to any React application

Replaces Vercel Ai Sdk, Microsoft Copilot Studio, Google Vertex Ai Agent Builder

38.74K starsMITreviewed 25 May 2025last commit 13 Nov 2026
Screenshot of CopilotKit

Who it's for

SaaS teams adding an in-app copilot

Use CopilotKit to wire chat, state, and tool actions into an existing React or Angular product.

Skip if your AI feature is only a backend batch job with no user-facing assistant.

Agent teams building generative UI

Use shared state and generative UI patterns when agents need to change interface elements during work.

Skip if plain chat completion is enough.

The problem

Embedding AI into an app takes more than streaming text from an LLM. The assistant needs UI state, tool calls, confirmation flows, generated interface updates, and a frontend that feels native to the product.

How it works

Agent-native UI components

CopilotKit provides chat UI, message streaming, tool calls, and agent responses for frontend applications.

Generative UI and shared state

Agents can generate and update UI components dynamically while reading and writing shared application state.

Human-in-the-loop workflows

The README describes flows where agents pause to request user input, confirmation, or edits before continuing.

Features

  • Agent-native UI components
  • Generative UI and shared state
  • Human-in-the-loop workflows

How to install

Start with the official CopilotKit scaffold when you want a frontend wired to an AG-UI compatible backend quickly.

npx copilotkit@latest create

After the scaffold finishes, add your model provider key and connect the generated app to the agent runtime you want to use.

Recommended for this setup

Strengths

  • Purpose-built for in-app copilots: CopilotKit handles app context, frontend components, and agent interaction patterns that generic LLM APIs leave to the product team.
  • MIT-licensed React and Angular stack: The MIT license makes it practical for commercial product teams building assistant interfaces into their own apps.

Trade-offs

  • Frontend-focused layer: CopilotKit helps build the user-facing agent experience, but teams still need model providers, backend tools, permissions, and production safety design.

Tech stack

Languages
TypeScript, Python, MDX, JavaScript, C#, Shell, CSS, Ruby, Vue, Java, HTML, Go, Dockerfile, Dart, Swift, Kotlin, Objective-C
Frameworks
Next.js, React
Databases
—
Tooling
—

FAQ

What is CopilotKit?

CopilotKit is an SDK for building agentic applications, generative UI, and chat features in frontend apps.

What frameworks does CopilotKit target?

The README positions CopilotKit for React and Angular applications.

What does CopilotKit replace?

CopilotKit replaces custom in-app AI assistant plumbing around chat UI, shared state, tool rendering, and confirmation flows.

Similar tools

More in AI Engineers