← Back to Discover

BSDK

BSDK is a chat SDK that provides frontend and server pieces for adding AI to a web application while keeping control of the model and provider.

Libraries & SDKs

What it does

BSDK connects a user interface, a server runtime, a knowledge layer and tool orchestration for a website assistant. The frontend package is @bsdk/ui. The server package is @bsdk/server. Install the frontend with `pnpm add @bsdk/ui`. Install the backend with `pnpm add @bsdk/server`. Then run `pnpm dlx @bsdk/cli init` from the root of your backend/server application. The init command generates the BSDK setup files. These files include the configuration for the AI provider selected during setup.

Capabilities

  • Streaming chat interfaces and client-side AI interactions that fit directly into your application.
  • Server-side streaming, model execution and AI tool orchestration.
  • A knowledge layer that grounds responses in your website content.
  • Tools that the model can call when needed.
  • Model choice among Groq, Gemini, OpenAI, Anthropic or any compatible Vercel AI SDK model.

When to use it

  • You want to bring AI into your application without rebuilding the infrastructure around it.
  • You want a website assistant that answers from your website content.
  • You want your application's AI to run on a model and provider that you choose.