Meet your users where they already are
The CrewAI agent you built in the Overview does not have to live behind a web app. The same Crew or Flow can run as a bot inside a messaging platform. No rebuild, no second copy of your agent logic: the agent stays exposed over the AG-UI protocol, and a bot process drives it. CopilotKit’s Channels SDK provides that bot process. It ships a platform-agnostic engine plus per-platform adapters.How it fits together
Nothing about your agent server changes. It keeps serving your Crew or Flow over AG-UI exactly as in the Overview. What you add is a separate bot process: it connects to a platform adapter, listens for messages, and runs your agent when it is messaged. The reply streams back into the channel.Slack
1
Install the Channels packages
2
Create a Slack app and get tokens
Create an app in the Slack API dashboard for your workspace, enable Socket Mode, and grant it the message and event scopes it needs to read and post in channels. Then expose its tokens to the bot process:
3
Point the bot at your CrewAI agent
createBot wires a Slack adapter to your agent. The agent factory returns a CrewAIAgent pointed at the AG-UI path your server exposes (the same URL you registered in the runtime in the Overview).4
Run the bot
Start the bot process alongside your agent server:Message the bot in Slack and it runs your Crew or Flow, streaming the reply back into the thread.
Slack app scopes, Socket Mode setup, and the full adapter options are maintained by CopilotKit. Follow the Slack channel reference together with Slack’s own app setup guide for the authoritative steps.
Discord
Discord uses the samecreateBot engine with the Discord adapter from @copilotkit/channels-discord:
Platform support
Slack and Discord have official Channels adapters (@copilotkit/channels-slack, @copilotkit/channels-discord). Microsoft Teams is available through CopilotKit’s managed offering (currently waitlisted). Check the Channels reference for the current list before promising a platform.
Related
Frontend Overview
Serve your Crew or Flow over AG-UI — the foundation every channel builds on.
Human-in-the-Loop
Pause the agent to collect user approval or input mid-run.
