Skip to content
PluginStats

@vitest-agent/plugin weekly downloads statistics

By vitest-agent · npm · Testing

Vitest plugin for the vitest-agent ecosystem: owns persistence, classification, baselines, trends, and dispatches rendering to a configurable reporter.

View on npm Fresh · Dec 6, 2026

@vitest-agent/plugin has 3,275 recorded weekly downloads on npm, an increase of 195% over the past 30 days, ranking #1698 of 3,247 tracked listings.

Weekly downloads
3,275
Official API · Dec 5, 2026
7-day growth
+77.8%
+1.4K weekly downloads
30-day growth
+195%
+2.2K weekly downloads
90-day growth
+124%
+1.8K weekly downloads
Rank
#1698
▲ 112 in 7 days

About @vitest-agent/plugin

@vitest-agent/plugin

npm License: MIT TypeScript 6.0

Vitest plugin that turns your test suite into a live data source for LLM coding agents. Handles persistence, failure classification, coverage policy enforcement and a configurable reporter chain — the CLI and MCP server ship as dependencies and are wired automatically.

Features

  • AgentPlugin — drop into vitest.config.ts; auto-detects human, agent and CI executors and adapts console output accordingly
  • Tag presets — AgentPlugin.TAGS defines unit, int (one minute per test) and e2e (two minutes, retried in CI), ready to spread into test.tags; your config states its own projects, and a test carries a tag because its file says so
  • Coverage targets — coverageTargets is a plain object of numbers. Coverage below a target is reported as its own verdict and never fails the run. For a hard gate, set Vitest's native coverage.thresholds as literal numbers; COVERAGE_AUTOUPDATE tolerance functions plug into its autoUpdate
  • Failure classification — persists per-test errors, computes failure signatures, classifies tests as stable, new-failure, persistent, flaky or recovered across runs
  • Custom reporters — pass any VitestAgentReporterFactory as the reporter option; the default wires DefaultVitestAgentReporter from @vitest-agent/reporter
  • onRunEvent tap — optional read-only callback receiving every RunEvent in parallel with the renderer, safe to throw from

Install

npm install --save-dev @vitest-agent/plugin
# or
pnpm add -D @vitest-agent/plugin

@vitest-agent/cli and @vitest-agent/mcp ship as regular dependencies of the plugin, so they install with it on every package manager.

Quick start

import { AgentPlugin } from "@vitest-agent/plugin";
import { defineConfig } from "vitest/config";

export default defineConfig({
  plugins: [
    AgentPlugin({
      console: { human: "stream", agent: "agent" },
      coverageTargets: { lines: 80, functions: 80, branches: 75, statements: 80 },
    }),
  ],
  test: {
    tags: [...AgentPlugin.TAGS],
    coverage: { provider: "v8" },
  },
});

Coverage is an opt-in run: vitest run records the tests alone, and vitest run --coverage (or the run_tests MCP tool with coverage: true) collects and records coverage too. A coverage run reports two verdicts: the test result, and coverage against your targets. A missed target never fails the run.

Tag a test file by putting @module-tag e2e in a comment at its top, or a single test with test("…", { tags: ["e2e"] }, …).

Upgrading from 6.x? AgentPlugin.discover() and DiscoverStrategy are gone. The agent plugin's /vitest-agent:eject skill rewrites a config to explicit projects and authored tags.

Documentation

Full guide, configuration reference and the Claude Code plugin docs live at vitest-agent.dev/guide.

License

MIT

Description from the npm listing.

  • vitest
  • vitest-plugin
  • agent
  • llm
  • ai
  • testing
  • sqlite
  • coverage
  • mcp

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

@vitest-agent/plugin weekly downloads on npm, last 90 days: 3,275 weekly downloads as of Dec 5, 2026, +124% over 90 days.@vitest-agent/pluginWeekly downloads on npm · Last 90 days3,275downloads / week+124% over 90 days01K2K3K4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@vitest-agent/plugin weekly downloads on npm, last 90 days: 3,275 weekly downloads as of Dec 5, 2026, +124% over 90 days.

7/30/90-day growth

@vitest-agent/plugin weekly downloads growth on npm: +77.8% over 7 days, +195% over 30 days, +124% over 90 days.@vitest-agent/pluginWeekly downloads growth on npm3,275downloads / week now7-day growth+1,433 weekly downloads+77.8%30-day growth+2,165 weekly downloads+195%90-day growth+1,816 weekly downloads+124%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@vitest-agent/plugin weekly downloads growth on npm: +77.8% over 7 days, +195% over 30 days, +124% over 90 days.

Ranking history

@vitest-agent/plugin npm ranking history: currently #1698 (by weekly downloads).@vitest-agent/pluginnpm ranking · by weekly downloads · Last 90 days#1698current rank#1200#1300#1400#1500#1600#1700#1800#1900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@vitest-agent/plugin npm ranking history: currently #1698 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 85, #18 (overall #1,698)
All npm: every listing in weekly downloads order

Listing placement

Testing26 listings · 2 pages · page 1, #6 (overall #6)
Testing: 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 @vitest-agent/plugin
Date (UTC)Weekly downloadsChange vs. previous
3,275+293
2,982+358
2,624+120
2,504-19
2,523+581
1,942+158
1,784-58
1,842+19
1,823+36
1,787+224
1,563+205
1,358-52
1,410-326
1,736—

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/@vitest-agent/plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.