- SDK
- SDK Overview
SDK
SDK Overview
Explore the Backboard SDK with detailed examples for tool calls, documents, memory, streaming, and thinking.
​Getting Started
For a complete step-by-step guide on setting up your API key and sending your first message, see the Quickstart Guide.
​Installation
Python
JavaScript/TypeScript
pip install backboard-sdk
​SDK Guides
Explore detailed examples for each SDK feature:
First Message
Send a message in one call — no setup needed. Customize model, memory, tools, and more per-turn.
Continuing conversations
Use thread_id for the same chat, or assistant_id to share memory across new chats.
Create & update assistants
Create named AI profiles with tools, docs defaults, and embedding settings via the SDK.
Tool Calls
Define custom functions, handle tool call requests, and chain multiple rounds.
Documents
Upload, list, poll, and delete documents for RAG across assistants and threads.
Memory
Memory Lite and Pro modes, plus manual CRUD for listing, searching, and managing memories.
Web Search
Enable real-time web search and combine it with memory for up-to-date responses.
Thinking
Enable step-by-step reasoning for complex tasks across 7+ providers.
​Streaming vs Non-Streaming
Each guide provides examples for both streaming and non-streaming modes:
- Non-Streaming (
stream=false): Wait for the complete response before processing. Best for simple use cases where you need the full response at once. - Streaming (
stream=true): Process response chunks as they arrive via SSE. Best for real-time applications and better user experience with long responses.
​Language Support
All examples are available in three languages:
- Python — Async/await pattern with
BackboardClient - JavaScript — CommonJS with Promise-based API
- TypeScript — Full type safety with interfaces and type definitions