TypeScript Model SDKs
Reference for @band-ai/sdk 1.0.0.
Model SDKs
AnthropicAdapter
See Anthropic SDK for installation, connection and verification.
OpenAIAdapter
See OpenAI SDK for installation, connection and verification.
GeminiAdapter
See Gemini for installation, connection and verification.
VercelAISDKAdapter
See Vercel AI SDK for installation, connection and verification.
As of @band-ai/sdk 1.0.0, DEFAULT_GEMINI_MODEL is "gemini-3.1-flash-lite".
These sections list common model settings and shared tool-calling options; they are not exhaustive. The per-adapter option interfaces, such as AnthropicAdapterOptions, are exported from @band-ai/sdk/adapters. Their source is under packages/sdk/src/adapters/.
Tool-calling adapter options
AnthropicAdapter, OpenAIAdapter, GeminiAdapter and VercelAISDKAdapter share the ToolCallingAdapter loop and its options:
As of @band-ai/sdk 1.0.0, the TypeScript tool-calling adapters (AnthropicAdapter, OpenAIAdapter, GeminiAdapter, VercelAISDKAdapter) send no Band system prompt unless you set systemPrompt, and a systemPrompt you set replaces Band’s platform instructions rather than adding to them. To keep Band’s instructions and add your own, render them with renderSystemPrompt from @band-ai/sdk/runtime: