# Open source vs Intelligence

> Compare CopilotKit's open-source SDKs and runtime with Intelligence services for AG-UI Streams, User Memories, Automatic Learning, Product Analytics, and Channels.

CopilotKit's **open-source SDKs and TypeScript runtime** connect your frontend to your agent without requiring a CopilotKit service. **[CopilotKit Intelligence](/teams/intelligence/overview)** adds AG-UI Streams, User Memories, Automatic Learning, Product Analytics, and Channels to that application. Choose the services your application needs while keeping your frontend and agent framework.

The TypeScript runtime is the default, most fully featured implementation and the only runtime that works without Intelligence. Python, Go, Ruby, and C#/.NET runtimes require cloud-hosted or self-hosted Intelligence. Their source is also open source; the distinction is the service they require. See [Runtime languages](/teams/backend/copilot-runtime#runtime-languages) to choose a server implementation.

## The 30-second version [#the-30-second-version]

- **The open-source packages are enough for** building a working agentic application with framework-native APIs, prebuilt chat, frontend tools, gen-UI, and any AG-UI integration. The license is MIT. The packages run anywhere.
- **Your own persistence remains an option.** LangGraph checkpointers, ADK session services, and application-owned storage can retain history without Intelligence. You own the storage and UI integration.
- **CopilotKit Intelligence adds** conversation replay and continuity across devices, memory beyond one conversation, reviewed skills from real usage, usage data, and channel connections.
- **CopilotKit Intelligence runs two ways**: cloud-hosted, or self-hosted on Kubernetes or AWS ECS. Both deployments use the same app APIs.

|                                                                         | Open source only             | Needs CopilotKit Intelligence |
| ----------------------------------------------------------------------- | ---------------------------- | ----------------------------- |
| Agent chat, frontend tools, agent state, gen-UI                         | Yes                          |                               |
| Any AG-UI integration (LangGraph, Mastra, Built-in, custom)             | Yes                          |                               |
| Framework-native or application-owned persistence                       | You operate and integrate it |                               |
| Local Inspector for live events, tools, state, and connection debugging | Yes                          |                               |
| AG-UI Streams with saved UI, resumable runs, and realtime sync           |                              | Yes                           |
| User Memories and Automatic Learning                                    |                              | Yes                           |
| Product Analytics and cloud-hosted channel connections                  |                              | Yes                           |
| Inspector's saved AG-UI Streams and Automatic Learning panes            |                              | Yes                           |
| Intelligence project administration and API keys                        |                              | Yes                           |

## What's in the open-source core [#whats-in-the-open-source-core]

Everything you need to build a working agentic app, with no external service from CopilotKit:

- **Runtime**: `@copilotkit/runtime`, the request handler that mounts in your application server. Framework-agnostic core plus thin adapters for Express, Hono, Bun, Deno, Cloudflare Workers.
- **AG-UI protocol**: open standard for communication between agents and frontends. Typed events for text, tool calls, state, reasoning, and run lifecycle. Transport-agnostic.
- **Built-in Agent**: `BuiltInAgent` runs an in-process agent loop (OpenAI / Anthropic / Google / any AI-SDK model) without requiring an external framework.
- **Integrations**: first-party adapters for LangGraph (Python / TypeScript / FastAPI), Mastra, CrewAI, Pydantic AI, Microsoft Agent Framework, AWS Strands, Google ADK, and others.
- **Generative UI primitives**: tool rendering, state rendering, headless APIs, and framework-native theming.

## What's in CopilotKit Intelligence [#whats-in-copilotkit-intelligence]

A **backend service** beside your runtime, with capabilities you can add as needed:

- **[AG-UI Streams](/teams/AG-UI-Streams)**: save conversations, UI, and inputs; reopen them across devices and reconnect to active runs.
- **[User Memories](/teams/intelligence/memories)**: retain facts beyond a single conversation, with user and project scopes.
- **[Automatic Learning](/teams/learning)**: turn real usage into skills you review and publish; use [Skill delivery](/teams/intelligence/learned-skills) to make published skills available to your agent.
- **[Product Analytics](/teams/intelligence/analytics)**: understand how people use your agent and its tools.
- **[Channels](/teams/intelligence/channels)**: connect your existing agent to Slack or Microsoft Teams through cloud-hosted Intelligence. Both are generally available. The open-source Channels SDK also lets you operate your own channel runner.
- **Project administration**: manage organizations, projects, API keys, and plans in the cloud-hosted web app.

### Inspector with and without Intelligence [#inspector-with-and-without-intelligence]

[Inspector](/teams/inspector) is available by default in development builds of React, Vue, and Angular browser apps. Use its local panes to debug your connection, live AG-UI events, tools, and state without Intelligence. Its AG-UI Streams pane (labeled **Rich Threads**) and its **Automatic Learning** pane require the corresponding Intelligence services to show saved conversations and learning data.

### Cloud-Hosted vs Self-Hosted [#cloud-hosted-vs-self-hosted]

Cloud-hosted and self-hosted Intelligence use the same app APIs. Only the host is different:

- **[Cloud-hosted CopilotKit Intelligence](/teams/intelligence/managed-intelligence-platform)** is the service CopilotKit operates. Sign up, get an API key, and point your runtime at it. Pick this when you want zero ops on the platform side.
- **Self-hosted** runs in your infrastructure. Follow the [Kubernetes guide](/teams/intelligence/self-hosting) for the Helm chart or the [AWS ECS guide](/teams/intelligence/self-hosting-ecs) for the ECS bundle. You operate the services and their dependencies; use the deployment guide for the required infrastructure and credentials.

Application code doesn't change between cloud-hosted and self-hosted. Both use the same frontend SDK and runtime APIs. Only the platform endpoint and credential set change.

## Licenses [#licenses]

The open-source SDKs and runtime use MIT. CopilotKit Intelligence and Showcase have
separate terms.
