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 · Dec 5, 2026

@coder/ai-sdk-agent has 197 recorded weekly downloads on npm, a decrease of 86.4% over the past 30 days, ranking #2500 of 3,247 tracked listings.

Weekly downloads
197
Official API · Dec 5, 2026
7-day growth
-5.3%
-11 weekly downloads
30-day growth
-86.4%
-1.2K weekly downloads
90-day growth
-94.2%
-3.2K weekly downloads
Rank
#2500
▼ 128 in 7 days

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: 197 weekly downloads as of Dec 5, 2026, -94.2% over 90 days.@coder/ai-sdk-agentWeekly downloads on npm · Last 90 days197downloads / week-94.2% over 90 days01K2K3K4K5K6KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@coder/ai-sdk-agent weekly downloads on npm, last 90 days: 197 weekly downloads as of Dec 5, 2026, -94.2% over 90 days.

7/30/90-day growth

@coder/ai-sdk-agent weekly downloads growth on npm: -5.3% over 7 days, -86.4% over 30 days, -94.2% over 90 days.@coder/ai-sdk-agentWeekly downloads growth on npm197downloads / week now7-day growth-11 weekly downloads-5.3%30-day growth-1,249 weekly downloads-86.4%90-day growth-3,173 weekly downloads-94.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@coder/ai-sdk-agent weekly downloads growth on npm: -5.3% over 7 days, -86.4% over 30 days, -94.2% over 90 days.

Ranking history

@coder/ai-sdk-agent npm ranking history: currently #2500 (by weekly downloads).@coder/ai-sdk-agentnpm ranking · by weekly downloads · Last 90 days#2500current rank#1200#1400#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@coder/ai-sdk-agent npm ranking history: currently #2500 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 125, #20 (overall #2,500)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 15, #17 (overall #297)
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 @coder/ai-sdk-agent
Date (UTC)Weekly downloadsChange vs. previous
197-21
218+12
206+1
205+24
181-14
195-87
282+74
208+12
196-29
225-2
227-3
230+17
213+76
137—

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 Dec 5, 2026. See the methodology.