What is the Router SDK?
The Router SDK lets you deploy BoostGPT bots across multiple messaging platforms with a single codebase. It uses the Core SDK internally and provides platform adapters.Installation
Quick Start
Supported Platforms
Discord
Discord bot integration
Telegram
Telegram bot integration
Slack
Slack app integration
WhatsApp Business API
Crisp
Crisp chat widget
Custom
Build your own adapter
How It Works
- Router receives message from any platform
- Your handler runs - Return string for custom response or
nullfor AI - Router uses AI - If you return
null, router calls BoostGPT - Response sent back to the platform
Key Features
- Multi-platform - One codebase for all platforms
- Command handling - Intercept specific commands
- Uses Core SDK - All bot features available
- Type-safe - Full TypeScript support
Message Handler
Multi-Platform Example
Deploy to Discord and Telegram simultaneously:Access Core SDK
Access the Core SDK directly when needed:Next Steps
Installation
Install and configure Router SDK
Message Handling
Handle messages and commands