Skip to content
PluginStats

bashkit weekly downloads statistics

By jbreite · npm · AI SDKs

Agentic coding tools for the Vercel AI SDK

View on npm Fresh · Dec 6, 2026

bashkit has 363 recorded weekly downloads on npm, a decrease of 93.2% over the past 30 days, ranking #2333 of 3,247 tracked listings.

Weekly downloads
363
Official API · Dec 5, 2026
7-day growth
+33.5%
+91 weekly downloads
30-day growth
-93.2%
-5K weekly downloads
90-day growth
+119%
+197 weekly downloads
Rank
#2333
▼ 25 in 7 days

About bashkit

bashkit

npm

Agentic coding tools for Vercel AI SDK. Give AI agents the ability to execute code, read/write files, and perform coding tasks in a sandboxed environment.

Overview

bashkit provides a set of tools that work with the Vercel AI SDK to enable agentic coding capabilities. It gives AI models like Claude the ability to:

  • Execute bash commands in a persistent shell
  • Read files and list directories
  • Create and write files
  • Edit existing files with string replacement
  • Search for files by pattern
  • Search file contents with regex
  • Spawn sub-agents for complex tasks
  • Track task progress with todos
  • Search the web and fetch URLs
  • Load skills on-demand via the Agent Skills standard

Breaking Changes in v0.4.0

Nullable Types for OpenAI Compatibility

All optional tool parameters now use .nullable() instead of .optional() in Zod schemas. This change enables compatibility with OpenAI's structured outputs, which require all properties to be in the required array.

What changed:

  • Tool input types changed from T | undefined to T | null
  • Exported interfaces (QuestionOption, StructuredQuestion) use T | null
  • AI models will send explicit null values instead of omitting properties

Migration:

// Before v0.4.0
const option: QuestionOption = { label: "test", description: undefined };

// v0.4.0+
const option: QuestionOption = { label: "test", description: null };

Why this matters:

  • Works with both OpenAI and Anthropic models
  • OpenAI structured outputs require nullable (not optional) fields
  • Anthropic/Claude handles nullable fields correctly
  • The ?? operator handles both null and undefined, so runtime behavior is unchanged

Installation

bun add bashkit ai zod

For web tools, also install:

bun add parallel-web

Quick Start

With Filesystem Access (Desktop Apps, Local Scripts, Servers)

When you have direct filesystem access, use LocalSandbox:

import { createAgentTools, createLocalSandbox } from 'bashkit';
import { anthropic } from '@ai-sdk/anthropic';
import { generateText, stepCountIs } from 'ai';

// Create a local sandbox (runs directly on your filesystem)
const sandbox = createLocalSandbox({ cwd: '/tmp/workspace' });

// Create tools bound to the sandbox
const { tools } = createAgentTools(sandbox);

// Use with Vercel AI SDK
const result = await generateText({
  model: anthropic('claude-sonnet-4-5'),
  tools,
  prompt: 'Create a simple Express server in server.js',
  stopWhen: stepCountIs(10),
});

console.log(result.text);

// Cleanup
await sandbox.destroy();
Without Filesystem Access (Web/Serverless Environments)

When you're in a web or serverless environment without filesystem access, use VercelSandbox or E2BSandbox:

import { createAgentTools, createVercelSandbox } from 'bashkit';
import { anthropic } from '@ai-sdk/anthropic';
import { streamText, stepCountIs } from 'ai';

// Create a Vercel sandbox (isolated Firecracker microVM)
// Note: async - automatically sets up ripgrep for Grep tool
const sandbox = await createVercelSandbox({
  runtime: 'node22',
  resources: { vcpus: 2 },
});

const { tools } = createAgentTools(sandbox);

const result = streamText({
  model: anthropic('claude-sonnet-4-5'),
  messages,
  tools,
  stopWhen: stepCountIs(10),
});

// Cleanup
await sandbox.destroy();

Available Tools

Default Tools (always included)
ToolPurposeKey Inputs
BashExecute shell commandscommand, timeout?, description?
ReadRead files or list directoriesfile_path, offset?, limit?
WriteCreate/overwrite filesfile_path, content
EditReplace strings in filesfile_path, old_string, new_string, replace_all?
GlobFind files by patternpattern, path?
GrepSearch file contentspattern, path?, output_mode?, -i?, -C?
Optional Tools (via config)
ToolPurposeConfig Key
AskUserAsk user clarifying questionsaskUser: true
EnterPlanModeEnter planning/exploration modeplanMode: true
ExitPlanModeExit planning mode with a planplanMode: true
SkillExecute skillsskill: { skills }
WebSearchSearch the webwebSearch: { apiKey }
WebFetchFetch URL and process with AIwebFetch: { apiKey, model }
Workflow Tools (created separately)
ToolPurposeFactory
TaskSpawn sub-agentscreateTaskTool({ model, tools, subagentTypes? })
TodoWriteTrack task progresscreateTodoWriteTool(state, config?, onUpdate?)
Web Tools (require parallel-web peer dependency)
ToolPurposeFactory
WebSearchSearch the webcreateWebSearchTool({ apiKey })
WebFetchFetch URL and process with AIcreateWebFetchTool({ apiKey, model })

Sandbox Types

LocalSandbox

Runs commands directly on your filesystem. Use when you have filesystem access (desktop apps, local scripts, servers you control).

import { createLocalSandbox } from 'bashkit';

const sandbox = createLocalSandbox({ cwd: '/tmp/workspace' });
VercelSandbox

Runs in isolated Firecracker microVMs on Vercel's infrastructure. Use when you don't have filesystem access (web apps, serverless functions, browser environments).

import { createVercelSandbox } from 'bashkit';

// Async - automatically installs ripgrep for Grep tool
const sandbox = await createVercelSandbox({
  runtime: 'node22',
  resources: { vcpus: 2 },
  // ensureTools: true (default) - auto-setup ripgrep
  // ensureTools: false - skip for faster startup if you don't need Grep
});…

Description from the npm listing.

  • ai
  • agent
  • vercel
  • ai-sdk
  • sandbox
  • tools
  • bash
  • code-execution

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

bashkit weekly downloads on npm, last 90 days: 363 weekly downloads as of Dec 5, 2026, +119% over 90 days.bashkitWeekly downloads on npm · Last 90 days363downloads / week+119% over 90 days02K4K6K8K10KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
bashkit weekly downloads on npm, last 90 days: 363 weekly downloads as of Dec 5, 2026, +119% over 90 days.

7/30/90-day growth

bashkit weekly downloads growth on npm: +33.5% over 7 days, -93.2% over 30 days, +119% over 90 days.bashkitWeekly downloads growth on npm363downloads / week now7-day growth+91 weekly downloads+33.5%30-day growth-4,962 weekly downloads-93.2%90-day growth+197 weekly downloads+119%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
bashkit weekly downloads growth on npm: +33.5% over 7 days, -93.2% over 30 days, +119% over 90 days.

Ranking history

bashkit npm ranking history: currently #2333 (by weekly downloads).bashkitnpm ranking · by weekly downloads · Last 90 days#2333current rank#1000#1200#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
bashkit npm ranking history: currently #2333 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 117, #13 (overall #2,333)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 14, #15 (overall #275)
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 bashkit
Date (UTC)Weekly downloadsChange vs. previous
363-6
369+21
348+56
292+13
279+21
258+5
253-19
272+9
263-12
275-12
287-19
306+6
300-32
332—

Similar npm AI SDKs plugins

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