mrkeyoor.com_
Fri 16 Oct 17:56 UTC
AI Toolsevaluationupdated 05 Oct 2026

CopilotKit review

CopilotKit is a TypeScript toolkit for putting AI agents inside apps, with chat, agent-rendered interfaces, shared app state, and approval steps. It connects a user interface to an agent through AG-UI, an event protocol, and provides a runtime that sits in your server. The open source SDK handles the interaction layer, while persistent threads, memories, analytics, and learning sit in the CopilotKit Intelligence product.

+127stars / 7d
Verdict

Our CopilotKit run installed 4,778 packages and used 4,450 MB, then returned exit 1 from the test command despite 29 passing tests and 0 failed assertions. Use it for a serious React product that needs shared state, rendered tools, and human approval around an existing agent, especially if AG-UI matches your architecture. Choose a narrower UI library for a simple chat surface, and treat Intelligence as a separate platform decision.

We ran it

Lab card: what happened when we ran CopilotKitScreenshot of CopilotKit (docs.copilotkit.ai)
Install✓ · 41s4778 packages · 4450 MB
Build✓ · 147s
Tests✗ · 17s29 passed · 0 failed of 29 (vitest)
Repo21290 files~2,191,077 lines of source · 168.2 MB · 63 CI workflows

Answers from our run

Does CopilotKit build from source?

Dependencies installed in 41 seconds (4778 packages), and the build succeeded in 147 seconds. We cloned commit b3d1aad into a clean Debian container with 3 CPUs and no project-specific setup.

Do CopilotKit's tests pass?

Yes: 29 of 29 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?

Teams seeking a small chat widget with a light contributor setup: our install pulled 4,778 packages and occupied 4,450 MB.

What are the alternatives to CopilotKit?

assistant-ui, Vercel AI SDK, OpenAI Agents SDK for JavaScript. Our CopilotKit run installed 4,778 packages and used 4,450 MB, then returned exit 1 from the test command despite 29 passing tests and 0 failed assertions.

Setup2/54,778 packages, 4,450 MB, and a nonzero test exit
Docs4/5Clear architecture, but contributor tool versions disagree
Community5/537,764 stars, an October 5 push, and same-day issue work
Maturity4/5v1.77.0 is current, but our repository test command failed

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

Product teams building an agent into a React or Next.js interface instead of shipping a separate chatbot.
Developers who need agent tool calls to render application UI or pause for human approval.
Organizations connecting one agent backend to web, mobile, Slack, or Microsoft Teams.
Teams willing to adopt AG-UI as the contract between their interface, runtime, and agent.

Who it’s NOT for

Teams seeking a small chat widget with a light contributor setup: our install pulled 4,778 packages and occupied 4,450 MB.
Release pipelines that require a clean repository-wide test command: ours exited 1, although Vitest reported 29 passed and 0 failed.
Vue teams that need the same published onboarding status as React: the README marks React and Next.js GA, while Vue is supported and its quickstart is still listed as coming soon.
Buyers who expect persistence and user memory to come from the open source UI package alone: the README places rich threads, memories, analytics, and automatic learning under CopilotKit Intelligence.
Contributors who need one unambiguous toolchain instruction: the tested commit pins Node 22 and pnpm 10.33.4, while its contribution guide asks for Node 20.x or later and pnpm 9.x.

Setup reality

Our sandbox installed commit b3d1aad in 41 seconds, pulling 4,778 packages and using 4,450 MB. The build succeeded in 147 seconds. The test command exited 1 after 17 seconds, although Vitest reported 7 passing files, 29 passed tests, and 0 failed tests.

A new app can be scaffolded with the CopilotKit CLI, while an existing app needs a frontend SDK, a runtime route in its server, and either a built-in or AG-UI-compatible agent. The agent or model path brings its own provider credentials. CopilotKit Intelligence is a separate hosted or self-hosted layer for persistence, memory, analytics, and learning.

This is a pnpm workspace monorepo with 21,290 files and about 2,191,077 source lines. The tested commit pins Node 22 and pnpm 10.33.4, but CONTRIBUTING asks for Node 20.x or later and pnpm 9.x. Self-hosting Intelligence means Kubernetes plus Postgres, Redis, ingress, and an OIDC provider.

CopilotKit's 3-layer model suits product UI, not agent logic alone

CopilotKit divides an agent application into 3 layers: a frontend, a runtime in your application server, and an agent. AG-UI carries events between them. That separation is the reason to consider it. You can expose tools in the browser, stream agent state into application components, and stop a run for a user's approval without inventing a private protocol for every interaction.

The runtime can mount in Next.js, Express, Hono, Bun, Deno, or Cloudflare Workers. Behind it, CopilotKit names integrations for LangGraph, Mastra, CrewAI, Pydantic AI, and Microsoft Agent Framework, along with a built-in agent. The architecture guide defines 16 AG-UI event types for text, tools, state, and run lifecycle. CopilotKit is most useful when those interface concerns already hurt.

A 21,290-file monorepo is the price of its breadth

Our clone at commit b3d1aad contained 21,290 files, about 2,191,077 lines of source, and occupied 168.2 MB before installation. It is a workspace monorepo spanning framework packages, runtimes, examples, documentation, and product code. That breadth explains why a contributor checkout feels closer to a platform repository than a component library. A team evaluating one React package can focus on selected directories. Maintainers and contributors will still meet the whole workspace.

Installation made the difference visible. Pnpm added 4,778 packages in 41 seconds and left 4,450 MB on disk in our fresh Debian container. The project is perfectly reasonable to consume as published packages, yet developing the repository itself has a real storage and dependency cost. Our lab also counted 63 CI workflow files, evidence of extensive automation, though a large workflow collection does not guarantee that every local command exits cleanly.

What happened when we ran it

Our sandbox built CopilotKit successfully in 147 seconds using 3 CPUs, 8 GB of RAM, Node.js, and no secrets. Our test method used an unprivileged container and the supplied repository commands. The successful build matters because it covered this large workspace at the measured commit. It does not measure browser behavior, model quality, agent latency, or the hosted Intelligence service.

The test command returned exit 1 after 17 seconds. Vitest's summary was unexpectedly clean: 7 test files passed, with 29 tests passed and 0 failed. The tail then showed repeated ELIFECYCLE messages and an Nx run-executor.js path. The available log does not identify a failed assertion or prove why the outer command failed, so the honest finding is that the tests passed inside a repository command that still ended nonzero.

That distinction matters in CI. A team cannot treat 29 green Vitest checks as a green repository gate when the process status is 1. It also should not call those tests broken without the missing upstream error context. Reproduce the exact command in your own runner, keep the complete Nx output, and decide whether your release rule follows the individual test results or the top-level exit code.

React is GA, while Vue's quickstart is still missing

The README marks React and Next.js as GA. Angular, Vue, and React Native are described as supported, but the same table says Vue's quickstart is coming soon. Slack and Microsoft Teams are supported channels. Discord, WhatsApp, and Telegram have SDK adapters, while their managed connection is described as coming later. Those labels should shape a trial more than the broad promise of using any framework or surface.

For a React team, the pieces are concrete: prebuilt chat surfaces, headless APIs, shared state, frontend tools, backend tools that return UI, and human approval during a run. A Vue buyer should first build its real workflow, including authentication, tool errors, streaming cancellation, and upgrade behavior. Framework support can exist in source before its onboarding and integration history match the GA path.

Intelligence adds 3 services to the persistence decision

CopilotKit Intelligence owns rich threads, user memories, product analytics, inspection, and automatic learning in the current documentation. The self-hosted guide describes 3 application services, app-api, app-frontend, and realtime-gateway, plus your own Postgres, Redis, ingress, and OIDC provider. That is an operations project, not a flag that turns local chat history into durable product memory.

This split is defensible. The open source runtime stays in your application server, and AG-UI remains an inspectable boundary to your agent. Durable state and learning can then sit beside it through Intelligence. Buyers still need to price and review those layers separately. If thread restoration is a launch requirement, test the hosted or Kubernetes route during evaluation rather than judging it from the frontend SDK alone.

v1.77.0 and an October 5 push show current maintenance

GitHub showed 37,764 stars and 295 open issues and pull requests on October 5, 2026. The repository was pushed that day, and release v1.77.0 shipped on October 2 with fixes across LangGraph cancellation, generated controls, React and Vue styling, and malformed component values. A recently updated issue about repeated header function calls also shows that users are testing detailed React behavior, not merely filing broad requests.

CopilotKit earns a trial when an agent must behave like part of the product interface. Start with one workflow where shared state or approval is essential, then measure the browser and agent path that our repository run did not cover. The deciding cost is visible before production: 4,450 MB of dependencies for contributors, a top-level test exit of 1, and a separate platform choice if durable threads or memories are mandatory.

Alternatives

ProjectWhat it isPick it when
assistant-uiReact primitives and runtimes for building AI chat interfaces.pick this instead when the chat interface is the main job and you want less opinion about the agent platform behind it.
Vercel AI SDK gh↗A TypeScript toolkit for model calls, streaming, tools, and generative interfaces.pick this instead when you want provider-neutral model plumbing and UI helpers without adopting CopilotKit's runtime and AG-UI structure.
OpenAI Agents SDK for JavaScriptA TypeScript framework for multi-agent workflows, tools, handoffs, and tracing.pick this instead when agent orchestration is the main problem and you can build the product interface separately.

What people are saying

  1. [velocity-scout] CopilotKit/OpenDots
  2. [github-trending] CopilotKit/CopilotKit
  3. [velocity-scout] CopilotKit/openmuse

Sources

  1. CopilotKit README
  2. CopilotKit architecture documentation
  3. CopilotKit contribution guide
  4. CopilotKit v1.77.0 release
  5. CopilotKit Intelligence self-hosting guide
  6. CopilotKit issue 7629
  7. CopilotKit repository activity

More ai tools reviews

universal-modder · DeepEP-Ascend · DeepGEMM-Ascend · hypoarena · jeeves · faster-whisper · the whole board →