Skip to content
PluginStats

@aui-x/prism weekly downloads statistics

By aui-x · npm · AI SDKs

LLM tracing SDK for auix — AI SDK middleware + manual tracing

View on npm Stale · Oct 18, 2026

@aui-x/prism has 1,540 recorded weekly downloads on npm, a decrease of 42.3% over the past 30 days, ranking #1391 of 2,391 tracked listings.

Weekly downloads
1,540
Official API · Oct 18, 2026
7-day growth
-68.4%
-3.3K weekly downloads
30-day growth
-42.3%
-1.1K weekly downloads
90-day growth
-43.5%
-1.2K weekly downloads
Rank
#1391
Among tracked npm listings

About @aui-x/prism

@auix/prism

LLM tracing SDK for auix — collect LLM traces with zero friction.

Supports Vercel AI SDK, OpenAI, Anthropic, and manual tracing.

Install

npm install @auix/prism

Peer dependencies (install only what you use):

  • ai (>=6.0.0) + @ai-sdk/provider (>=2.0.0) — for AI SDK integration
  • openai (>=4.0.0) — for OpenAI integration
  • @anthropic-ai/sdk (>=0.30.0) — for Anthropic integration

Quick Start

AI SDK (recommended)

prismAISDK wraps any AI SDK model and automatically captures traces, token usage, latency, and tool calls. It creates a root trace internally and returns { model, end }:

import { AuixPrism, prismAISDK } from "@auix/prism";
import { openai } from "@ai-sdk/openai";
import { generateText } from "ai";

const tracer = new AuixPrism({ apiKey: "your-api-key" });

const traced = prismAISDK(tracer, openai("gpt-4o"), {
  name: "my-chat",
  tags: ["production"],
  endUserId: "user@example.com",
  metadata: { threadId: "t_123" },
});

const { text, usage } = await generateText({
  model: traced.model,
  prompt: "Hello!",
});

// Token usage is captured automatically from spans — just call end():
await traced.end();

// Or pass explicit values to override:
await traced.end({
  output: text,
  totalTokens: usage.totalTokens,
  inputTokens: usage.inputTokens,
  outputTokens: usage.outputTokens,
});

Multi-step tool use is handled correctly — each LLM call becomes a child span under the root trace, and token usage is automatically aggregated:

import { streamText, stepCountIs } from "ai";

const traced = prismAISDK(tracer, openai("gpt-4o"), {
  name: "agent",
  tags: ["chat"],
});

const result = streamText({
  model: traced.model,
  prompt: "What's the weather?",
  tools: { /* ... */ },
  stopWhen: stepCountIs(6),
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

await traced.end();
OpenAI

prismOpenAI returns a proxied client that traces chat.completions.create calls:

import { AuixPrism, prismOpenAI } from "@auix/prism";
import OpenAI from "openai";

const tracer = new AuixPrism({ apiKey: "your-api-key" });
const client = prismOpenAI(tracer, new OpenAI(), {
  name: "my-chat",
  tags: ["production"],
});

const response = await client.chat.completions.create({
  model: "gpt-4o",
  messages: [{ role: "user", content: "Hello!" }],
});
Anthropic

prismAnthropic returns a proxied client that traces messages.create calls:

import { AuixPrism, prismAnthropic } from "@auix/prism";
import Anthropic from "@anthropic-ai/sdk";

const tracer = new AuixPrism({ apiKey: "your-api-key" });
const client = prismAnthropic(tracer, new Anthropic(), {
  name: "my-chat",
  tags: ["production"],
});

const response = await client.messages.create({
  model: "claude-sonnet-4-20250514",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello!" }],
});
Manual Tracing

For full control over trace structure:

import { AuixPrism } from "@auix/prism";

const tracer = new AuixPrism({ apiKey: "your-api-key" });

const trace = tracer.startTrace({
  name: "rag-pipeline",
  metadata: { userId: "u_123" },
});

const span = trace.startSpan({
  name: "vector-search",
  type: "retrieval",
  input: { query: "How do I reset my password?" },
});

span.end({ output: { results: 5 }, status: "completed" });

trace.end({ output: "Here's how to reset...", status: "completed" });

await tracer.destroy();

API

new AuixPrism(config)
OptionTypeDefaultDescription
apiKeystringrequiredYour auix API key
baseUrlstring"https://api.auix.dev"API endpoint
sessionIdstring—Group traces under a session
transport(events) => Promise<void>—Custom transport (bypasses HTTP)
onFlushError(error) => void—Called when flush fails after retry
prismAISDK(tracer, model, options?)

Returns { model, end }. The model is a wrapped AI SDK model. Call end(opts?) after the generation completes to finalize the root trace.

OptionTypeDescription
namestringTrace name (defaults to model ID)
tagsstring[]Tags for filtering
metadataRecord<string, unknown>Arbitrary metadata
endUserIdstringEnd user identifier
prismOpenAI(tracer, client, options?)

Returns a proxied OpenAI client. Same options as prismAISDK plus parentTraceId for nesting under an existing trace.

prismAnthropic(tracer, client, options?)

Returns a proxied Anthropic client. Same options as prismOpenAI.

tracer.startTrace(options)

Returns a TraceHandle for manual tracing.

trace.startSpan(options)

Creates a child span. type can be "llm", "tool", "retrieval", or "custom".

tracer.destroy()

Flushes pending events and stops the background timer. Call this when done tracing.

License

Proprietary — see LICENSE.

Description from the npm listing.

  • ai
  • tracing
  • observability
  • ai-sdk
  • 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

@aui-x/prism weekly downloads on npm, last 90 days: 1,540 weekly downloads as of Oct 18, 2026, -43.5% over 90 days.@aui-x/prismWeekly downloads on npm · Last 90 days1,540downloads / week-43.5% over 90 days02K4K6K8K10KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
@aui-x/prism weekly downloads on npm, last 90 days: 1,540 weekly downloads as of Oct 18, 2026, -43.5% over 90 days.

7/30/90-day growth

@aui-x/prism weekly downloads growth on npm: -68.4% over 7 days, -42.3% over 30 days, -43.5% over 90 days.@aui-x/prismWeekly downloads growth on npm1,540downloads / week now7-day growth-3,333 weekly downloads-68.4%30-day growth-1,128 weekly downloads-42.3%90-day growth-1,185 weekly downloads-43.5%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@aui-x/prism weekly downloads growth on npm: -68.4% over 7 days, -42.3% over 30 days, -43.5% over 90 days.

Ranking history

@aui-x/prism npm ranking history: currently #1391 (by weekly downloads).@aui-x/prismnpm ranking · by weekly downloads · Last 90 days#1391current rank#1280#1300#1320#1340#1360#1380#1400Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 18, 2026 – Oct 21, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@aui-x/prism npm ranking history: currently #1391 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,196 shown · page 71, #6 (overall #1,406)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs264 listings · 14 pages · page 6, #13 (overall #113)
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 @aui-x/prism
Date (UTC)Weekly downloadsChange vs. previous
1,540-423
1,963-619
2,582-740
3,322-894
4,216-966
5,1820
5,182+309
4,873+636
4,237+241
3,996+629
3,367+778
2,589+760
1,829-122
1,951—

Similar npm AI SDKs plugins

All 20 @aui-x/prism 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/@aui-x/prism. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.