Skip to content
PluginStats

@ai-sdk-tools/agents weekly downloads statistics

By ai-sdk-tools (5 listings) · npm · AI SDKs

Multi-agent orchestration system built on AI SDK v5 - handoffs, routing, and coordination for any AI provider

View on npm Fresh · Oct 17, 2026

@ai-sdk-tools/agents has 4,283 recorded weekly downloads on npm, a decrease of 49.3% over the past 30 days.

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

Over 90 days, weekly downloads changed by -9.4%.

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

Weekly downloads
4,283
Official API · Oct 17, 2026
7-day growth
-57.0%
-5.7K weekly downloads
30-day growth
-49.3%
-4.2K weekly downloads
90-day growth
-9.4%
-442 weekly downloads
Rank
#1132
Among tracked npm listings

About @ai-sdk-tools/agents

@ai-sdk-tools/agents

Multi-agent orchestration for AI SDK v5. Build intelligent workflows with specialized agents, automatic handoffs, and seamless coordination. Works with any AI provider.

Why Multi-Agent Systems?

Complex tasks benefit from specialized expertise. Instead of a single model handling everything, break work into focused agents:

Customer Support: Triage → Technical Support → Billing Content Pipeline: Research → Writing → Editing → Publishing Code Development: Planning → Implementation → Testing → Documentation Data Analysis: Collection → Processing → Visualization → Insights

Benefits

• Specialization - Each agent focuses on its domain with optimized instructions and tools • Context Preservation - Full conversation history maintained across handoffs • Provider Flexibility - Use different models for different tasks (GPT-4 for analysis, Claude for writing) • Programmatic Routing - Pattern matching and automatic agent selection • Production Ready - Built on AI SDK v5 with streaming, error handling, and observability

When to Use Agents

Use multi-agent systems when: • Tasks require distinct expertise (technical vs. creative vs. analytical) • Workflow has clear stages that could be handled independently • Different models excel at different parts of the task • You need better control over specialized behavior

Use single model when: • Task is straightforward and can be handled by general instructions • No clear separation of concerns • Response time is critical (multi-agent adds orchestration overhead)

Core Concepts

Agent

An AI with specialized instructions, tools, and optional context. Each agent is configured with a language model and system prompt tailored to its role.

Memory & Conversation History

Agents automatically load conversation history from storage when memory is enabled. This creates a clean separation of concerns: • Frontend: Sends only the new user message • Backend: Loads conversation history from storage • Storage: Single source of truth for all conversations

This approach: • Reduces network payload (no need to send full history) • Provides consistent context across requests • Enables server-side control of context window size via lastMessages config • Integrates seamlessly with @ai-sdk-tools/memory providers

Handoffs

Agents can transfer control to other agents while preserving conversation context. Handoffs include the reason for transfer and any relevant context.

Enhanced Context Management: The system now supports OpenAI-style context filtering during handoffs, allowing you to control exactly what information is passed between agents using HandoffInputFilter functions.

Orchestration

Automatic routing between agents based on: • Programmatic matching: Pattern-based routing with matchOn • LLM-based routing: The orchestrator agent decides which specialist to invoke • Hybrid: Combine both for optimal performance

Enhanced Features (v0.3.0+)

Context Management & Handoff Filtering

The package now includes OpenAI-style context management with AgentRunContext and HandoffInputFilter support:

Agent Communication During Handoffs

Agents automatically share context through conversationMessages during handoffs. No separate tools needed.

Working Memory

Working memory automatically loads and provides update capability when enabled:

When enabled: • Working memory loads automatically into system instructions • Agent gets updateWorkingMemory tool to update preferences/context • Updates persist in storage via the memory provider

Pre-built Handoff Filters

• removeAllTools() - Remove all tool-related messages • keepLastNMessages(n) - Keep only the last N messages for context windowing

Quick Start

Basic: Single Agent

Handoffs: Two Specialists

Orchestration: Auto-Routing

Use programmatic routing for instant agent selection without LLM overhead:

Advanced Patterns

Streaming with UI

For Next.js route handlers and real-time UI updates:

Tools and Context

Context-Aware Agents

Use typed context for team/user-specific behavior:

Custom Routing Function

Multi-Provider Setup

Use the best model for each task:

Guardrails

Control agent behavior with input/output validation:

Tool Permissions

Control which tools agents can access:

Complex Multi-Agent Example

Here's a real-world example: determining if a user can afford a Tesla Model Y by combining web research and financial analysis:

API Reference

Agent Class

Constructor Options: • name: string - Unique agent identifier • model: LanguageModel - AI SDK language model • instructions: string | ((context: TContext) => string) - System prompt • tools?: Record - Available tools • handoffs?: Agent[] - Agents this agent can hand off to • maxTurns?: number - Maximum tool call iterations (default: 10) • temperature?: number - Model temperature • matchOn?: (string | RegExp)[] | ((message: string) => boolean) - Routing patterns • onEvent?: (event: AgentEvent) => void - Lifecycle event handler • inputGuardrails?: InputGuardrail[] - Pre-execution validation • outputGuardrails?: OutputGuardrail[] - Post-execution validation • permissions?: ToolPermissions - Tool access control

Methods:

Utility Functions

Handoff Filters

Context Management

Event Types

Integration with Other Packages

With @ai-sdk-tools/cache

Cache expensive tool calls across agents:

With @ai-sdk-tools/artifacts

Stream structured artifacts from agents:

With @ai-sdk-tools/devtools

Debug agent execution in development:

Examples

Real-world implementations in /apps/example/src/ai/agents/:

• Triage Agent - Route customer questions to specialists • Financial Agent - Multi-step analysis with artifacts • Code Review - Analyze → Test → Document workflow • Multi-Provider - Use different models for different tasks

Contributing

Contributions are welcome! See the contributing guide for details.

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • agents
  • multi-agent
  • orchestration
  • handoff
  • routing
  • llm
  • openai
  • anthropic
  • google
  • claude

Where @ai-sdk-tools/agents 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 57, #12 (overall #1132)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 5, #2 (overall #82)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@ai-sdk-tools/agents weekly downloads on npm, last 90 days: 4,283 weekly downloads as of Oct 17, 2026, -9.4% over 90 days.@ai-sdk-tools/agentsWeekly downloads on npm · Last 90 days4,283downloads / week-9.4% over 90 days3K4K5K6K7K8K9K10K11KJul 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-tools/agents weekly downloads on npm, last 90 days: 4,283 weekly downloads as of Oct 17, 2026, -9.4% over 90 days.
PNG SVG

7/30/90-day growth

@ai-sdk-tools/agents weekly downloads growth on npm: -57.0% over 7 days, -49.3% over 30 days, -9.4% over 90 days.@ai-sdk-tools/agentsWeekly downloads growth on npm4,283downloads / week now7-day growth-5,679 weekly downloads-57.0%30-day growth-4,173 weekly downloads-49.3%90-day growth-442 weekly downloads-9.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@ai-sdk-tools/agents weekly downloads growth on npm: -57.0% over 7 days, -49.3% over 30 days, -9.4% over 90 days.
PNG SVG

Ranking history

@ai-sdk-tools/agents npm ranking history: currently #1132 (by weekly downloads).@ai-sdk-tools/agentsnpm ranking · by weekly downloads · Last 90 days#1132current rank#1130#1131#1132#1133#1134Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@ai-sdk-tools/agents npm ranking history: currently #1132 (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-tools/agents
Date (UTC)Weekly downloadsChange vs. previous
4,283-1.4K
5,641+451
5,190-2.7K
7,915-2.5K
10,3850
10,385+135
10,250+288
9,962+647
9,315+286
9,029+519
8,510+992
7,518-1.2K
8,724-83
8,807—

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