Run AG-UI Agents in Slack & Teams via CopilotKit Channels SDK

Many teams already have a working AI agent with a model, tools and business logic. The challenge is exposing that agent inside Slack, Microsoft Teams, Discord or Google Chat without rebuilding it for each platform. Writing separate adapters, handling different message formats and maintaining platform‑specific UI quickly becomes a maintenance burden.

CopilotKit Channels SDK solves this by acting as a transport layer. You keep your agent exactly as it is and connect it through the AG‑UI protocol. The SDK renders your agent’s output as native UI—Block Kit for Slack, Adaptive Cards for Teams—so you write the message once and it appears correctly everywhere. No second agent, no webhook text blobs, just a single integration point.

Getting started is straightforward: install the two packages, configure a long‑running Node.js 22+ ESM process, provide a CopilotKit Intelligence API key (required even for direct adapters), and create a channel with your agent factory. The runtime owns the channel lifecycle; you await channels.ready() to catch configuration errors early. The adapter handles translation from your AG‑UI representation to each platform’s native format, and interactive actions are bound through an action store.

With the SDK you gain generative UI, human‑in‑the‑loop approvals, tool execution (file issues, book meetings, open PRs), persistent transcripts, and slash‑command or mention routing—all without rewriting core logic. Slack and Microsoft Teams are early access surfaces; Discord, Telegram and WhatsApp adapters ship as upcoming direct integrations.

This approach eliminates duplicate work, reduces integration risk, and lets your team focus on improving the agent rather than juggling platform specifics.

#AI #Product #Developer #ChatOps #Slack #Teams