mrkeyoor.com_
Tue 01 Sept 16:19 UTC
AI Toolsevaluationupdated 26 Aug 2026

CopilotKit review

CopilotKit is a TypeScript toolkit for putting an agent inside a web, mobile, Slack, or Microsoft Teams interface. It provides chat components, shared state, tool rendering, generated UI, and approval flows so a product team does not have to build the agent-facing layer from scratch.

+94stars / 7d
Verdict

Our CopilotKit install took 275 seconds and 3,935 MB, then both the build and test commands exited 130, so adopting it means accepting a large, fast-moving platform rather than adding a small chat widget. It is a serious candidate for React products that need shared state, rendered tools, and human approval in the interface. Start with one real workflow and verify every side effect before expanding it to another framework or channel.

We ran it

Lab card: what happened when we ran CopilotKitScreenshot of CopilotKit (docs.copilotkit.ai)
Install✓ · 275s4602 packages · 3935 MB
Build✗ · 29s
Tests✗ · 17s300 passed · 0 failed of 300 (vitest)
Repo20669 files~2,011,714 lines of source · 159.4 MB · 51 CI workflows

Answers from our run

Does CopilotKit build from source?

Dependencies installed in 275 seconds (4602 packages), and the build failed. We cloned commit 47c5510 into a clean Debian container with 3 CPUs and no project-specific setup.

Do CopilotKit's tests pass?

Yes: 300 of 300 passed when we ran the project's own test command (vitest). Some failures need services or credentials a bare container does not have.

Who should not use CopilotKit?

Small apps that only need a text box and streamed tokens: our install pulled 4,602 packages and occupied 3,935 MB for a much wider platform.

What are the alternatives to CopilotKit?

assistant-ui, Vercel AI SDK, AG-UI. Our CopilotKit install took 275 seconds and 3,935 MB, then both the build and test commands exited 130, so adopting it means accepting a large, fast-moving platform rather than adding a small chat widget.

Setup2/5275-second install; build and test commands exited 130
Docs4/5Clear concepts and status table, but Vue guidance is unfinished
Community5/537,058 stars with a same-day push and active issue traffic
Maturity3/5Wide shipped surface, with approval and channel gaps reported

Discussed on

  1. hnShow HN: CopilotKit- Build in-app AI chatbots and AI-powered textareas197 points
  2. hnShow HN: The Channels SDK – Bring Any Agent to Any Channel (Slack, MS Teams)121 points
  3. hnOpenTag: An open-source alternative to Claude in Slack15 points
  4. hnShow HN: CopilotKit v1.0 (MIT) – a framework for building in-app AI copilots12 points
  5. hnShow HN: Open Bot – an open-source Grok Bot that works with any agent harness12 points

Who it’s for

React and Next.js teams building an agent into an existing product interface.
Developers who need agent state, tool calls, and approval steps to appear in the UI.
Teams with an AG-UI-compatible agent backend that want maintained frontend packages.
Product groups prepared to test their model provider, framework, and CopilotKit upgrades together.

Who it’s NOT for

Small apps that only need a text box and streamed tokens: our install pulled 4,602 packages and occupied 3,935 MB for a much wider platform.
Vue teams that need a complete guided path today: the README marks Vue supported but says its quickstart is still coming.
Teams targeting Discord, WhatsApp, Telegram, Google Chat, iMessage, or SMS now: the README labels all 6 channels as coming soon.
Angular teams that cannot independently verify approval-gated actions: open issue #6571 reports a human answer losing its tool name and the gated action being skipped.
Slack teams that require scheduled agent turns through a public API: open issue #6709 says the channel package only starts turns from real inbound platform events.

Setup reality

Our sandbox installed 4,602 pnpm packages in 275 seconds and used 3,935 MB. The build exited 130 after 29 seconds, with @copilotkit/a2ui-renderer, @copilotkit/shared, and @copilotkit/web-components listed as failed tasks. Tests also exited 130 after 17 seconds, although Vitest reported 300 passed and 0 failed.

The README's quick start needs an LLM key from OpenAI, Anthropic, Gemini, or another provider. A working product also needs an agent backend, framework packages, tool definitions, and decisions about state and human approval points. Slack or Microsoft Teams adds that platform's application configuration.

The repository path is heavier than the scaffold command suggests. CONTRIBUTING asks for Node 20 or later and pnpm 9, while package metadata names pnpm 10.33.4 and allows Node 18 or later. Windows contributors must enable Developer Mode for symlinks.

CopilotKit turns agent events into product UI

CopilotKit connects an agent backend to 4 frontend families: React, Angular, Vue, and React Native. It can stream chat, expose application state to an agent, display tool calls, render generated components, and stop a workflow for human input. AG-UI carries the events between the backend and interface. The useful distinction is that CopilotKit handles interaction state and rendered actions, not only text completion.

That scope suits products where the agent changes what the user sees or does. A support agent can ask for confirmation before a backend action, while a research agent can return a purpose-built result instead of a long message. The cost appeared in our clean checkout: 20,669 files, about 2,011,714 source lines, and 159.4 MB before dependencies. A simple assistant panel rarely needs this much surface area.

React is GA, while Vue still lacks its quickstart

The README labels React and Next.js generally available. Angular, Vue, and React Native are supported, but their onboarding is uneven. Vue links to source code and says its quickstart is coming soon. Teams choosing CopilotKit because it claims several frameworks should assess the exact package they intend to ship, since a status label does not guarantee the same documentation or examples.

Slack and Microsoft Teams are the 2 supported chat channels in the table. Discord, WhatsApp, Telegram, Google Chat, iMessage, and SMS are all marked coming soon. The Channels SDK is relevant for an internal workflow that must appear in both a browser and company chat, but those 6 future entries should carry no weight in a decision today.

Human approval needs its own integration test

Open issue #6571, filed August 19, 2026, describes a serious Angular and LangGraph failure mode. The report says an incoming human answer lacked ToolMessage.name, so routing by tool identity fell through, the gated action never ran, and the model said it had completed. That is one reported integration path, not proof that every approval flow fails. It is still enough reason to test the side effect and its audit record rather than trust the visible confirmation.

Scheduled Slack work has a separate limit. Issue #6709 says version 0.8.0 of the channel packages has no public route for starting a proactive agent turn without a real inbound Slack event. The reporter found internal pieces but could not seed the conversation through a supported API. A bot that only responds to users is unaffected. Reminder bots, scheduled reports, and cron-driven agents should confirm that issue is resolved before committing to the channel layer.

What happened when we ran it

Our sandbox installed CopilotKit at commit 47c5510 in 275 seconds. Pnpm added 4,602 packages and the environment occupied 3,935 MB. The unprivileged Debian container had Node 22, 3 CPUs, 8 GB of RAM, and no secrets. Installation succeeded, so the first failure came after dependency resolution rather than during it.

The top-level build exited 130 after 29 seconds. Its final summary listed @copilotkit/a2ui-renderer:build, @copilotkit/shared:build, and @copilotkit/web-components:build as failed tasks. The tail also named other scheduled package builds, but it did not provide an error that establishes why those 3 tasks failed. We cannot tell from this log whether the cause was code, the container, or an unstated requirement.

Tests exited 130 after 17 seconds and repeated the same 3 failed build tasks. Vitest itself reported 300 passed and 0 failed of 300. That distinction matters: we saw no failed assertion in the supplied summary, yet the repository's test command still failed overall. A CI policy based only on the green Vitest count would miss the nonzero command result.

The repository setup is not the five-minute scaffold

The README says npx copilotkit@latest create can get an application running in under 5 minutes, provided the developer has an LLM key. That is a scaffold claim, while our run exercised the complete monorepo. A production integration also needs an agent runtime, provider credentials, tool schemas, application state rules, and explicit approval boundaries. Slack and Teams require their own app setup.

Contributor prerequisites deserve a check before cloning. CONTRIBUTING asks for Node 20 or later and globally installed pnpm 9. The root package metadata allows Node 18 or later but pins the package manager to pnpm 10.33.4. Windows also needs Developer Mode for the symlinks used by standalone Next.js builds. Those are manageable requirements, although the version mismatch makes the repository instructions less precise than the app quick start.

Same-day code and releases show an active project

GitHub showed 37,058 stars and 367 open issues and pull requests when fetched on August 26, 2026. The repository was pushed that day, and release v1.69.2 was published the same day. The combined open count is not a bug count. Together with current issue updates, it shows an active codebase with a large public work queue.

Pick CopilotKit for interface-level agents

The 4,602-package install is defensible when an agent must share product state, render actions, and wait for a person inside the interface. React has the clearest documented path, AG-UI keeps the backend boundary legible, and the MIT license leaves room for product use. For streamed text alone, assistant-ui or the Vercel AI SDK asks a team to own more UI decisions but brings a narrower problem into the codebase.

A trial should use one action that changes real state and one human approval step. Confirm the backend event, visible result, and audit record independently. Then run the exact repository or package checks your CI will enforce. Our 300 passing Vitest assertions did not make the 17-second test command pass, which is the sort of detail a quick demo will not reveal.

Alternatives

ProjectWhat it isPick it when
assistant-uiA React library centered on composable AI chat interfaces and message rendering.pick this instead when the main job is a polished React chat and you do not need CopilotKit's shared agent state or channel layer.
Vercel AI SDK gh↗A TypeScript toolkit for model calls, streaming, tools, and agent application primitives.pick this instead when you want model and streaming building blocks and prefer to own the interface architecture.
AG-UIThe open event protocol and integrations that connect agents to user-facing applications.pick this instead when protocol interoperability matters more than ready-made CopilotKit UI and runtime packages.

What people are saying

  1. [github-trending] CopilotKit/CopilotKit

Sources

  1. CopilotKit README
  2. CopilotKit repository facts
  3. CopilotKit v1.69.2 release
  4. CopilotKit contributing guide
  5. Angular human approval routing issue
  6. Scheduled Slack turn issue

More ai tools reviews

SkillSpector · robin · mjlab · MoGe · awesome-design-md · Code-as-World · the whole board →