Skip to content
PluginStats

@tanstack/ai-ollaya weekly downloads statistics

By tanstack (53 listings) · npm · AI SDKs

Ollaya adapter for TanStack AI — typed evaluate decisions against a local Ollaya / laya decision server.

View on npm Fresh · Oct 30, 2026

@tanstack/ai-ollaya has 3,528 recorded weekly downloads on npm, ranking #1314 of 2,687 tracked listings.

Weekly downloads
3,528
Official API · Oct 28, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1314
Among tracked npm listings

About @tanstack/ai-ollaya

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/ai.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/api/readme/ai.png" /> <img src="https://tanstack.com/api/readme/ai.png" alt="TanStack AI" width="900" /> </picture> </div> <br /> <div align="center"> <a href="https://npmjs.com/package/@tanstack/ai-ollaya" target="_parent"> <img alt="NPM downloads" src="https://img.shields.io/npm/dm/@tanstack/ai-ollaya.svg" /> </a> <a href="https://github.com/TanStack/ai" target="_parent"> <img alt="GitHub stars" src="https://img.shields.io/github/stars/TanStack/ai.svg?style=social&label=Star" /> </a> </div>

@tanstack/ai-ollaya

Ollaya adapter for TanStack AI. Call the open-source laya decision models with decide() and typed questions, running fully local. This package talks HTTP with fetch. It does not add an SDK.

Install

pnpm add @tanstack/ai @tanstack/ai-ollaya

Setup

Ollaya runs open decision models locally — think Ollama, but for the laya decision models instead of chat LLMs. No API key required.

  1. Install Ollaya. On macOS or Linux:

    curl -fsSL https://ollaya.dev/install.sh | sh
    

    On Windows, in PowerShell:

    irm https://ollaya.dev/install.ps1 | iex
    

    Downloads and the desktop app are on ollaya.dev/download.

  2. Start the server. It listens on http://127.0.0.1:11435 by default — the same URL this adapter defaults to.

    ollaya serve
    
  3. Pull a laya model (in another terminal):

    ollaya pull laya:latest        # router: picks laya:en or laya:multilingual
    # or a specific one:
    ollaya pull laya:en            # English (ModernBERT-large)
    ollaya pull laya:multilingual  # 100+ languages (mmBERT-base)
    
  4. Verify the model is available and the server answers:

    ollaya list
    ollaya run laya:latest --preset triage "My payouts have been failing for 3 days"
    

That's it — the adapter below talks to the running server over HTTP.

Usage

import { boolean, choice, decide, score } from '@tanstack/ai'
import { ollayaDecider } from '@tanstack/ai-ollaya'

const result = await decide({
  adapter: ollayaDecider('laya:latest'),
  state: ticket,
  questions: {
    queue: choice({
      instructions: 'Which team should handle this ticket?',
      options: {
        billing: 'Payments, invoices, refunds',
        tech: 'Bugs, outages, integrations',
        sales: 'Pricing, upgrades, new accounts',
      },
    }),
    urgency: score({
      instructions: 'How urgent is this ticket?',
      levels: ['low', 'medium', 'high'],
    }),
    refund: boolean({
      instructions: 'Is the customer asking for a refund?',
    }),
  },
})

result.queue.value
result.meta.model
result.meta.usage

Point the adapter at a non-default host with the baseURL option:

ollayaDecider('laya:latest', { baseURL: 'http://my-host:11435' })

Supported models

  • laya:latest — routes each request to laya:en or laya:multilingual by the text's script and language
  • laya:en — English decision model (ModernBERT-large)
  • laya:multilingual — decision model for 100+ languages (mmBERT-base)

You can also pass any other laya tag as a string.

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • ollaya
  • laya
  • adapter
  • evaluate
  • decide

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

@tanstack/ai-ollaya weekly downloads on npm, last 90 days: 3,528 weekly downloads as of Oct 28, 2026.@tanstack/ai-ollayaWeekly downloads on npm · Last 90 days3,528downloads / week3.1K3.2K3.3K3.4K3.5K3.6K3.7K3.8K3.9KJul 30Aug 14Aug 29Sep 13Sep 28Oct 13Oct 28downloads / weekOct 28, 2026 – Oct 28, 2026 · 1 observations · Updated Oct 28, 2026pluginstats.com
@tanstack/ai-ollaya weekly downloads on npm, last 90 days: 3,528 weekly downloads as of Oct 28, 2026.

7/30/90-day growth

@tanstack/ai-ollaya weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@tanstack/ai-ollayaWeekly downloads growth on npm3,528downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 28, 2026pluginstats.com
@tanstack/ai-ollaya weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@tanstack/ai-ollaya npm ranking history: currently #1314 (by weekly downloads).@tanstack/ai-ollayanpm ranking · by weekly downloads · Last 90 days#1314current rank#1312#1313#1314#1315#1316Aug 1Aug 16Aug 31Sep 15Sep 30Oct 15Oct 30rankOct 30, 2026 – Oct 30, 2026 · 1 observations · Updated Oct 28, 2026pluginstats.com
@tanstack/ai-ollaya npm ranking history: currently #1314 (by weekly downloads).

Listing placement

All npm2,686 listings · 135 pages · 1,345 shown · page 71, #16 (overall #1,416)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs301 listings · 16 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 @tanstack/ai-ollaya
Date (UTC)Weekly downloadsChange vs. previous
3,528—

Similar npm AI SDKs plugins

All 20 @tanstack/ai-ollaya 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/@tanstack/ai-ollaya. First seen Oct 30, 2026; last successful collection Oct 30, 2026. See the methodology.