Skip to main content
Build powerful chat bots and gateway integrations for Slack, Discord, and other messaging platforms.

Quick Start

1

Create a Bot

2

Handle Messages


Bot Types

BotConfig

BotUser

BotChannel

BotMessage


Bot Protocol


Gateway Types

GatewayConfig

GatewayMessage

GatewayEvent


Gateway Protocol


Failover Manager

Handle provider failover for high availability:

Autonomy Levels


Sandbox Types


Common Patterns


API Reference

BotProtocol

Bot protocol interface

GatewayProtocol

Gateway protocol interface

Best Practices

Configure multiple providers with FailoverManager for high availability.
Implement reconnection logic in your bot’s connect() method.
Add rate limiting to prevent overwhelming your agent with messages.

Slack Bot

Build Slack integrations

Voice

Voice-enabled agents