Skip to content
PluginStats

ai-sdk-sandbox-docker weekly downloads statistics

By BrianHung (2 listings) · npm · AI SDKs

HarnessV1SandboxProvider implementation backed by a Docker container.

View on npm Fresh · Oct 17, 2026

ai-sdk-sandbox-docker has 683 recorded weekly downloads on npm, an increase of 787% over the past 30 days.

It ranks #1456 of 2,251 tracked npm listings by weekly downloads.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
683
Official API · Oct 17, 2026
7-day growth
-73.6%
-1.9K weekly downloads
30-day growth
+787%
+606 weekly downloads
90-day growth
—
Insufficient history
Rank
#1456
Among tracked npm listings

About ai-sdk-sandbox-docker

AI SDK - Docker Sandbox

_This package is experimental._

A HarnessV1SandboxProvider backed by a Docker container. Each session runs its file I/O, run, and spawn through docker exec, so the container is the trust boundary.

Requirements

A running Docker daemon and the docker CLI on the host.

Install

Usage

The factory is synchronous. createSession() creates the container and publishes its ports to 127.0.0.1.

networkSession.restricted() is typed as Experimental_SandboxSession, the reduced surface (file I/O, run, spawn) safe to pass to AI SDK tools via experimental_sandbox. The network session keeps the infra surface (ports, getPortUrl, setPorts, setNetworkPolicy, stop) that only the harness reaches for.

Configuration

• image Image for a created container. Ignored when container is set. Defaults to node:22. • container Attach to an existing container by name or id. The caller owns its lifecycle and port publishing; the provider never creates or removes it. • workdir Working directory inside the container. Defaults to /workspace. Relative paths in file operations resolve against it. • docker Path to the docker binary. Defaults to docker. • createArgs Extra arguments passed to docker run. Use it for volume mounts (-v), container env (-e), and networking (--network). • ports Ports to publish from container to host. The first port serves as the bridge; when omitted the provider leases one. • keep Keep a created container after the session stops. Defaults to false.

Mount a host directory to run the agent against a real repository:

Authentication

The provider uses the host's Docker configuration. To pull a private image, run docker login first. To target a remote daemon, set DOCKER_HOST or select a Docker context; the provider shells out to the same docker CLI and inherits that configuration.

Lifecycle

A created container is named ai-sdk-sandbox-. resumeSession({ sessionId }) rebinds to it by name without checking that it is still running; if the container is gone the first exec fails rather than the resume. stop() removes a container the provider created, unless keep is set. For an attached container (container set), stop() leaves it running.

Ports and network policy

Ports are published container to host 1:1 at creation, so getPortUrl resolves to http://127.0.0.1: and throws HarnessCapabilityUnsupportedError for a port that was not published. Docker cannot publish new ports to a running container, so a port requested after creation must already be in ports, and resumeSession and attach mode expose only the ports declared in ports. setNetworkPolicy is a no-op; fix the container network at boot with createArgs (for example --network).

Cancellation

spawn records the in-container PID and terminates it on kill() or stop(). Use those to cancel a spawned process. docker exec does not forward signals, so aborting through abortSignal only kills the local docker exec client: an aborted run, or an aborted spawn whose kill() you never call, leaves its command running in the container until the container stops.

License

Apache-2.0

Description from the npm listing.

  • ai
  • ai-sdk
  • harness
  • sandbox
  • docker

Where ai-sdk-sandbox-docker sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 73, #17 (overall #1457)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 8, #8 (overall #148)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

ai-sdk-sandbox-docker weekly downloads on npm, last 90 days: 683 weekly downloads as of Oct 17, 2026.ai-sdk-sandbox-dockerWeekly downloads on npm · Last 90 days683downloads / week05001K1.5K2K2.5K3KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
ai-sdk-sandbox-docker weekly downloads on npm, last 90 days: 683 weekly downloads as of Oct 17, 2026.
PNG SVG

7/30/90-day growth

ai-sdk-sandbox-docker weekly downloads growth on npm: -73.6% over 7 days, +787% over 30 days, 90-day growth unavailable.ai-sdk-sandbox-dockerWeekly downloads growth on npm683downloads / week now7-day growth-1,905 weekly downloads-73.6%30-day growth+606 weekly downloads+787%90-day growth+683 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
ai-sdk-sandbox-docker weekly downloads growth on npm: -73.6% over 7 days, +787% over 30 days, 90-day growth unavailable.
PNG SVG

Ranking history

ai-sdk-sandbox-docker npm ranking history: currently #1456 (by weekly downloads).ai-sdk-sandbox-dockernpm ranking · by weekly downloads · Last 90 days#1456current rank#1454#1455#1456#1457#1458Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
ai-sdk-sandbox-docker npm ranking history: currently #1456 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for ai-sdk-sandbox-docker
Date (UTC)Weekly downloadsChange vs. previous
683-485
1,168-720
1,888-858
2,746-156
2,9020
2,902+219
2,683+95
2,588+334
2,254+669
1,585+574
1,011-107
1,118-175
1,293-45
1,338—

Similar npm AI SDKs plugins

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-sandbox-docker. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.