- SDK
- SDK Overview
SDK
SDK Overview
Explore the Backboard SDK with detailed examples for tool calls, documents, memory, and streaming.
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
Create an assistant, thread, and send your first message with model selection and memory.
Assistants
Create, list, update, and delete assistants with tools and custom prompts.
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.
Streaming vs Non-Streaming
Each guide provides examples for both streaming and non-streaming modes:
- Non-Streaming: Wait for the complete response before processing. Best for simple use cases where you need the full response at once.
- Streaming: Process response chunks as they arrive. 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