@moss-tools/vercel-sdk weekly downloads statistics
By moss-tools · npm · AI SDKs
Vercel AI SDK tools for MOSS semantic search
@moss-tools/vercel-sdk has 13 recorded weekly downloads on npm, a decrease of 98.2% over the past 30 days, ranking #2004 of 2,322 tracked listings.
About @moss-tools/vercel-sdk
@moss-tools/vercel-sdk
Vercel AI SDK 6 tool wrappers for MOSS semantic search.
Gives AI agents the ability to search, create indexes, and manage documents through MOSS — all via standard AI SDK tool() definitions.
Install
npm install @moss-tools/vercel-sdk @moss-dev/moss ai zod
Usage
import { MossClient } from '@moss-dev/moss';
import { mossSearchTool, mossCreateIndexTool } from '@moss-tools/vercel-sdk';
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
const client = new MossClient('your-project-id', 'your-project-key');
const result = await generateText({
model: openai('gpt-4o'),
tools: {
search: mossSearchTool({ client, indexName: 'docs' }),
createIndex: mossCreateIndexTool({ client }),
},
maxSteps: 5,
prompt: 'Find docs about neural networks and summarize them.',
});
Available tools
| Factory | Description | Mutating |
|---|---|---|
mossSearchTool | Semantic search | No |
mossAddDocsTool | Add documents to an index | Yes |
mossDeleteDocsTool | Delete documents by ID | Yes |
mossCreateIndexTool | Create a new index with documents | Yes |
mossLoadIndexTool | Load an index into memory for fast local queries | No |
mossListIndexesTool | List all indexes | No |
Mutating tools set needsApproval: true so the AI SDK can prompt for user confirmation.
Tool options
All tool factories accept:
client— aMossClientinstance (required)description— override the default tool description
Search, loadIndex, addDocs, and deleteDocs also accept:
indexName— prebind to a specific index. When omitted, the LLM must specify the index name as part of the tool input.
Examples
Prebound index (simpler schema for the LLM)
const search = mossSearchTool({ client, indexName: 'docs' });
// LLM only needs to provide: { query, topK? }
Dynamic index (LLM chooses the index)
const search = mossSearchTool({ client });
// LLM must provide: { indexName, query, topK? }
All tools
import {
mossSearchTool,
mossLoadIndexTool,
mossAddDocsTool,
mossDeleteDocsTool,
mossCreateIndexTool,
mossListIndexesTool,
} from '@moss-tools/vercel-sdk';
const tools = {
search: mossSearchTool({ client, indexName: 'docs' }),
loadIndex: mossLoadIndexTool({ client, indexName: 'docs' }),
addDocs: mossAddDocsTool({ client, indexName: 'docs' }),
deleteDocs: mossDeleteDocsTool({ client, indexName: 'docs' }),
createIndex: mossCreateIndexTool({ client }),
listIndexes: mossListIndexesTool({ client }),
};
License
See LICENSE.
Description from the npm listing.
- ai-sdk
- vercel-ai
- moss
- semantic-search
- inferedge
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm AI SDKs plugins
All 20 @moss-tools/vercel-sdk alternativesData 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/@moss-tools/vercel-sdk. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.