Skip to content
PluginStats

@ai-sdk/harness-claude-code weekly downloads statistics

By ai-sdk (3 listings) · npm · Claude Code

`HarnessV1` adapter backed by [`@anthropic-ai/claude-agent-sdk`](https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdk), which drives the `claude` CLI. The adapter ships a bridge process that runs inside a sandbox and talks to the host over a WebSo

View on npm Fresh · Dec 6, 2026

@ai-sdk/harness-claude-code has 470,435 recorded weekly downloads on npm, an increase of 52.7% over the past 30 days, ranking #406 of 3,247 tracked listings.

Weekly downloads
470,435
Official API · Dec 5, 2026
7-day growth
+19.4%
+76.6K weekly downloads
30-day growth
+52.7%
+162.4K weekly downloads
90-day growth
+608%
+404K weekly downloads
Rank
#406
▲ 11 in 7 days

About @ai-sdk/harness-claude-code

AI SDK - Claude Code Harness

HarnessV1 adapter backed by @anthropic-ai/claude-agent-sdk, which drives the claude CLI. The adapter ships a bridge process that runs inside a sandbox and talks to the host over a WebSocket on a sandbox-proxied loopback port.

-> Note: This package is experimental.

Setup

npm i ai @ai-sdk/harness-claude-code @ai-sdk/harness @ai-sdk/sandbox-vercel zod

Usage

import { HarnessAgent } from '@ai-sdk/harness/agent';
import { createClaudeCode } from '@ai-sdk/harness-claude-code';
import { createVercelNetworkSandboxSession } from '@ai-sdk/sandbox-vercel';
import { tool } from 'ai';
import { z } from 'zod/v4';

const agent = new HarnessAgent({
  harness: createClaudeCode({
    skills: [
      {
        name: 'careful-refactors',
        description: 'Make minimal diffs and keep tests green.',
        content: 'Prefer changes that touch the fewest files possible.',
      },
    ],
  }),
  id: 'demo',
  tools: {
    deploy: tool({
      description: 'Deploy a service.',
      inputSchema: z.object({ env: z.enum(['staging', 'production']) }),
      execute: async ({ env }) => ({ url: `https://${env}.example.com` }),
    }),
  },
  harnessOptions: {
    'claude-code': {
      thinking: { type: 'adaptive', display: 'summarized' },
    },
  },
});

const sandboxSession = await createVercelNetworkSandboxSession({
  runtime: 'node24',
  ports: [4000],
  template: await agent.getSandboxTemplate(),
});
const session = await agent.createSession({ sandboxSession });

try {
  const result = await agent.generate({
    session,
    prompt: 'Read README.md and summarise the goals.',
  });
  console.log(result.text);
} finally {
  await session.destroy();
  await sandboxSession.destroy();
}

See the Claude Code Harness documentation for more information.

Description from the npm listing.

  • ai
  • harness
  • claude-code

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

@ai-sdk/harness-claude-code weekly downloads on npm, last 90 days: 470,435 weekly downloads as of Dec 5, 2026, +608% over 90 days.@ai-sdk/harness-claude-codeWeekly downloads on npm · Last 90 days470,435downloads / week+608% over 90 days0100K200K300K400K500K600KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@ai-sdk/harness-claude-code weekly downloads on npm, last 90 days: 470,435 weekly downloads as of Dec 5, 2026, +608% over 90 days.

7/30/90-day growth

@ai-sdk/harness-claude-code weekly downloads growth on npm: +19.4% over 7 days, +52.7% over 30 days, +608% over 90 days.@ai-sdk/harness-claude-codeWeekly downloads growth on npm470,435downloads / week now7-day growth+76,553 weekly downloads+19.4%30-day growth+162,433 weekly downloads+52.7%90-day growth+404,032 weekly downloads+608%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@ai-sdk/harness-claude-code weekly downloads growth on npm: +19.4% over 7 days, +52.7% over 30 days, +608% over 90 days.

Ranking history

@ai-sdk/harness-claude-code npm ranking history: currently #406 (by weekly downloads).@ai-sdk/harness-claude-codenpm ranking · by weekly downloads · Last 90 days#406current rank#400#420#440#460#480Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@ai-sdk/harness-claude-code npm ranking history: currently #406 (by weekly downloads).

Listing placement

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

Listing placement

Claude Code614 listings · 31 pages · page 1, #5 (overall #5)
Claude Code: 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 @ai-sdk/harness-claude-code
Date (UTC)Weekly downloadsChange vs. previous
470,435-38.7K
509,133+36.3K
472,858+25.6K
447,308+11.8K
435,544+23.6K
411,991+11.6K
400,386+6.5K
393,882-2
393,884-17.6K
411,524-22.9K
434,427-8.4K
442,818-9.3K
452,142-3.2K
455,297—

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/@ai-sdk/harness-claude-code. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.