Skip to content
PluginStats

@browserstack/ai-sdk weekly downloads statistics

By browserstack (6 listings) · npm · AI SDKs

BrowserStack AI SDK for Node.js — LLM observability, evaluation, and tracing

View on npm Fresh · Oct 17, 2026

@browserstack/ai-sdk has 1,721 recorded weekly downloads on npm, an increase of 58.5% over the past 30 days.

It ranks #1305 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +71.4%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
1,721
Official API · Oct 17, 2026
7-day growth
-53.9%
-2K weekly downloads
30-day growth
+58.5%
+635 weekly downloads
90-day growth
+71.4%
+717 weekly downloads
Rank
#1305
Among tracked npm listings

About @browserstack/ai-sdk

@browserstack/ai-sdk

A TypeScript/NodeJS SDK for AI application observability, testing, and evaluation.

Requires Node.js >= 18.

Installation

Quick Start

Auto-Instrumentation

Automatically trace LLM calls without code changes:

Configuration

The client can be configured using environment variables or constructor options:

Environment Variables

Memory and backpressure

The SDK holds trace data in memory between your call and a successful delivery. When ingestion is slow or failing, that held data is bounded by a byte budget — once the budget is reached the SDK sheds the oldest traces rather than growing until the process is killed.

| Variable | Default | What it controls |

| AISDK_MAX_HELD_BYTES | 104857600 (100 MB) | Total estimated bytes held across the queue and in-flight requests. The one knob to change if you need a different memory ceiling. | | AISDK_MAX_QUEUE_SIZE | 1000 | Items held before delivery. An independent cap — whichever binds first wins. | | AISDK_MAX_SOCKETS | 30 | Connection pool size. | | AISDK_BATCH_SIZE | 15 | Items per request. | | AISDK_BATCH_TIMEOUT_MS | 5000 | Longest a partial batch waits before being sent. | | AISDK_MAX_RETRIES | 3 | Retries after a failed attempt, so 4 total attempts. | | AISDK_REQUEST_TIMEOUT_MS | 30000 | Per-attempt request timeout. 0 disables it entirely. |

Sizing your container. AISDK_MAX_HELD_BYTES bounds the SDK's *tracked payload bytes*, not the process. Expect real RSS of roughly 1.8x the budget — a sustained-failure load test against the 100 MB default settles flat at ~180 MB. Budget for at least 2x on top of your application's own footprint.

Half the budget is reserved for in-flight requests and half for the queue, so a brief slowdown is absorbed rather than shed: queued items can still be delivered when the endpoint recovers, while in-flight ones are pinned until their retries finish.

Set plain byte counts. Suffixes are not parsed — AISDK_MAX_HELD_BYTES=100MB reads as 100 bytes, not 100 megabytes, and 1e6 reads as 1. Values below 64 KB are refused with a [CONFIG_REJECTED] line and the default is used instead.

Span attribute limits

OpenTelemetry defaults to 128 attributes per span, which a request advertising many tools (or a long agentic loop) can approach. The SDK raises this ceiling to 10000 by default — a backstop against an unbounded producer, not a payload guard.

| Variable | What it controls |

| OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT | Set to a number to use your own span attribute count limit instead of the SDK's default. | | OTEL_ATTRIBUTE_COUNT_LIMIT | Same override; OpenTelemetry's general (non-span-specific) variable, read when the one above is unset. |

Reading the logs

Four lines are printed by default, without AISDK_DEBUG, because they mean trace data is being discarded. Each is rate-limited to one line per minute and carries suppressed=N for the occurrences it stands for.

| Line | Meaning | What to do |

| [BUDGET_SHED] | The byte budget was reached; oldest traces dropped. | Ingestion is not keeping up. Check endpoint health first — raising the budget only delays this. | | [QUEUE_OVERFLOW] | The item cap was reached. | Raise AISDK_MAX_QUEUE_SIZE, or check endpoint health. | | [INFLIGHT_CAP] | Dispatch paused because in-flight bytes are at their ceiling. | Normal backpressure. Sustained appearances mean ingestion is degraded. | | [DROP] | A batch was discarded after exhausting its retries. | Delivery was never confirmed. The data may still have reached the server — X-Batch-Id lets ingestion dedupe a retried batch — so treat this as unconfirmed, not as certain loss. |

Everything else, including per-request diagnostics, requires AISDK_DEBUG=true.

Constructor Options

Description from the npm listing.

  • ai-sdk
  • testing
  • observability
  • tracing
  • nodejs
  • typescript
  • llm
  • evaluation
  • browserstack

Where @browserstack/ai-sdk sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 66, #6 (overall #1306)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 6, #11 (overall #111)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@browserstack/ai-sdk weekly downloads on npm, last 90 days: 1,721 weekly downloads as of Oct 17, 2026, +71.4% over 90 days.@browserstack/ai-sdkWeekly downloads on npm · Last 90 days1,721downloads / week+71.4% over 90 days01K2K3K4KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@browserstack/ai-sdk weekly downloads on npm, last 90 days: 1,721 weekly downloads as of Oct 17, 2026, +71.4% over 90 days.
PNG SVG

7/30/90-day growth

@browserstack/ai-sdk weekly downloads growth on npm: -53.9% over 7 days, +58.5% over 30 days, +71.4% over 90 days.@browserstack/ai-sdkWeekly downloads growth on npm1,721downloads / week now7-day growth-2,012 weekly downloads-53.9%30-day growth+635 weekly downloads+58.5%90-day growth+717 weekly downloads+71.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@browserstack/ai-sdk weekly downloads growth on npm: -53.9% over 7 days, +58.5% over 30 days, +71.4% over 90 days.
PNG SVG

Ranking history

@browserstack/ai-sdk npm ranking history: currently #1305 (by weekly downloads).@browserstack/ai-sdknpm ranking · by weekly downloads · Last 90 days#1305current rank#1303#1304#1305#1306#1307Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@browserstack/ai-sdk npm ranking history: currently #1305 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for @browserstack/ai-sdk
Date (UTC)Weekly downloadsChange vs. previous
1,721-60
1,781-41
1,822-800
2,622-800
3,4220
3,422-305
3,727-6
3,733-20
3,753+834
2,919+123
2,796-114
2,910-579
3,489+308
3,181—

Similar npm AI SDKs plugins

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