Two SDKs, One Platform
BoostGPT provides two complementary SDKs that work together:Core SDK
boostgptManage bots, chat API, training data, and knowledge baseRouter SDK
@boostgpt/routerDeploy bots to Discord, Telegram, Slack, WhatsApp, and CrispWhen to Use Each SDK
- Core SDK
- Router SDK
- Both Together
Use the Core SDK when you need to:
- Create and manage AI bots
- Configure bot behavior and models
- Add training data and knowledge sources
- Send chat messages programmatically
- Search your bot’s knowledge base
- Manage chat history
- Build custom web interfaces
Architecture Overview
Feature Comparison
Installation
- Core SDK Only
- Router SDK Only
- Both
Common Patterns
Pattern 1: Web App + API
Use Core SDK only for web applications:Pattern 2: Multi-Channel Bot
Use Router SDK for omnichannel deployment:Pattern 3: Dynamic Bot Configuration
Use both SDKs for advanced use cases:Module Systems
Both SDKs support ES Modules and CommonJS:- ES Modules (Recommended)
- CommonJS
"type": "module" in package.json or .mjs file extension.Next Steps
Core SDK Installation
Install and configure the Core SDK
Router SDK Installation
Install and configure the Router SDK
Core API Reference
Explore Core SDK methods
Router API Reference
Explore Router SDK methods