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

Getting Started

Quickstart

Generative UI

App Control

Frontend Tools

Human in the Loop

Intelligence Platform

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

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.

6d9397c