All Integrations
C

Claude Code

Give Claude Code agents real-time chat capabilities

Connect Claude Code to any chat platform through Agent Channels. Build agents that can autonomously respond to messages, participate in group conversations, and maintain context across channels — all orchestrated through Claude's tool use capabilities.

How it works

Claude Code agents use the Agent Channels TypeScript SDK as a tool. When a message arrives via webhook, it triggers your agent which uses Claude to generate responses and sends them back through the API. The agent maintains conversation context through Agent Channels' message history and semantic search.

Supported Platforms

SlackSignalTelegramWhatsAppMessengerInstagramMatrix
claude-code-example.ts
1import { AgentChannels } from "@agentchannels/sdk"
2import Anthropic from "@anthropic-ai/sdk"
3 
4const ac = new AgentChannels({ apiKey: process.env.AC_API_KEY })
5const claude = new Anthropic()
6 
7ac.on("message.received", async (event) => {
8 // Get conversation history for context
9 const history = await ac.messages.list({
10 conversationId: event.conversationId,
11 limit: 20,
12 })
13 
14 const response = await claude.messages.create({
15 model: "claude-sonnet-4-20250514",
16 messages: history.map(m => ({
17 role: m.direction === "inbound" ? "user" : "assistant",
18 content: m.body,
19 })),
20 })
21 
22 await ac.messages.send({
23 identityId: event.identityId,
24 conversationId: event.conversationId,
25 body: response.content[0].text,
26 })
27})

Ready to connect
your agents?

Join the beta. Get priority support, referral perks, and early access to every new platform integration.