CopilotKit

Active
GitHub TypeScript MIT

Description

The Frontend Stack for Agents & Generative UI. React + Angular component library, makers of the AG-UI Protocol, enabling AI agents to work directly in application UIs.

Key Features

  • Chat UI — React-based chat interface with message streaming, tool calls, and agent responses
  • Generative UI — Agents dynamically generate and update UI components at runtime based on user intent
  • Shared State — Synchronized state layer that agents and UI components read/write in real time
  • Human-in-the-Loop — Agents pause execution to request user input, confirmation, or edits
  • useAgent Hook — AG-UI protocol hook for programmatic agent state access and control
  • AG-UI Protocol — Agent-user interaction protocol with integrations for LangGraph, CrewAI, and more

Use Cases

💡 Build SaaS apps with AI assistants featuring conversational interaction and dynamic UI rendering
💡 Develop enterprise Copilot products with multi-step workflows and human approval gates
💡 Create agent-powered internal tools for data querying and automated operations
💡 Build customer service chatbots with tool calls and real-time UI component rendering
💡 Embed AI agents into existing React/Angular apps to add generative UI capabilities

Quick Start

# New projects
npx copilotkit@latest create -f <framework>

# Existing projects
npx copilotkit@latest init

Related Projects