Skip to content
PluginStats

toolpick weekly downloads statistics

By pontusab (2 listings) · npm · AI SDKs

Dynamic tool selection for the Vercel AI SDK. Automatically picks the right tools per step.

View on npm Fresh · Dec 6, 2026

toolpick has 7,778 recorded weekly downloads on npm, a decrease of 56.2% over the past 30 days, ranking #1366 of 3,247 tracked listings.

Weekly downloads
7,778
Official API · Dec 5, 2026
7-day growth
-7.5%
-632 weekly downloads
30-day growth
-56.2%
-10K weekly downloads
90-day growth
+25.0%
+1.6K weekly downloads
Rank
#1366
▼ 58 in 7 days

About toolpick

toolpick

Your agent has 30 tools. The model sees all of them on every step — tool definitions eat thousands of tokens, the model picks the wrong one, and you're paying for context it doesn't need.

toolpick fixes this. It picks the right 5 tools per step so the model only sees what matters.

Install

npm install toolpick

Usage

import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
import { createToolIndex } from "toolpick";

const index = createToolIndex(allTools, {
  embeddingModel: openai.embeddingModel("text-embedding-3-small"),
});

const result = await generateText({
  model: openai("gpt-4o"),
  tools: allTools,
  prepareStep: index.prepareStep(),
  prompt: "ship it to prod",
});

Every step, toolpick selects the most relevant tools and sets activeTools automatically. The model only sees what it needs. All tools remain available for execution.

Works with generateText, streamText, and Experimental_Agent.

How it works

Pass an embedding model and toolpick indexes your tool names, descriptions, and parameters. On each step it runs a combined search — fast keyword matching plus semantic embeddings — and returns the best matches.

If the model can't find a useful tool, the next step automatically pages to a fresh set it hasn't seen yet. Two misses in a row? All tools get exposed as a fallback. Your agent never gets stuck.

If the embedding API goes down, it silently falls back to keyword-only search. No crashes.

LLM re-ranking

For maximum accuracy, add a rerankerModel. The combined search fetches candidates, then a cheap LLM picks the best ones using reasoning — handling slang, abbreviations, and context that embeddings alone miss.

const index = createToolIndex(allTools, {
  embeddingModel: openai.embeddingModel("text-embedding-3-small"),
  rerankerModel: openai("gpt-4o-mini"),
});

This takes accuracy from 84% to 100% on blind user queries. Cost: ~$0.0001 per step (gpt-4o-mini).

Description enrichment

For an extra boost, enrichDescriptions expands your tool descriptions with synonyms and alternative phrasings at startup. This is a one-time LLM call during warmUp():

const index = createToolIndex(allTools, {
  embeddingModel: openai.embeddingModel("text-embedding-3-small"),
  rerankerModel: openai("gpt-4o-mini"),
  enrichDescriptions: true,
});

await index.warmUp();

Model-driven discovery

For agents that need to discover tools outside the current selection, expose the built-in search tool:

const result = await generateText({
  model: openai("gpt-4o"),
  tools: {
    ...allTools,
    search_tools: index.searchTool(),
  },
  prepareStep: index.prepareStep({ alwaysActive: ["search_tools"] }),
  prompt: "find and use the right tool",
});

The model can call search_tools to browse the full catalog and request specific tools be activated. This mirrors how Anthropic's tool search works — but for any model.

Caching

Tool description embeddings are computed once at startup. Cache them to skip the API call on restarts:

import { createToolIndex, fileCache } from "toolpick";

const index = createToolIndex(allTools, {
  embeddingModel: openai.embeddingModel("text-embedding-3-small"),
  embeddingCache: fileCache(".toolpick-cache.json"),
});

await index.warmUp();

Accuracy

Tested with 19 blind user queries — slang, vague language, no keyword overlap — against 30 real SaaS tools:

StrategyTop-5 accuracyCost per query
Keyword only31%Free
Embeddings only79%~$0.00002
Combined (default)84%~$0.00002
Combined + LLM re-ranking100%~$0.0001

Queries like "ship it", "ping the team", "file a bug", "get the CI running", and "compress this photo" all resolve to the correct tool.

Options

const index = createToolIndex(tools, {
  embeddingModel: model,          // enables combined search (recommended)
  rerankerModel: model,           // LLM re-ranking for max accuracy
  enrichDescriptions: true,       // expand descriptions with synonyms at warmUp
  embeddingCache: fileCache(path), // persist embeddings to disk
  strategy: "hybrid",             // force keyword-only (free, no API calls)
});

await index.select(query, {
  maxTools: 5,                    // ceiling, not fixed count
  adaptive: true,                 // cut early when scores drop off
  alwaysActive: ["search_tools"], // always include these
  threshold: 0.3,                 // minimum relevance score
});

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • tools
  • tool-selection
  • activeTools
  • vercel
  • llm
  • agent

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

toolpick weekly downloads on npm, last 90 days: 7,778 weekly downloads as of Dec 5, 2026, +25.0% over 90 days.toolpickWeekly downloads on npm · Last 90 days7,778downloads / week+25.0% over 90 days05K10K15K20KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
toolpick weekly downloads on npm, last 90 days: 7,778 weekly downloads as of Dec 5, 2026, +25.0% over 90 days.

7/30/90-day growth

toolpick weekly downloads growth on npm: -7.5% over 7 days, -56.2% over 30 days, +25.0% over 90 days.toolpickWeekly downloads growth on npm7,778downloads / week now7-day growth-632 weekly downloads-7.5%30-day growth-9,991 weekly downloads-56.2%90-day growth+1,557 weekly downloads+25.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
toolpick weekly downloads growth on npm: -7.5% over 7 days, -56.2% over 30 days, +25.0% over 90 days.

Ranking history

toolpick npm ranking history: currently #1366 (by weekly downloads).toolpicknpm ranking · by weekly downloads · Last 90 days#1366current rank#1000#1050#1100#1150#1200#1250#1300#1350#1400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
toolpick npm ranking history: currently #1366 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 69, #6 (overall #1,366)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 5, #15 (overall #95)
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 (170)
Recent weekly downloads observations for toolpick
Date (UTC)Weekly downloadsChange vs. previous
7,778+108
7,670+159
7,511+346
7,165-132
7,297-456
7,753-276
8,029-381
8,410-100
8,510-177
8,687+158
8,529+333
8,196+180
8,016+119
7,897—

Similar npm AI SDKs plugins

All 20 toolpick 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/toolpick. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.