Claude Code Channels: Push Events Into Your AI Session
Claude Code just got a powerful new feature: Channels. Now you can push messages, webhooks, and alerts directly into a running Claude Code session from external sources like Telegram and Discord. Your AI assistant can react to real-world events while you're away from the terminal.
This is a game-changer for indie hackers building AI-powered automation. Instead of polling for changes or manually checking outputs, your AI assistant can now respond to events as they happen.
What Are Channels?
Channels are MCP servers that push events into your running Claude Code session. Think of them as a bridge between external services and your AI assistant.
Two-way communication: Claude can read incoming events and reply back through the same channel. Send a message from Telegram → Claude processes it → Claude responds on Telegram.
Currently in research preview, Channels support Telegram and Discord with more platforms coming soon.
What's Possible?
Here are some real-world use cases for indie hackers:
- CI/CD Alerts: Get Claude to analyze build failures as soon as they happen
- Monitoring Events: Push application errors to Claude for instant debugging
- Chat Bridges: Talk to Claude from Discord or Telegram instead of the terminal
- Webhooks: Connect third-party APIs that trigger AI responses
- Team Notifications: Claude can reply to team messages in your chat platform
Setting Up Telegram
Getting started takes a few minutes:
- Create a Telegram bot via @BotFather
- Install the plugin:
/plugin install telegram@claude-plugins-official - Configure your token:
/telegram:configure <token> - Restart Claude with channels:
claude --channels plugin:telegram@claude-plugins-official - Pair your account by messaging the bot
Building Your Own Channel
The Channels system is extensible. You can build custom channels to connect any service that can send HTTP requests. The Channels reference has full documentation.
Quick Example
Build a custom channel that pushes GitHub issue comments to Claude, allowing you to triage bugs through natural conversation.
Why This Matters
Most AI coding assistants are passive—they wait for you to type a prompt. With Channels, Claude Code becomes proactive. It can:
- React to events in real-time
- Work while you're away from the keyboard
- Integrate with your existing tools without manual triggering
This bridges the gap between AI assistants and truly autonomous agents. Combined with tools like Cook CLI for orchestration, you're building toward AI that can handle complex workflows independently.