# CopilotKit/CopilotKit

The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more.  Makers of the AG-UI Protocol

Repository: https://github.com/CopilotKit/CopilotKit
Canonical: https://ross.abutalabs.com/products/copilotkit
Homepage: https://docs.copilotkit.ai
Language: TypeScript
License: MIT
License Family: permissive
Topics: ai, llm, nextjs, open-source, react, reactjs, ts, typescript, agent, agents, ai-agent, ai-assistant, assistant, copilot, copilot-chat, agent-native, agentic-ai, assistant-chat-bots, generative-ui, js
Last push: 2026-08-27T00:05:31+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 83
- inputs: {"age_days": 1171, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 318}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 37065, forks 4582 (observed 2026-08-28T04:12:01.296021+00:00)

## What it is
CopilotKit is an open-source frontend SDK for building agent-native applications with generative UI, shared state, chat interfaces, and human-in-the-loop workflows. It connects any AG-UI-compatible agent backend (LangChain, Claude Agent SDK, PydanticAI, etc.) to React, Angular, Vue, React Native, Slack, and Microsoft Teams surfaces.

## Use cases
- add an ai chat copilot to my react app
- render agent tool calls as react components in the ui
- build a chatbot ui connected to my langchain agent
- let ai agents share state with my frontend
- add human-in-the-loop approval to agent workflows
- expose my agent in slack or microsoft teams
- build generative ui with claude agent sdk

## When to choose
- you want production-ready chat or generative UI components wired to your own agents
- you need one agent to reach web, mobile, and messaging surfaces
- you want frontend tools, shared state, and human-in-the-loop out of the box
- you use an AG-UI-compatible agent framework like LangChain, Claude SDK, or PydanticAI

## When to avoid
- you only need a raw LLM API client without UI components
- you are not using React-family or supported frontend frameworks
- you want a fully self-contained agent runtime with no external service dependency
- you need a non-JavaScript frontend stack

## Facets
- artifact type: framework
- maturity: active
- function: agent-framework, chat-interface, ui-components, frontend-framework, state-management, mcp, rag
- domain: large-language-models, frontend, web-development, chatbots, developer-tools
- platform: cross-platform
- tags: generative-ui, ag-ui-protocol, human-in-the-loop, copilot, ai-assistant, nextjs, angular, react-native, slack, microsoft-teams, ai-agents, react, typescript, nodejs, web-server, mobile

## Member repositories
- CopilotKit/CopilotKit (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:01.296021+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:25:40.969652+00:00, confidence not recorded.
  - readme: https://github.com/CopilotKit/CopilotKit (fetched 2026-08-28T04:12:01.296021+00:00, sha 0e08274e2d5b)
  - homepage: https://docs.copilotkit.ai (fetched 2026-08-29T07:47:38.080738+00:00, sha 11ecc17a4c27)
  - site_page: https://docs.copilotkit.ai/quickstart (fetched 2026-08-29T07:47:38.160222+00:00, sha c1caa6bf5bdb)
  - site_page: https://docs.copilotkit.ai/claude-sdk-python (fetched 2026-08-29T07:47:38.218346+00:00, sha 16819fbad1f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
