Skip to content
PluginStats

@databricks/ai-sdk-provider weekly downloads statistics

By databricks (4 listings) · npm · AI SDKs

Databricks provider for Vercel AI SDK

View on npm Fresh · Dec 6, 2026

@databricks/ai-sdk-provider has 4,087 recorded weekly downloads on npm, a decrease of 48.4% over the past 30 days, ranking #1607 of 3,247 tracked listings.

Weekly downloads
4,087
Official API · Dec 5, 2026
7-day growth
-25.0%
-1.4K weekly downloads
30-day growth
-48.4%
-3.8K weekly downloads
90-day growth
-16.6%
-813 weekly downloads
Rank
#1607
▼ 139 in 7 days

About @databricks/ai-sdk-provider

@databricks/ai-sdk-provider

Databricks provider for the Vercel AI SDK.

Features

  • 🚀 Support for all Databricks endpoint types:
    • Responses (agent/v1/responses) - Foundation model and agent responses API (docs)
    • Chat Completions (llm/v1/chat) - Foundation model chat completions API (docs)
    • Chat Agent (agent/v2/chat) - Legacy Databricks chat agent API (docs)
  • 🔄 Stream and non-stream (generate) support for all endpoint types
  • 🛠️ Tool calling and agent support
  • 🔐 Flexible authentication (bring your own tokens/headers)
  • 🎯 Full TypeScript support

Installation

npm install @databricks/ai-sdk-provider

Peer Dependencies

This package requires the following peer dependencies:

npm install @ai-sdk/provider @ai-sdk/provider-utils

To use the provider with AI SDK functions like generateText or streamText, also install:

npm install ai

Quick Start

import { createDatabricksProvider } from '@databricks/ai-sdk-provider'
import { generateText } from 'ai'

// Create provider with your workspace URL and authentication
const provider = createDatabricksProvider({
  baseURL: 'https://your-workspace.databricks.com/serving-endpoints',
  headers: {
    Authorization: `Bearer ${token}`,
  },
})

// Use the Responses endpoint
const model = provider.responses('your-agent-endpoint')

const result = await generateText({
  model,
  prompt: 'Hello, how are you?',
})

console.log(result.text)

Authentication

The provider requires you to pass authentication headers:

const provider = createDatabricksProvider({
  baseURL: 'https://your-workspace.databricks.com/serving-endpoints',
  headers: {
    Authorization: `Bearer ${token}`,
  },
})

API Reference

Main Export
createDatabricksProvider(settings)

Creates a Databricks provider instance.

Parameters:

  • settings.baseURL (string, required): Base URL for the Databricks API calls
  • settings.headers (object, optional): Custom headers to include in requests
  • settings.provider (string, optional): Provider name (defaults to "databricks")
  • settings.fetch (function, optional): Custom fetch implementation
  • settings.formatUrl (function, optional): Optional function to format the URL
  • settings.useRemoteToolCalling (boolean, optional): Enable remote tool calling mode (defaults to false). See Remote Tool Calling below.

Returns: DatabricksProvider with three model creation methods:

  • responses(modelId: string): Create a Responses model
  • chatCompletions(modelId: string): Create a Chat Completions model
  • chatAgent(modelId: string): Create a Chat Agent model
Remote Tool Calling

The useRemoteToolCalling option controls how tool calls from Databricks agents are handled. When enabled, tool calls are marked as dynamic: true and providerExecuted: true, which tells the AI SDK that:

  1. Dynamic: The tools are not pre-registered - the agent decides which tools to call at runtime
  2. Provider-executed: The tools are executed remotely by Databricks, not by your application
When to use useRemoteToolCalling: true

Enable this option when your Databricks agent handles tool execution internally:

  • Databricks Agents with built-in tools: Agents that use tools like Python execution, SQL queries, or other Databricks-managed tools
  • Agents on Apps: When deploying agents that manage their own tool execution
  • MCP (Model Context Protocol) integrations: When tools are executed via MCP servers managed by Databricks
const provider = createDatabricksProvider({
  baseURL: 'https://your-workspace.databricks.com/serving-endpoints',
  headers: { Authorization: `Bearer ${token}` },
  useRemoteToolCalling: true, // Enable for Databricks-managed tool execution
})
When NOT to use useRemoteToolCalling

Keep this option disabled (the default) when:

  • You define and execute tools locally: Your application registers tools with the AI SDK and handles their execution
  • Standard chat completions: You're using the Chat Completions endpoint without agent features
  • Hybrid scenarios: You want to intercept tool calls and handle some locally
// Default behavior - you handle tool execution
const provider = createDatabricksProvider({
  baseURL: 'https://your-workspace.databricks.com/serving-endpoints',
  headers: { Authorization: `Bearer ${token}` },
  // useRemoteToolCalling defaults to false
})

const result = await generateText({
  model: provider.chatCompletions('my-model'),
  prompt: 'What is the weather?',
  tools: {
    getWeather: {
      description: 'Get weather for a location',
      parameters: z.object({ location: z.string() }),
      execute: async ({ location }) => {
        // Your local tool execution
        return fetchWeather(location)
      },
    },
  },
})
Example: Remote tool calling with Databricks agents
import { streamText } from 'ai'
import { createDatabricksProvider } from '@databricks/ai-sdk-provider'

const provider = createDatabricksProvider({
  baseURL: 'https://your-workspace.databricks.com/serving-endpoints',
  headers: { Authorization: `Bearer ${token}` },
  useRemoteToolCalling: true,
})

const model = provider.responses('my-agent-endpoint')

const result = streamText({
  model,
  messages: convertToModelMessages(uiMessages),
  // No need to pre-register tools - they're handled by Databricks
})…

Description from the npm listing.

  • databricks
  • ai
  • ai-sdk
  • vercel
  • llm
  • language-model
  • agent
  • mcp

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@databricks/ai-sdk-provider weekly downloads on npm, last 90 days: 4,087 weekly downloads as of Dec 5, 2026, -16.6% over 90 days.@databricks/ai-sdk-providerWeekly downloads on npm · Last 90 days4,087downloads / week-16.6% over 90 days02K4K6K8K10K12K14KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@databricks/ai-sdk-provider weekly downloads on npm, last 90 days: 4,087 weekly downloads as of Dec 5, 2026, -16.6% over 90 days.

7/30/90-day growth

@databricks/ai-sdk-provider weekly downloads growth on npm: -25.0% over 7 days, -48.4% over 30 days, -16.6% over 90 days.@databricks/ai-sdk-providerWeekly downloads growth on npm4,087downloads / week now7-day growth-1,362 weekly downloads-25.0%30-day growth-3,835 weekly downloads-48.4%90-day growth-813 weekly downloads-16.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@databricks/ai-sdk-provider weekly downloads growth on npm: -25.0% over 7 days, -48.4% over 30 days, -16.6% over 90 days.

Ranking history

@databricks/ai-sdk-provider npm ranking history: currently #1607 (by weekly downloads).@databricks/ai-sdk-providernpm ranking · by weekly downloads · Last 90 days#1607current rank#400#600#800#1000#1200#1400#1600#1800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@databricks/ai-sdk-provider npm ranking history: currently #1607 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 81, #7 (overall #1,607)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 7, #10 (overall #130)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @databricks/ai-sdk-provider
Date (UTC)Weekly downloadsChange vs. previous
4,087-322
4,409-1.1K
5,501-271
5,772+79
5,693-23
5,716+65
5,651+202
5,4490
5,449+1K
4,448-29
4,477-326
4,803-147
4,950-854
5,804—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@databricks/ai-sdk-provider. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.