Skip to content
PluginStats

@byokit/decide weekly downloads statistics

By byokit (10 listings) · npm · AI SDKs

TypeScript kits that let people sign in to your app with the AI plans they already pay for, on web, phone and desktop.

View on npm Fresh · Oct 26, 2026 · data Oct 22, 2026

@byokit/decide has 2,053 recorded weekly downloads on npm.

Weekly downloads
2,053
Official API · Oct 22, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
—
Among tracked npm listings

About @byokit/decide

<h1 align="center">@byokit/decide</h1> <p align="center"> <a href="https://www.npmjs.com/package/@byokit/decide"><img alt="npm" src="https://img.shields.io/npm/v/@byokit/decide?style=flat&label=npm" /></a> <a href="https://github.com/umeranjum17/byokit/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/umeranjum17/byokit/ci.yml?style=flat&branch=main" /></a> <a href="LICENSE"><img alt="Apache 2.0" src="https://img.shields.io/badge/license-Apache--2.0-666?style=flat" /></a> <img alt="Node | browsers | React Native" src="https://img.shields.io/badge/platform-Node%20%7C%20browsers%20%7C%20React%20Native-666?style=flat" /> </p> <p align="center"><strong>Typed questions in, a typed answer with confidence out.</strong><br/> Below a floor it abstains, so your app takes its safe default (ask the person) instead of guessing. Backends are your own <code>rules</code>, any model you can send a prompt to (on a phone, the person's own plan), general models with structured answers, plan models with a plan key or plan account, and a billed model gateway. Labelled eval files set the floors.</p>

Install

npm install @byokit/decide

That is the whole tree for rules, any host-owned model behind answerer, and Jev: those backends run on plain fetch and install no further packages. Import them from @byokit/decide/slim (import { decide, rules, answerer, jev } from '@byokit/decide/slim') and bundlers resolve zero peers.

The remaining backends are optional peers npm skips unless the app installs them: @byokit/accounts for ChatGPT plan billing (openai({ auth: 'account', ... }), subscription) and the OpenCode Go plan account (opencodeGo({ account, ... }), subscription), and @byokit/pair for the paired Jev route (the host app keeps its API key (billed per use) in its own store). Account billing without the accounts peer throws UnsupportedAccountError naming @byokit/accounts. API-key OpenAI, API-key Anthropic and plain-key OpenCode Go need no peer at runtime. The main entry keeps every export and works either way.

npm · Latest release · All releases

Quickstart

npm install @byokit/decide

A rules-only backend: nothing leaves the device and no key is needed. The obvious case gets an answer; the rest abstains.

import { decide, rules, type Question } from '@byokit/decide';

const questions: Record<string, Question> = {
  intent: { kind: 'choice', options: { task: 'Something new to do', followup: 'About an earlier job', chat: 'Just talking' } },
};
const backends = [rules((s) => (/^(thanks|thank you)\b/i.test(s.text) ? 'chat' : undefined))];

for (const text of ['thanks, that worked!', 'can you check if the plumber replied?']) {
  const { intent } = await decide({ text }, questions, { privacy: 'stays-here', backends });
  console.log(text, '->', intent);
}
thanks, that worked! -> {
  answer: 'chat',
  confidence: 1,
  probabilities: { task: 0, followup: 0, chat: 1 },
  abstained: false,
  by: 'rules',
  ms: 0
}
can you check if the plumber replied? -> {
  answer: null,
  confidence: 0,
  abstained: true,
  reason: 'no answer',
  by: 'rules',
  ms: 0
}

Add a model after the rules for the cases they leave open. Jev is API-billed: it needs a TypeSafe or OpenRouter key that your host holds.

import { decide, jev, rules } from '@byokit/decide';

const backends = [
  rules((s) => (/^(thanks|thank you)\b/i.test(s.text) ? 'chat' : undefined)), // the obvious cases, free
  jev({ key: hostConfig.jevKey }),            // or jev({ key: openRouterKey, via: 'openrouter' })
];
const { intent } = await decide({ text: 'can you check if the plumber replied?' }, {
  intent: { kind: 'choice', options: { task: 'Something new to do', followup: 'About an earlier job', chat: 'Just talking' } },
}, { privacy: 'may-leave', backends });

if (intent.abstained) askThePerson(); else route(intent.answer);

API at a glance…

Description from the npm listing.

  • typescript
  • ai
  • ai-sdk
  • react-native
  • web
  • privacy

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

@byokit/decide weekly downloads on npm, last 90 days: 2,053 weekly downloads as of Oct 22, 2026.@byokit/decideWeekly downloads on npm · Last 90 days2,053downloads / week1.8K1.9K2K2.1K2.2K2.3KJul 24Aug 8Aug 23Sep 7Sep 22Oct 7Oct 22downloads / weekOct 22, 2026 – Oct 22, 2026 · 1 observations · Updated Oct 22, 2026pluginstats.com
@byokit/decide weekly downloads on npm, last 90 days: 2,053 weekly downloads as of Oct 22, 2026.

7/30/90-day growth

@byokit/decide weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@byokit/decideWeekly downloads growth on npm2,053downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 22, 2026pluginstats.com
@byokit/decide weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@byokit/decide has no ranking history on npm yet.@byokit/decidenpm ranking · by weekly downloads · Last 90 daysNo ranking observations in this periodno observations · 0 observations · Updated Oct 22, 2026pluginstats.com
@byokit/decide has no ranking history on npm yet.

Listing placement

All npm2,577 listings · 129 pages · 1,289 shown · page 74, #9 (overall #1,469)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs284 listings · 15 pages · page 6, #15 (overall #115)
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 (1)
Recent weekly downloads observations for @byokit/decide
Date (UTC)Weekly downloadsChange vs. previous
2,053—

Similar npm AI SDKs plugins

All 20 @byokit/decide 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/@byokit/decide. First seen Oct 26, 2026; last successful collection Oct 26, 2026. See the methodology.