open source

Your agent messages as you — not as a bot

One CLI for Slack, Discord, Teams, Webex, Telegram, WhatsApp, LINE, Instagram, KakaoTalk, and Channel Talk. Credentials extracted from desktop apps or authenticated in seconds — no API keys, no admin approval.

agent-messenger
$ agent-slack message search "deployment rollback"
  ✓ 7 messages found in #incidents
$ agent-slack message replies incidents 1711234567.123456
  ✓ 14 replies loaded
$ agent-slack message send incidents "Postmortem draft ready"
  ✓ Message sent to #incidents

Why Agent Messenger?

You shouldn't need a bot token to send a message

Problem

Every platform gates API access behind OAuth apps that need admin approval — days of waiting just to send a message. And even then, your agent is a bot, not you. Different name, different permissions, different context.

Solution

Agent Messenger reads session tokens from your Slack, Discord, Teams, or KakaoTalk desktop app — zero config. Telegram, WhatsApp, LINE, and Instagram authenticate with a one-time code or credentials. Either way, your agent operates as you — same name, same permissions, same context.

Credentials are stored locally in ~/.config/agent-messenger/ with restricted permissions. Nothing is sent to third-party servers.

Features

Built for agents, not humans

Auto-Extract Auth

Reads tokens from Slack, Discord, Teams, KakaoTalk, and Channel Talk desktop apps. Telegram and WhatsApp authenticate with a one-time code — still under a minute.

Act As Yourself

Extracts your user session — not a bot token. Your agent sends messages, reacts, and searches as you. Need bot mode? Bot CLIs are included too.

One Interface

Same command patterns across 7 platforms: message send, message search, channel list, snapshot. Learn once.

Agent-Native Output

JSON by default for LLM tool use. --pretty for human-readable. Structured output your agent can parse and act on.

Token Efficient

CLI, not MCP. One skill file, one shell command per action. No server to run, no tool registration.

Persistent Memory

Stores workspace IDs, channel mappings, and preferences in ~/.config so your agent never asks twice.

How It Works

Running in under a minute

01

Install

Installs agent-slack, agent-discord, agent-teams, agent-telegram, agent-whatsapp, agent-line, agent-instagram, agent-kakaotalk, agent-channeltalk, plus bot variants.

npm install -g agent-messenger
02

Run

Slack, Discord, Teams, KakaoTalk, and Channel Talk tokens are read from your desktop app automatically. Telegram and WhatsApp authenticate with a one-time code.

agent-slack snapshot --pretty
03

Teach Your Agent

Install Agent Skills via Skills CLI, Claude Code, OpenCode, or SkillPad — your agent learns every command and starts messaging on its own.

npx skills add agent-messenger/agent-messenger

Use Cases

What agents build with this

Read the #incident-api-outage thread in Slack and write a postmortem draft

Post the deployment changelog to #releases in Slack and #announcements in Discord

Search the Teams #design channel for the latest discussion about the new onboarding flow

Check my unread Slack messages right now and draft replies for anything urgent

Look up who reacted to my last message in #general on Discord and what they said after

Summarize today's WhatsApp group chat and send the summary to #standup in Slack

Philosophy

Why CLI, not MCP?

MCP
  • Requires a running server process per integration
  • Registers all tools upfront — larger context window footprint
  • Additional protocol layer between agent and action
Agent Skills + CLI
  • Agent learns one skill, calls one CLI command
  • Minimal token footprint — only the tool it needs
  • Structured JSON output, compact session references

Compatibility

Platform capabilities

FeatureSlackDiscordTeamsTelegramWhatsAppLINEInstagramKakaoTalkCh. Talk
Zero-config credentials
Send & list messages
Search messages
Threads
Reactions
File upload & download
Workspace snapshot
Multi-account
Bot CLI available
Real-time events (SDK)

Slack goes deepest — scheduled messages, ephemeral sends, file downloads, real-time events SDK, activity feed, drafts, saved items, reminders, pins, and bookmarks.

Install once. Message everywhere.

terminal
$ npm install -g agent-messenger