AI & Machine Learning · AI Development Platforms
CopilotKit
Embed agents, shared state, and generated interfaces in applications
CopilotKit is a TypeScript toolkit for developers embedding agent interfaces, generated UI, shared state, and approval flows in applications. Its repository uses the MIT license, while CopilotKit Intelligence adds hosted and customer-run deployments. A hosted version exists with a free Developer plan, paid Pro and Team tiers, and a custom Enterprise plan.
Key facts
- License
- MIT
- Main language
- TypeScript
- Maintainer
- CopilotKit
- First released
- 2023
- Latest release
- v1.79.1, October 15, 2026
- GitHub stars
- 38.2k, October 2026
- Hosted option
- Developer free, Pro $39/month, Team $100/seat/month, Enterprise custom
What CopilotKit is
CopilotKit is a frontend and runtime stack for placing agent interactions inside existing products. Atai Barkai and Uli Barkai founded the company, which began publicly in 2023 after its Techstars Seattle period. The GitHub repository was created in June 2023 and lists 38,166 stars, 4,757 forks, and contributors including jpr5, BenTaylorDev, and AlemTuzlak. The maintainers say the libraries exceed four million weekly downloads and are used by DocuSign, Cisco, S&P Global, and Deutsche Telekom. TechCrunch reported a $27 million Series A in May 2026, led by Glilot Capital, NFX, and SignalFire. CopilotKit also maintains AG-UI, an open protocol for connecting agents with user interfaces. The repository uses the MIT License.
How it works
CopilotKit connects an application interface to an agent and its tools. A typical integration adds the SDK, connects a runtime to an agent and model provider, then exposes application actions or state through CopilotKit APIs. The agent can stream messages, call frontend or backend tools, request confirmation, and return components rendered inside the product. Shared state lets the agent and interface read or update selected application context. Rich threads preserve messages, generated UI, and live runs across reloads, devices, and sessions when Intelligence is connected. The README lists React, Angular, Vue, React Native, Slack, and Microsoft Teams support. The Channels SDK extends one agent to chat platforms, while AG-UI carries tool calls, state updates, streaming, and approval events.
Architecture and recent releases
CopilotKit is a TypeScript monorepo with JavaScript, Python, Go, Ruby, C#, Dockerfile, CSS, HTML, MDX, and Vue files. It supports React, Angular, Vue, React Native, Slack, Microsoft Teams, Discord, WhatsApp, and Telegram through documented integrations or adapters. The core application can connect to an existing agent and model stack. Intelligence runs as a hosted service or inside a customer Kubernetes cluster or AWS account. The Kubernetes deployment uses app-api, app-frontend, and an optional realtime-gateway, with PostgreSQL, Redis, ingress, and OIDC. October 2026 releases include v1.79.1, AG-UI 1.0 work in channels/v0.11.1, trajectory capture in v1.78.0, and Open Intelligent UI announced on October 9.
License and pricing
The repository source is MIT licensed, allowing commercial use, modification, private use, and redistribution subject to the license notice. CopilotKit Intelligence is a separate platform with cloud hosting and customer-run deployment. Its Developer plan is free and includes one seat, AG-UI Streams, User Memory, Automatic Learning, and a limited Product Analytics trial. The plans page describes Pro and Team as paid tiers and Enterprise as a custom plan. A dated release summary lists Pro at $39 per month and Team at $100 per seat monthly. Customer-run Intelligence is limited to Team self-hosted or custom Enterprise plans and requires a license key. Full Product Analytics is part of Enterprise.
Limitations and how it compares
CopilotKit focuses on embedding agents in product interfaces, so teams still need an agent framework, model provider, identity system, and application data store. Dify suits visual application and workflow construction, while Botpress targets conversational automation. Vercel AI SDK is a closer code-level alternative for streaming model interfaces, although CopilotKit adds agent actions, shared state, generated components, and AG-UI integrations. Self-hosted Intelligence also creates an operations burden: Kubernetes or ECS, PostgreSQL, Redis, OIDC, ingress, secrets, upgrades, and backups remain part of the deployment. Choose CopilotKit when an agent must act inside a rich application interface across web, mobile, or supported chat channels.
Main features
- Generative UI. Agents can return application-specific charts, forms, tables, and components, enabling richer interfaces and more useful responses instead of relying solely on text-based answers.
- Agent Actions. Developers expose frontend or backend actions that agents can call while users retain approval control.
- Shared State. CopilotKit synchronizes selected application state with agent conversations, helping responses reflect current context while preserving relevant application information during interactions.
- Streaming Conversations. The SDK streams agent messages, tool calls, and events into embedded interfaces for incremental responses.
- AG-UI Protocol. AG-UI standardizes agent-to-user events, including tool calls, state updates, streaming responses, and human approval interactions across supported applications.
- Rich Threads. Intelligence reliably preserves messages, generated UI, and live runs across reloads, devices, and sessions for consistent access and continuity.
- Channels SDK. The Channels SDK brings an AG-UI agent to Slack, Microsoft Teams, and other supported chat platforms.
Self-hosting CopilotKit
The open-source SDK installs from npm and runs with an application's JavaScript toolchain. Intelligence deploys to Kubernetes with the copilot-intelligence Helm chart or to AWS ECS/Fargate with the documented CloudFormation bundle. Local evaluation runs in Docker Desktop through the CLI. Production requires PostgreSQL 14 or newer, Redis 7 or a Valkey-compatible service, ingress, an OIDC provider, and secret management. An S3-compatible object store is optional for realtime event persistence, while OpenSearch is optional for analytics. Kubernetes requires version 1.28 or newer and Helm 3.12 or newer. The customer operates backups, upgrades, monitoring, identity, and storage.
Strengths
- MIT-licensed SDK code can be embedded in commercial applications without a repository fee.
- Generative UI and agent actions connect model output to application controls.
- AG-UI provides a documented event protocol for agent and frontend communication.
- Hosted and customer-run Intelligence use the same application APIs.
Drawbacks
- Self-hosted Intelligence requires platform operations plus PostgreSQL, Redis, OIDC, ingress, and paid access.
- The SDK does not provide the underlying model, agent orchestration, identity, or application database.
- Hosted plan limits and enterprise terms are separate from the MIT-licensed repository.
What teams replace with it
Teams usually evaluate CopilotKit when they want to move off OpenAI Assistants API, Proprietary embedded copilot platforms.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is CopilotKit free?
The repository is MIT licensed, so its open-source SDK can be used commercially without a repository fee. CopilotKit Intelligence is a separate hosted platform with a free Developer plan that includes one seat and selected features with usage limits. Pro and Team are paid tiers. Self-hosted Intelligence is offered through Team self-hosted or Enterprise.
Can companies use CopilotKit commercially?
Yes. The repository uses the MIT License, which permits commercial use, modification, distribution, and private use when the license notice is retained. That permission applies to repository code. Intelligence hosting, license keys, plan limits, and enterprise deployment terms are separate services, so companies should review the terms for the specific packages and platform capabilities they select.
How do I self-host CopilotKit Intelligence?
The documentation describes a Helm chart for Kubernetes, an AWS ECS/Fargate bundle, and local Docker evaluation through the CLI. Production needs PostgreSQL 14 or newer, Redis 7 or a compatible service, ingress, OIDC, and secret management. The customer operates backups, upgrades, monitoring, and identity. A valid license key is required for Team self-hosted or custom Enterprise deployment.
How does CopilotKit compare with Dify?
Dify focuses on visual application and workflow construction, prompt management, and model-backed applications. CopilotKit focuses on embedding agents in an existing product interface, exposing actions, synchronizing state, and rendering components. Dify suits teams wanting a visual builder. CopilotKit suits developers integrating agents into React, Angular, Vue, mobile, Slack, or Microsoft Teams applications.
What happens to application data and conversations?
Cloud Intelligence stores platform data such as threads, events, runtime connection metadata, and API keys. Your application controls identity and sends user context through the runtime. Self-hosting places the platform inside your Kubernetes cluster, AWS account, or network boundary, using your PostgreSQL, Redis, OIDC, and secret controls. Model-provider retention remains separate from CopilotKit deployment.
Similar projects to compare
- DifyDify Open Source License, modified Apache-2.0Dify is an open-source platform for building, deploying, and operating LLM applications, RAG systems, and agentic workflows. LangGenius maintains it, offering Dify Cloud and a self-hosted Community Edition. Its modified Apache 2.0 license permits commercial use, while unauthorized multi-tenant deployments require a commercial license. These options support different deployment preferences for teams evaluating hosted and self-managed use.
- BotpressMITBotpress is a TypeScript platform for building AI agents with Studio, SDKs, integrations, knowledge bases, tables, and helpdesk workflows. The current repository uses the MIT license, while the former v12 product used AGPL-3.0 and is sunset for new deployments. Botpress Cloud provides the hosted service, with a free tier and paid plans starting at $150 per month when billed annually.
- ACI.devApache-2.0ACI.dev is an Apache-2.0 platform from Aipotheosis Labs for connecting AI agents to more than 600 SaaS integrations. It targets developers building agent products with SDKs, a unified MCP server, OAuth, secrets, permissions, and tool discovery. A managed service exists at aci.dev, but published product pages do not list hosted pricing.
- AgentOSApache-2.0AgentOS is a Python toolkit for building, running, tracking, and sharing reinforcement learning agents through the Python Component System. It targets researchers and developers who need explicit dependencies, virtual environments, and experiment runs. AgentOS and PCS use Apache-2.0. Documentation describes a public registry, but no paid hosted AgentOS service is listed.
- AgnoApache-2.0Agno is a Python SDK and AgentOS runtime for building, serving, and managing agents, teams, and workflows. The runtime is Apache-2.0 licensed and self-hostable. A hosted control plane starts at $150 per month for one live connection and three team seats. This provides a concise description of its development components, runtime model, licensing, deployment option, and hosted pricing.
- BeamAGPL-3.0Beam is an open-source runtime for serverless AI workloads, including GPU inference, sandboxes, functions, and background jobs. Beta9 uses AGPL-3.0 and supports self-hosting, while Beam Cloud provides managed compute, dashboards, billing, and hosted services. The hosted product bills CPU, memory, and GPUs by usage, with published rates for several machine types.