- Channels
- Receives inbound messages from Telegram or WhatsApp Cloud.
- Sends outbound responses back to those channels.
- AI
- Prepares a request using recent session history.
- Sends the request to your configured AI backend.
- Control plane
- Used by the CLI for health, status, pairing, and config operations.
Example
When you runmoldable gateway status, the CLI talks to the running gateway to fetch a status snapshot while messages from Telegram still flow through the channel adapters.
Key components
- Gateway runtime: Orchestrates channels, pairing, routing, sessions, and AI.
- Channel adapters: Isolate channel-specific protocols.
- AI backends: The configured system the gateway calls to generate responses.
- Session store: Stores conversation history for context (in memory, and optionally persisted to disk).