Channels SDK: How to bring Your Agent to Any Channel (Slack, Microsoft Teams) CopilotKit has released the Channels SDK, an open-source TypeScript library that brings any AG-UI agent to messaging platforms like Slack, Microsoft Teams, Discord, and Telegram from a single codebase. The SDK includes a persistence layer for memory and context, and supports managed production deployments via CopilotKit Intelligence, eliminating the need to expose public URLs. The project demonstrates integrating an agent into Slack with native rendering through JSX components and MCP tool connections. Getting any agent into messaging platforms like Slack is complex. You create a Slack app, handle its events, format messages to the platform's format, handle deliveries with retries, and so on. Taking that to production is much harder. Then, if you want to bring it into another messaging platform, you do most of the work again, and again for the next platform. To remove that manual work, we're excited to release the Channels SDK https://github.com/copilotKit/channels-sdk , which brings any AG-UI https://github.com/ag-ui-protocol/ag-ui agent to any channel from one codebase, with a persistence layer so it keeps its memory and context. Today, we will bring an agent into Slack, learn how everything works along with the architecture, the core patterns and connecting it to real tools like Notion using MCP. npx copilotkit@latest channels setup To try the agent live, we have created public channels on Slack and MS Teams. Head to copilotkit.ai/try-channels and we'll get you in. A Slack bot running on your own agent, that can: Prefer a complete working example? Clone OpenTag on GitHub https://github.com/CopilotKit/OpenTag . If you want to explore on your own, read the Channels docs https://docs.copilotkit.ai/channels , or copy a ready-made prompt from the docs homepage https://docs.copilotkit.ai and your coding agent builds your first channel with you. The Channels SDK is an open source TypeScript library that takes any AG-UI https://github.com/ag-ui-protocol/ag-ui agent into Slack, Microsoft Teams, Discord, Telegram, WhatsApp and other channels, from one codebase. npm i @copilotkit/channels It's built on the AG-UI protocol https://github.com/ag-ui-protocol/ag-ui , so the app and the agent stay decoupled. You can bring any AG-UI compatible agent framework LangChain, Google ADK, Mastra, Pydantic AI, Claude Agent SDK, etc. and swap it later without touching the channel code. And if you don't want to bring your own framework, we ship a BuiltInAgent that runs on any model, hosted or local via Ollama, LM Studio, or vLLM . We will be using this for the setup. You write replies as