Expand description
Platform integrations for AgentZero.
Implements Telegram, Discord, and Slack channel adapters that bridge chat messages to the agent loop. Includes command parsing, reaction acknowledgement, and leak-guard middleware for sensitive data filtering.
Modules§
- ack_
reactions - commands
- drafts
- Draft lifecycle orchestration: send_draft → update_draft → finalize_draft.
- group_
reply - image_
markers - interruption
- Same-sender same-channel message interruption.
- leak_
guard - outbound
- Outbound message processing — applies security filters before sending.
- pipeline
Structs§
- Channel
Delivery - Channel
Descriptor - Channel
Instance Config - Per-channel instance config from TOML
[channels.<name>]sections. Uses a common structure with optional fields; each channel type consumes only the fields it needs. - Channel
Message - A message received from a channel (inbound).
- Channel
Registry - CliChannel
- Send
Message - A message to send through a channel (outbound).
- Webhook
Channel - Generic HTTP webhook channel.
Messages are injected via
inject_message()from the gateway webhook handler.
Constants§
Traits§
- Channel
- Core channel trait — implement for any messaging platform.
Functions§
- channel_
catalog - is_
local_ channel - Check if a channel operates locally (no outbound network traffic).
- normalize_
channel_ id - register_
configured_ channels - Register channels into
registrybased on the provided per-channel configs.