Bridge Telegram, Slack, Discord, and push notifications into the FERAL session system.
Status: Beta — Telegram and Slack channels are functional. Discord and push notifications are still being refined.
Channels
FERAL connects to external messaging platforms through channels. Each channel bridges a platform’s API into the Brain’s session system, so users can talk to the agent from Telegram, Slack, Discord, or receive push notifications — all with the same capabilities as the web UI.
ChannelManager Architecture
The ChannelManager is a singleton that registers, starts, and supervises channel adapters. Each adapter runs in its own asyncio task and translates platform-specific messages into FeralMessage objects.
from feral_core.channels import ChannelManagermanager = ChannelManager(brain=brain)manager.register("telegram", TelegramChannel(token="..."))manager.register("slack", SlackChannel(token="..."))manager.register("discord", DiscordChannel(token="..."))await manager.start_all()
Each channel adapter implements a common interface:
Store the token in the vault. The channels step of the setup wizard
prompts for it, verifies it against Telegram’s getMe, and stores it
under the FERAL_TELEGRAM_BOT_TOKEN name the runtime reads:
feral setup --from-step channels
The web UI’s Settings → Channels card writes the same credential.
feral key add --provider telegram is not the right command here.
It stores labeled keys for LLM providers under a namespace the channel
loader and the Telegram probe never read.
FERAL maintains session continuity per Slack thread. A new thread starts a new session; replies within a thread continue the same conversation context.
FERAL auto-registers Discord slash commands on startup:
Command
Description
/ask <question>
Ask the agent a question
/remember <fact>
Store a fact in memory
/status
Show agent status and uptime
/voice
Join voice channel (experimental)
Push Notifications
FERAL sends push notifications via Firebase Cloud Messaging (Android/web) and Apple Push Notification service (iOS) for proactive alerts, reminders, and task completions.