Skip to content
PluginStats

@inkeep/ai-sdk-provider weekly downloads statistics

By inkeep (2 listings) · npm · AI SDKs

AI SDK provider for Inkeep Agent Framework

View on npm Fresh · Oct 18, 2026

@inkeep/ai-sdk-provider has 212 recorded weekly downloads on npm, a decrease of 86.0% over the past 30 days, ranking #1665 of 2,322 tracked listings.

Weekly downloads
212
Official API · Oct 18, 2026
7-day growth
-91.1%
-2.2K weekly downloads
30-day growth
-86.0%
-1.3K weekly downloads
90-day growth
-49.4%
-207 weekly downloads
Rank
#1665
Among tracked npm listings

About @inkeep/ai-sdk-provider

@inkeep/ai-sdk-provider

AI SDK provider for Inkeep Agent Framework. This package allows you to use Inkeep agents through the Vercel AI SDK.

Installation

npm install @inkeep/ai-sdk-provider

Usage

Basic Usage

Text Generation
import { generateText } from 'ai';
import { createInkeep } from '@inkeep/ai-sdk-provider';

const inkeep = createInkeep({
  baseURL: proccess.env.INKEEP_AGENTS_RUN_API_URL, // Required
  apiKey: <your-agent-api-key>, // Created in the Agents Dashboard
  headers: { // Optional if you are developing locally and dont want to use an api key
    'x-inkeep-agent-id': 'your-agent-id',
    'x-inkeep-tenant-id': 'your-tenant-id',
    'x-inkeep-project-id': 'your-project-id',
  },
});

const { text } = await generateText({
  model: inkeep(),
  prompt: 'What is the weather in NYC?',
});

console.log(text);
Streaming Responses
import { streamText } from 'ai';
import { createInkeep } from '@inkeep/ai-sdk-provider';

const inkeep = createInkeep({
  baseURL: proccess.env.INKEEP_AGENTS_RUN_API_URL,
  apiKey: <your-agent-api-key>,
  headers: {
    'x-emit-operations': 'true', // Enable tool event streaming
  },
});

const result = await streamText({
  model: inkeep(),
  prompt: 'Plan an event in NYC',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}
createInkeep({
  baseURL: string,        // Required. Your agents-run-api URL
  apiKey?: string,        // Optional. Bearer token for authentication
  headers?: Record<string, string>, // Optional. Additional headers
})
Provider Options

Pass options when creating a provider instance:

const provider = inkeep({
  conversationId: 'conv-456',
  headers: { 'user-id': 'user-789' },
});
Additional Options
import { inkeep } from '@inkeep/ai-sdk-provider';
import { generateText } from 'ai';

const result = await generateText({
  model: inkeep({
    conversationId: 'conv-123',
    headers: {
      'user-id': 'user-456',
    },
  }),
  prompt: 'Hello!',
});

Configuration

Provider Settings

When creating a custom provider with createInkeep(), you can configure:

  • baseURL - Required. The base URL of your Inkeep agents API (can also be set via INKEEP_AGENTS_RUN_API_URL environment variable)
  • apiKey - Your Inkeep API key (can also be set via INKEEP_API_KEY environment variable)
  • headers - Additional headers to include in requests
Model Options

When creating a model instance, you can configure:

  • conversationId - Conversation ID for multi-turn conversations
  • headers - Additional headers for context (validated against agent's context config)

Environment Variables

  • INKEEP_AGENTS_RUN_API_URL - Base URL for the Inkeep agents API (unless provided via baseURL option)

Features

  • ✅ Text generation (generateText)
  • ✅ Streaming responses (streamText)
  • ✅ Multi-turn conversations
  • ✅ Custom headers for context
  • ✅ Authentication with Bearer tokens
  • ✅ Tool call observability (with x-emit-operations header)

API Endpoint

This provider communicates with the /run/api/chat endpoint of your Inkeep Agents Run API.

  • Non-streaming (generateText): Sends stream: false parameter - returns complete JSON response
  • Streaming (streamText): Sends stream: true parameter - returns Vercel AI SDK data stream

The endpoint supports both streaming and non-streaming modes and uses Bearer token authentication.

Tool Call Observability

To receive tool call and tool result events in your stream, include the x-emit-operations: true header:

import { streamText } from 'ai';
import { createInkeep } from '@inkeep/ai-sdk-provider';

const inkeep = createInkeep({
  baseURL: 'https://your-api.example.com',
  apiKey: process.env.INKEEP_API_KEY,
  headers: {
    'x-emit-operations': 'true', // Enable tool event streaming
  },
});

const result = await streamText({
  model: inkeep(),
  prompt: 'Search for recent papers on AI',
});

// Listen for all stream events
for await (const event of result.fullStream) {
  switch (event.type) {
    case 'text-start':
      console.log('📝 Text streaming started');
      break;
    case 'text-delta':
      process.stdout.write(event.delta);
      break;
    case 'text-end':
      console.log('\n📝 Text streaming ended');
      break;
    case 'tool-call':
      console.log(`🔧 Calling tool: ${event.toolName}`);
      console.log(`   Input: ${event.input}`);
      break;
    case 'tool-result':
      console.log(`✅ Tool result from: ${event.toolName}`);
      console.log(`   Output:`, event.result);
      break;
  }
}

Note: Tool events are only emitted when the x-emit-operations: true header is set. Without this header, you'll only receive text lifecycle events (text-start, text-delta, text-end) and the final response.

Supported Stream Events

The provider emits the following AI SDK v2 stream events:

Text Events (always emitted):

  • text-start - Marks the beginning of a text stream
  • text-delta - Text content chunks as they arrive
  • text-end - Marks the end of a text stream

Tool Events (requires x-emit-operations: true header):

  • tool-call - Agent is calling a tool
  • tool-result - Tool execution completed

Control Events (always emitted):

  • finish - Stream completion with usage statistics
  • error - Stream error occurred

Description from the npm listing.

  • ai
  • ai-sdk
  • inkeep
  • agents
  • provider
  • llm

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

@inkeep/ai-sdk-provider weekly downloads on npm, last 90 days: 212 weekly downloads as of Oct 18, 2026, -49.4% over 90 days.@inkeep/ai-sdk-providerWeekly downloads on npm · Last 90 days212downloads / week-49.4% over 90 days01K2K3K4K5KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@inkeep/ai-sdk-provider weekly downloads on npm, last 90 days: 212 weekly downloads as of Oct 18, 2026, -49.4% over 90 days.

7/30/90-day growth

@inkeep/ai-sdk-provider weekly downloads growth on npm: -91.1% over 7 days, -86.0% over 30 days, -49.4% over 90 days.@inkeep/ai-sdk-providerWeekly downloads growth on npm212downloads / week now7-day growth-2,162 weekly downloads-91.1%30-day growth-1,307 weekly downloads-86.0%90-day growth-207 weekly downloads-49.4%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@inkeep/ai-sdk-provider weekly downloads growth on npm: -91.1% over 7 days, -86.0% over 30 days, -49.4% over 90 days.

Ranking history

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

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 84, #9 (overall #1,669)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 11, #16 (overall #216)
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 @inkeep/ai-sdk-provider
Date (UTC)Weekly downloadsChange vs. previous
212-24
236-51
287+2
285-27
312-593
9050
905-1.5K
2,374-132
2,506-1.3K
3,769+17
3,752-269
4,021+572
3,449-3
3,452—

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/@inkeep/ai-sdk-provider. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.