Feature
Backboard Official TypeScript SDK
What's New
Backboard released an official TypeScript SDK, giving developers a native, first-class way to integrate memory, state, and orchestration into TypeScript projects with full type safety.
Installation
Install via npm, yarn, or pnpm:
npm install @backboard/sdkyarn add @backboard/sdkpnpm add @backboard/sdk
Key Features
Full type safety: Generated types for all API endpoints, request/response bodies, and configuration objects.
Native async/await: Clean promise-based patterns for all operations.
Built-in retry logic: Automatic exponential backoff with configurable retry counts.
Streaming support: First-class streaming with typed event handlers for chat completions.
Tree-shakeable: Import only what you use — no bundle bloat.
Runtime Support
Node.js 18+ (LTS recommended)
Deno 1.38+
Bun 1.0+
Edge runtimes (Vercel Edge, Cloudflare Workers)
Browser (for client-side use with public API keys)
Quick Start
Initialize the client with your API key, then call any Backboard API method with full IntelliSense support. The SDK mirrors the REST API 1:1 — every endpoint documented in our API reference has a corresponding typed method.
Migration from REST
Drop-in replacement for raw
fetchcalls — same parameter names, same response shapes.Automatic header management (auth, content-type, user-agent).
Built-in request validation catches errors before they hit the network.
ON THIS PAGE
CATEGORY
Feature
PUBLISHED
SHARE