External Channels
Overview
Section titled “Overview”Scion can relay agent messages and notifications to external platforms, extending communication beyond the CLI and Web Dashboard. Three channels are available: Telegram (bidirectional group chat), Discord (outbound webhook notifications), and A2A protocol (expose agents as A2A endpoints for programmatic interaction).
Telegram
Section titled “Telegram”The Telegram integration provides bidirectional messaging — users can message agents from Telegram groups and receive replies directly in the chat.
How It Works
Section titled “How It Works”- A Telegram bot (created via @BotFather) acts as the bridge between Telegram groups and the Scion Hub.
- The bot runs as a Hub plugin (
scion-plugin-telegram), which must be built and configured in the Hub’ssettings.yaml. - Group linking: Use the
/setupbot command in a Telegram group to link it to a Scion project. - Identity linking: Use
/registerto associate your Telegram account with your Scion Hub identity.
Routing & Commands
Section titled “Routing & Commands”- @-mention routing: Mention a specific agent (e.g.,
@mybot agent-name message) to route a message to that agent. - Default agent: Set a default agent with
/defaultso untagged messages route automatically. - Available bot commands:
/agents(list agents),/default(set default),/settings(configure group),/notifications(toggle notification types).
Group Settings
Section titled “Group Settings”Each linked group can be configured via /settings:
- Observer mode (
a2a): Show agent-to-agent messages in the group, so you can watch how agents coordinate. - Commentary: Show agent reply messages (responses to other agents) in the group.
- Group notifications (
grp): Post agent state change notifications (completed, error, waiting for input) in the group chat.
For full setup instructions, bot configuration, and troubleshooting, see extras/scion-telegram/README.md.
Discord
Section titled “Discord”Discord integration provides outbound-only webhook notifications — agents can push messages to a Discord channel, but cannot receive inbound messages from Discord.
- Severity-based color coding: Messages are color-coded by severity (info, warning, error, urgent).
- @mentions: Urgent messages and explicit
ask_userrequests can trigger@useror@rolementions.
Configuration
Section titled “Configuration”Set the webhook URL in one of two ways:
- settings.yaml: Set
server.discord_webhook_urlin the Hub configuration. - Environment variable: Set
SCION_DISCORD_WEBHOOK_URL.
For more details, see Hub Setup — Discord Integration.
A2A Protocol Bridge
Section titled “A2A Protocol Bridge”The A2A (Agent-to-Agent protocol) bridge exposes Scion agents as standard A2A endpoints, allowing external A2A clients to discover and interact with them programmatically.
- Discovery: External clients can query available agents and their capabilities via the A2A protocol.
- Interaction modes: Supports blocking (synchronous), SSE streaming, and push notification delivery.
- Standalone service: Runs as a separate bridge process alongside the Hub (see
extras/scion-a2a-bridge).
This is useful for integrating Scion agents into larger multi-agent systems or exposing them to third-party A2A-compatible clients.
For setup and configuration, see extras/scion-a2a-bridge/README.md.