@beyond-bot-ai/sdk) is the official way to interact with the B-Bot Platform. It provides a type-safe interface to manage Distribution Channels (Assistants), Threads, and Runs, built on top of the LangGraph SDK but adapted for B-Bot’s terminology.
NPM Package
View on NPM
Installation
Quick Start
Initialize the client with your B-Bot API Key. The SDK is pre-configured to connect to the B-Bot API.Core Concepts
1. Distribution Channels
In B-Bot, AI Assistants are exposed as Distribution Channels. You can search, retrieve, and manage them using theclient.distributionChannels property.
2. Threads
Threads persist the state of a conversation. Every interaction happens within a thread.3. Streaming Runs
The SDK includes a powerful Streaming Handler (client.streamRun) that simplifies processing real-time events like token streaming, tool execution, and state updates.