CopilotKit/channels-sdk

The open-source SDK for bringing any agent into any chat platform: Slack, Microsoft Teams, Discord, Telegram - with native, Interactive UI.

What it solves

Channels SDK allows developers to integrate AI agents into communication platforms like Slack, Microsoft Teams, and Discord. It removes the need to build platform-specific integrations for every agent, providing a unified way to render native interactive UI, handle conversations, and manage human-in-the-loop approvals directly within these channels.

How it works

The SDK acts as a bridge between an AG-UI-compatible agent and communication platforms. When a user messages the app in a channel, CopilotKit Intelligence receives the event and delivers it to a long-running Channels process. The process runs the agent, executes tools, and renders the result. Finally, Intelligence sends the native platform UI (such as Slack Block Kit or Teams Adaptive Cards) back to the user.

Who it’s for

Developers building AI agents (using frameworks like LangGraph, CrewAI, Mastra, Pydantic AI, or Google ADK) who want their agents to be accessible where their teams already collaborate.

Highlights

  • Multi-platform support: Render native UI for Slack, Microsoft Teams, and Discord from a single interaction description.
  • Agent agnostic: Compatible with any AG-UI-compatible agent, including CopilotKit's built-in agent.
  • Human-in-the-loop: Supports buttons, choices, and approval gates to keep people in control before an agent acts.
  • Simplified setup: Includes a CLI tool (npx copilotkit@latest channels setup) that can guide a coding agent to automate the configuration process.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project