Skip to content
PluginStats

@nyrra/foundry-ai weekly downloads statistics

By nyrra · npm · AI SDKs

Thin Palantir Foundry provider adapters and model catalog for the Vercel AI SDK.

View on npm Fresh · Oct 18, 2026

@nyrra/foundry-ai has 137 recorded weekly downloads on npm, a decrease of 92.9% over the past 30 days, ranking #1710 of 2,322 tracked listings.

Weekly downloads
137
Official API · Oct 18, 2026
7-day growth
-47.9%
-126 weekly downloads
30-day growth
-92.9%
-1.8K weekly downloads
90-day growth
+37.0%
+37 weekly downloads
Rank
#1710
Among tracked npm listings

About @nyrra/foundry-ai

@nyrra/foundry-ai

Use Vercel AI SDK language models, OpenAI embeddings, and realtime audio through Palantir Foundry's proxy endpoints.

Install

Install only the provider peers you use:

pnpm add @nyrra/foundry-ai ai@7 @ai-sdk/openai@4

Use @ai-sdk/anthropic for Claude and @ai-sdk/google for Gemini. Use @ai-sdk/xai@4 for Grok; third-party models use @ai-sdk/openai. Use stable AI SDK 7 with provider v4 for new integrations. AI SDK 6/provider v3 and the late SDK 7 beta line from 7.0.0-beta.187 remain compatible, but the current live survey uses stable SDK 7.

Configure and call a model

Set FOUNDRY_URL and FOUNDRY_TOKEN in your server environment. Optional variables are FOUNDRY_ATTRIBUTION_RID, FOUNDRY_TRACE_PARENT, and FOUNDRY_TRACE_STATE. Keep server tokens out of browser code.

import { loadFoundryConfig } from '@nyrra/foundry-ai';
import { createFoundryOpenAI } from '@nyrra/foundry-ai/openai';
import { generateText } from 'ai';

const openai = createFoundryOpenAI(loadFoundryConfig());
const { text } = await generateText({
  model: openai('gpt-5-mini'),
  prompt: 'Reply in one sentence.',
});
console.log(text);

For explicit configuration, pass { foundryUrl, token } to the factory. Other factories are createFoundryAnthropic, createFoundryGoogle, createFoundryXai, and createFoundryThirdParty, imported from their respective anthropic, google, xai, and third-party subpaths.

Models and test status covers model IDs, routing, known failures, and dated live results. Catalog membership alone does not establish feature support. CI verifies SDK compatibility offline; live Foundry probes are manual.

xAI / Grok

Install @ai-sdk/xai@4 with AI SDK 7 (or @ai-sdk/xai@3 with SDK 6). The xAI subpath does not require the OpenAI peer.

import { createFoundryXai } from '@nyrra/foundry-ai/xai';

const xai = createFoundryXai(loadFoundryConfig());
const model = xai('grok-4-6'); // Defaults to the xAI Responses route.
// Explicit routes: xai.responses('grok-4-6') or xai.chat('grok-4-6').

Grok uses model identity foundry-xai, catalog provider xai, registry prefix xai:, and providerOptions.xai. Both endpoints are beta. See xAI setup and migration and the current Grok results for verified capabilities and remaining gaps.

Embeddings and multiple providers

import { embed } from 'ai';

const { embedding } = await embed({
  model: openai.embeddingModel('text-embedding-3-small'),
  value: 'Text to embed',
});

Compose multiple providers with AI SDK createProviderRegistry; this package exports no registry wrapper. See the runnable examples for registry and tool workflows.

Server environment configuration is the validated runtime path. Palantir TSv1/TSv2 functions and PlatformClient fetch integration have not been verified end to end.

Realtime (AI SDK 7 only)

Use createFoundryRealtime and createFoundryRealtimeSetup from @nyrra/foundry-ai/realtime with gpt-realtime, gpt-realtime-1.5, or gpt-realtime-2. Install ai@7 and @ai-sdk/openai@4; this subpath uses the SDK's experimental realtime interface and does not support SDK 6.

Foundry authenticates WebSockets with the current user's access token. It does not use OpenAI's client-secret endpoint. See realtime setup and live results for the browser flow and the manual test command.

Agent skill

npx skills add https://github.com/shpitdev/foundry-ai --skill foundry-ai-provider

The package also ships the skill at skills/foundry-ai-provider/SKILL.md for TanStack Intent discovery.

Copyright 2026 SHPIT LLC. Apache-2.0.

Description from the npm listing.

  • ai
  • ai-sdk
  • ai-sdk-provider
  • foundry
  • llm-proxy
  • foundry-provider
  • palantir
  • palantir-foundry
  • ts
  • vercel-ai-sdk

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

@nyrra/foundry-ai weekly downloads on npm, last 90 days: 137 weekly downloads as of Oct 18, 2026, +37.0% over 90 days.@nyrra/foundry-aiWeekly downloads on npm · Last 90 days137downloads / week+37.0% over 90 days05001K1.5K2KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@nyrra/foundry-ai weekly downloads on npm, last 90 days: 137 weekly downloads as of Oct 18, 2026, +37.0% over 90 days.

7/30/90-day growth

@nyrra/foundry-ai weekly downloads growth on npm: -47.9% over 7 days, -92.9% over 30 days, +37.0% over 90 days.@nyrra/foundry-aiWeekly downloads growth on npm137downloads / week now7-day growth-126 weekly downloads-47.9%30-day growth-1,793 weekly downloads-92.9%90-day growth+37 weekly downloads+37.0%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@nyrra/foundry-ai weekly downloads growth on npm: -47.9% over 7 days, -92.9% over 30 days, +37.0% over 90 days.

Ranking history

@nyrra/foundry-ai npm ranking history: currently #1710 (by weekly downloads).@nyrra/foundry-ainpm ranking · by weekly downloads · Last 90 days#1710current rank#1620#1640#1660#1680#1700#1720Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@nyrra/foundry-ai npm ranking history: currently #1710 (by weekly downloads).

Listing placement

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

Listing placement

AI SDKs259 listings · 13 pages · page 12, #11 (overall #231)
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 (122)
Recent weekly downloads observations for @nyrra/foundry-ai
Date (UTC)Weekly downloadsChange vs. previous
137-9
146-54
200+11
189-56
245-37
2820
282+19
263+69
194+30
164-26
190+38
152+14
138-32
170—

Similar npm AI SDKs plugins

All 20 @nyrra/foundry-ai alternatives

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