34 releases (8 breaking)
Uses new Rust 2024
| new 0.19.3 | Apr 19, 2026 |
|---|---|
| 0.18.6 | Apr 8, 2026 |
| 0.18.2 | Mar 31, 2026 |
#1383 in Cryptography
Used in zeph
3MB
65K
SLoC
zeph-channels
Multi-channel I/O adapters (CLI, Telegram, Discord, Slack) for Zeph.
Overview
Implements I/O channel adapters that connect the agent to different frontends. Ships with a CLI channel, Telegram adapter with streaming support, and optional Discord and Slack adapters. The AnyChannel enum provides unified dispatch across all channel variants. All channels implement full feature parity for the Channel trait: streaming, attachments, and slash commands work identically regardless of the active frontend.
Key modules
| Module | Description |
|---|---|
cli |
CliChannel — interactive terminal I/O with persistent input history (rustyline), prefix search, and /image command for vision input |
telegram |
Telegram adapter via teloxide with streaming; voice/audio message detection and file download; photo message support for vision input |
discord |
Discord adapter (optional feature) |
slack |
Slack adapter (optional feature); audio file detection and download with Bearer auth |
any |
AnyChannel — enum dispatch over all channels |
markdown |
Markdown rendering helpers |
Re-exports: AnyChannel, CliChannel
[!NOTE]
ChannelErroris defined inzeph-core::channeland used directly by all channel adapters.zeph-channelsdoes not re-export it.
Features
| Feature | Description |
|---|---|
discord |
Discord WebSocket adapter via tokio-tungstenite |
slack |
Slack Events API adapter via axum with HMAC-SHA256 signature verification |
Installation
cargo add zeph-channels
# With Discord support
cargo add zeph-channels --features discord
# With Slack support
cargo add zeph-channels --features slack
Documentation
Full documentation: https://bug-ops.github.io/zeph/
License
MIT
Dependencies
~172MB
~3.5M SLoC