Skip to content
PluginStats

@coder/ai-sdk-agent weekly downloads statistics

By coder (5 listings) · npm · AI SDKs

A Vercel AI SDK-compliant agent backed by Coder Agents, Coder's server-side agent runtime. `new CoderAgent()` returns a real AI SDK Agent (generate/stream).

View on npm Fresh · Oct 18, 2026

@coder/ai-sdk-agent has 724 recorded weekly downloads on npm, a decrease of 61.6% over the past 30 days, ranking #1493 of 2,322 tracked listings.

Weekly downloads
724
Official API · Oct 18, 2026
7-day growth
-40.7%
-496 weekly downloads
30-day growth
-61.6%
-1.2K weekly downloads
90-day growth
-33.7%
-368 weekly downloads
Rank
#1493
Among tracked npm listings

About @coder/ai-sdk-agent

@coder/ai-sdk-agent

CI npm License

A Vercel AI SDK agent backed by Coder Agents, Coder's server‑side agent runtime. new CoderAgent(...) implements the AI SDK's Agent interface (generate() / stream()): script it, stream from it, and attach your own tools exactly like the SDK's own ToolLoopAgent.

Coder Agents runs the complete agent loop server‑side: the multi‑step tool loop, built‑in tools, MCP, sub‑agents, multi‑provider model routing, and automatic context compaction. This package bridges it to the AI SDK's client‑side loop without re‑implementing the loop.

Status: targets Coder's stable chat API (/api/v2/chats), available since Coder 2.37.0 (September 1, 2026). This package remains pre‑1.0. See API compatibility for older deployments.

Contents

Get startedBuildReferenceRun in production
InstallCustom toolsAuthTimeouts & cancellation
Quick startFilesConfigurationHandling errors
ExamplesStructured outputAPI compatibilityCleanup
Agent vs. providerSessionsHow it worksUsage & cost
Rehydrating chat historyTestingObservability
Watching chatsLimitationsWorkspaces & quota
Workspace previewsDurable workflows
Sources

Agent vs. provider — which package?

@coder/ai-sdk-agent (this package)@coder/ai-sdk-provider
What runsCoder's server‑side agent: tool loop, built‑in tools, MCP servers, workspace‑scoped file/shell tools, sub‑agents, and compaction, on the deploymentPlain model calls through Coder's AI Gateway. A normal AI SDK provider: generateText, streamText, generateObject
Server stateEach CoderAgent is one server chat ("session"), bound to at most one workspaceNo chat, no workspace; natively cancelable
Structured outputThrough a tool call (Structured output)generateObject, schema‑constrained
Reach for it whenYou need server‑side tools, MCP, or a workspaceYou just need a model (plan / extract / summarize / classify)

They compose: a multi‑step pipeline often uses the provider for its pure text/JSON steps and the Agent only for the steps that touch tools.

Install

pnpm add @coder/ai-sdk-agent ai@^7 zod

Requires Node ≥ 22 and ai v7. The constructors throw an actionable error when another ai major is detected, instead of failing cryptically mid‑generation. The guard fails open when the installed version can't be resolved.

Quick start

import { CoderAgent } from "@coder/ai-sdk-agent";
import { tool } from "ai";
import { z } from "zod";…

Description from the npm listing.

  • agent
  • ai
  • ai-sdk
  • coder
  • llm
  • streaming
  • tools
  • vercel-ai-sdk

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

@coder/ai-sdk-agent weekly downloads on npm, last 90 days: 724 weekly downloads as of Oct 18, 2026, -33.7% over 90 days.@coder/ai-sdk-agentWeekly downloads on npm · Last 90 days724downloads / week-33.7% over 90 days02K4K6K8K10KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@coder/ai-sdk-agent weekly downloads on npm, last 90 days: 724 weekly downloads as of Oct 18, 2026, -33.7% over 90 days.

7/30/90-day growth

@coder/ai-sdk-agent weekly downloads growth on npm: -40.7% over 7 days, -61.6% over 30 days, -33.7% over 90 days.@coder/ai-sdk-agentWeekly downloads growth on npm724downloads / week now7-day growth-496 weekly downloads-40.7%30-day growth-1,163 weekly downloads-61.6%90-day growth-368 weekly downloads-33.7%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@coder/ai-sdk-agent weekly downloads growth on npm: -40.7% over 7 days, -61.6% over 30 days, -33.7% over 90 days.

Ranking history

@coder/ai-sdk-agent npm ranking history: currently #1493 (by weekly downloads).@coder/ai-sdk-agentnpm ranking · by weekly downloads · Last 90 days#1493current rank#1488#1490#1492#1494#1496Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@coder/ai-sdk-agent npm ranking history: currently #1493 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 75, #16 (overall #1,496)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 8, #16 (overall #156)
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 (122)
Recent weekly downloads observations for @coder/ai-sdk-agent
Date (UTC)Weekly downloadsChange vs. previous
724+184
540-392
932+145
787-223
1,010-247
1,2570
1,257+37
1,220-48
1,268+309
959-10
969-154
1,123-24
1,147-75
1,222—

Similar npm AI SDKs plugins

All 20 @coder/ai-sdk-agent 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/@coder/ai-sdk-agent. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.