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

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (37.2k stars)
  • Permissive open-source license (MIT)
  • Established track record (3 years in production)

Quick Start

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

# Existing projects
npx copilotkit@latest init

Related Projects

AnythingLLM

65.5k · JavaScript
Active A+

AnythingLLM is an all-in-one AI productivity app with a self-hosted chat UI, RAG knowledge base, AI agents, and multi-model management, privacy-first with zero configuration.

chatbotragknowledge-base +3
  • · Multi-model support — Supports 30+ LLM providers including OpenAI, Anthropic, Ollama, LM Studio, and local llama.cpp models
  • · Dynamic model routing — Automatically routes conversations to the best provider and model based on user-defined rules
  • · AI Agent builder — No-code AI Agent builder with built-in tools like web browsing and MCP protocol compatibility

AstrBot

39.9k · Python
Active A

An AI Agent assistant that integrates multiple IM platforms, LLMs, plugins and AI features, supporting QQ, Telegram, Discord and more.

chatbotim-integrationmcp +2
  • · Multi-platform IM Integration — Connect QQ, WeChat Work, Feishu, DingTalk, Telegram, Slack and more via plugins
  • · LLM Conversations & Multimodal — Multi-LLM support with text dialogue, image understanding, and multimodal capabilities
  • · Agent & MCP Protocol — Built-in agent orchestration and MCP protocol support for tool calls and skill chaining