@aparte/provider-ai-sdk weekly downloads statistics
Bridge any Vercel AI SDK model into aparté — bring your own @ai-sdk/* package (Anthropic, Google, OpenAI, 25+ vendors) and aparté renders it.
@aparte/provider-ai-sdk has 2,229 recorded weekly downloads on npm, ranking #1421 of 2,667 tracked listings.
About @aparte/provider-ai-sdk
@aparte/provider-ai-sdk
Bridge any Vercel AI SDK model into aparté. aparté's own wire
concern is deliberately tiny — @aparte/provider-openai-compat covers the
one de-facto-standard format; everything else (Anthropic, Google, Bedrock, 25+ vendors) rides
the AI SDK ecosystem through this bridge. You bring your @ai-sdk/* package, hand its model to
createAiSdkProvider, and the bridge maps streamText's fullStream to aparté's events.
npm install @aparte/provider-ai-sdk @aparte/core ai @ai-sdk/anthropic
ai and your chosen @ai-sdk/* vendor package are peer dependencies — you pick the
versions, and only the vendors you actually use end up in your bundle. @aparte/core is a
peer too.
import { createAnthropic } from '@ai-sdk/anthropic';
import { createAiSdkProvider } from '@aparte/provider-ai-sdk';
import { aparteGlobalConfig } from '@aparte/core';
aparteGlobalConfig.registerAIProvider(createAiSdkProvider({
id: 'anthropic',
name: 'Anthropic',
models: [{ id: 'claude-sonnet-4-5', name: 'Claude Sonnet 4.5' }],
languageModel: (modelId, auth) =>
createAnthropic({ apiKey: typeof auth === 'string' ? auth : auth?.['apiKey'] })(modelId),
}));
ai is a peerDependency pinned to the verified major (^7) — this bridge is the only
aparté module touching the SDK's types. @aparte/core is a peer dependency.
Sources and citations
A model that searches the web or reads documents reports what it drew on as source parts
in the SDK's stream. The bridge collects them and ends the turn with one sources event, just
before done: aparté lists the sources under the reply, and puts a chip in the text wherever
the vendor says a passage is cited. Nothing to configure — a model that reports no source
leaves the stream as it was.
import { createPerplexity } from '@ai-sdk/perplexity';
import { createAiSdkProvider } from '@aparte/provider-ai-sdk';
import { aparteGlobalConfig } from '@aparte/core';
// Sonar searches the web: each page it reads arrives as a `source` part.
aparteGlobalConfig.registerAIProvider(createAiSdkProvider({
id: 'perplexity',
name: 'Perplexity',
models: [{ id: 'sonar', name: 'Sonar' }],
languageModel: (modelId, auth) =>
createPerplexity({ apiKey: typeof auth === 'string' ? auth : auth?.['apiKey'] })(modelId),
}));
- A
urlsource becomes{ id, url, title }; adocumentsource{ id, title }(its filename when it has no title) and no link. The same URL reported twice is one source. - From
ai7.0.138 atext-endpart may carrycitations: each names a source and, when the vendor says so, the passage it supports, with offsets relative to that text part. The bridge rebases them onto the whole reply, so the chip lands after the right sentence. A citation with no offsets supports its whole text part; a vendor'scitedTextbecomes the source's snippet. On an olderaithe field is simply absent and only the list of sources is shown. - A non-streamed request (
stream: false) that cites sources returns the stream[text, sources, done]instead of a bare string; one that cites nothing still returns the string.
Works on the server too. This bridge touches no DOM, and core resolves its DOM-free entry under Node's export condition — so it runs in a backend, an Electron main process or an SSR pass as well as in the browser.
Part of the aparté monorepo. ESM-only. See the Providers guide in the docs for the full usage.
Description from the npm listing.
- ai
- provider
- vercel-ai-sdk
- ai-sdk
- anthropic
- llm
- bridge
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (1)Similar npm AI SDKs plugins
All 20 @aparte/provider-ai-sdk alternativesData 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/@aparte/provider-ai-sdk. First seen Oct 29, 2026; last successful collection Oct 29, 2026. See the methodology.