Skip to content
PluginStats

@databricks/ai-sdk-provider weekly downloads statistics

By databricks (5 listings) · npm · AI SDKs

Databricks provider for Vercel AI SDK

View on npm Fresh · Oct 18, 2026

@databricks/ai-sdk-provider has 2,184 recorded weekly downloads on npm, a decrease of 63.7% over the past 30 days, ranking #1315 of 2,322 tracked listings.

Weekly downloads
2,184
Official API · Oct 18, 2026
7-day growth
-57.0%
-2.9K weekly downloads
30-day growth
-63.7%
-3.8K weekly downloads
90-day growth
-18.3%
-489 weekly downloads
Rank
#1315
Among tracked npm listings

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: 2,184 weekly downloads as of Oct 18, 2026, -18.3% over 90 days.@databricks/ai-sdk-providerWeekly downloads on npm · Last 90 days2,184downloads / week-18.3% over 90 days02K4K6K8K10KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@databricks/ai-sdk-provider weekly downloads on npm, last 90 days: 2,184 weekly downloads as of Oct 18, 2026, -18.3% over 90 days.

7/30/90-day growth

@databricks/ai-sdk-provider weekly downloads growth on npm: -57.0% over 7 days, -63.7% over 30 days, -18.3% over 90 days.@databricks/ai-sdk-providerWeekly downloads growth on npm2,184downloads / week now7-day growth-2,899 weekly downloads-57.0%30-day growth-3,831 weekly downloads-63.7%90-day growth-489 weekly downloads-18.3%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@databricks/ai-sdk-provider weekly downloads growth on npm: -57.0% over 7 days, -63.7% over 30 days, -18.3% over 90 days.

Ranking history

@databricks/ai-sdk-provider npm ranking history: currently #1315 (by weekly downloads).@databricks/ai-sdk-providernpm ranking · by weekly downloads · Last 90 days#1315current rank#400#600#800#1000#1200#1400Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@databricks/ai-sdk-provider npm ranking history: currently #1315 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 66, #18 (overall #1,318)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 6, #6 (overall #106)
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 (544)
Recent weekly downloads observations for @databricks/ai-sdk-provider
Date (UTC)Weekly downloadsChange vs. previous
2,184+330
1,854-1.5K
3,354+89
3,265-858
4,123-1.1K
5,1760
5,176+93
5,083-33
5,116+1.2K
3,878-1.1K
4,942-193
5,135-154
5,289-836
6,125—

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 Oct 20, 2026. See the methodology.