A simple, open protocol for giving AI agents their own identity on Slack, Discord, Microsoft Teams, and Google Chat. Model-agnostic. One interface, every platform.
npm install @agentchannels/agentchannels
AI agents are increasingly capable, but connecting them to the channels where teams work is still bespoke and brittle. Agent Channels solves this.
Write your agent logic once. Swap adapters to reach Slack, Discord, Teams, or Google Chat without rewriting integration code.
Each agent gets its own name, avatar, and credentials on the platform. No shared bot accounts. Real presence for every agent.
Works with Claude, GPT-4, Gemini, open-source models, or your own. Built-in connectors for OpenAI and Google Gemini. No vendor lock-in.
Extend BaseAdapter and implement three methods: start, stop, send. Normalized message types handle the rest.
Bridge any adapter into Claude Code as a native channel. Your Slack messages arrive as context. Two-way chat works out of the box.
MIT-licensed. Built for the community. Normalized event types, typed interfaces, and a clear extension model for new platforms.
Ship today on the platforms where work happens. More adapters are in development.
Built-in connectors manage conversation history, API calls, and response routing.
GPT-4o, GPT-4, o1, etc.
Gemini 2.0 Flash / Pro
Native channel bridge
Extend BaseAdapter
Install the package and start building. Here's a Slack agent in under 20 lines.
The SDK handles platform-specific details so you can focus on agent logic.
Every platform adapter implements a simple interface. Your agent logic stays platform-independent.
+--------------+ +---------------------+ +----------------+
| Your Agent |---->| Agent Channels SDK |---->| Slack |
| (any model) |<----| +---------------+ |<----| Discord |
+--------------+ | | ChannelAdapter | | | Teams |
| +---------------+ | | Google Chat |
+---------------------+ +----------------+
The interface every platform adapter implements: start(), stop(), send().
Unique identity per agent: name, avatar, credentials. No shared bot accounts.
Discriminated union of events: message, reaction, typing, presence, and more.
Start building in minutes. Open source, MIT licensed, community-driven.