CopilotKitDocs
  • Docs
  • Reference
  • Cookbook
Get Enterprise Intelligence free
CopilotKitDocs
DocsReferenceCookbook
DocsReferenceCookbook

Get Started

IntroductionQuickstartCopilotKit CLIBuild with agents

Concepts

ArchitectureGenerative UIWhich Hook for Which JobOSS vs Enterprise Intelligence Platform
Agentic Protocols

Build Chat UIs

Multimodal AttachmentsVoiceReasoning

Build Generative UI

Components as ToolsTool Call RenderingState Rendering
A2UI
MCP Apps

Add Agent Powers

Frontend Tools
Human-in-the-Loop
Sub-AgentsAgent ConfigProgrammatic Control

A2A

Declarative (A2UI)

Runtime

Copilot RuntimeRuntime HTTP endpointsUse any model routerAgentRunner and persistenceSelf-managed agentsConnect AG-UI agentsDeploy to any runtimeAuthentication

Observe & Operate

InspectorVS Code Extension

Intelligence Platform

Enterprise Intelligence PlatformCloud-Hosted Enterprise IntelligenceSelf-Hosting Enterprise IntelligenceEnterprise Intelligence ArchitectureThreads & Persistence ArchitectureThreads

Bots

Bots
PersistenceTranscripts

Deploy

AWS AgentCore

Other

Anonymous Telemetry
DocsBots

Bots

Build durable, cross-platform AI bots with CopilotKit — a platform adapter, an AG-UI agent, and optional persistence wired together in a single createBot call.


The bot stack is three pieces: @copilotkit/bot (core runtime), a platform adapter (e.g. @copilotkit/bot-slack), and an AG-UI agent — any CopilotKit runtime or compatible backend. Plug them together with createBot and you get a bot that streams agent replies into the platform, handles interactive buttons, and — once you add a store — survives restarts and spans multiple instances.

Slack quickstart

From zero to a working Slack bot in minutes — Socket Mode, streaming replies, and interactive Block Kit buttons.

Persistence

Choose a storage backend (Memory, Redis, PostgreSQL) to make actions, locks, and per-thread state durable across restarts.

Transcripts

Give the agent a cross-platform memory that follows users from Slack to any other channel — with GDPR-ready delete support.

Bot reference

Full API reference — createBot, Thread, StateStore, ActionStore, and the Slack adapter.

eaa3a0a