Skip to content
PluginStats

agent-accelerator weekly downloads statistics

By sashvat-bharat · npm · AI SDKs

High-performance SDK for AI agents with a unified API across AI providers. Optimized for high cache hit rates, observability, and seamless agent orchestration. Built to power production-grade agentic systems and harnesses for teams at any scale.

View on npm Fresh · Dec 6, 2026

agent-accelerator has 1,317 recorded weekly downloads on npm, an increase of 56.0% over the past 30 days, ranking #2001 of 3,247 tracked listings.

Weekly downloads
1,317
Official API · Dec 5, 2026
7-day growth
-6.6%
-93 weekly downloads
30-day growth
+56.0%
+473 weekly downloads
90-day growth
—
Insufficient history
Rank
#2001
Among tracked npm listings

About agent-accelerator

Agent Accelerator

npm version GitHub License: MIT Docs

Stable since 1.0.0. The public API follows semantic versioning: a minor or patch release never breaks code written for an earlier 1.x. See Versioning for exactly what is covered.

A small, typed SDK for building LLM agents in TypeScript. One Agent class works with Google Gemini, OpenAI, Anthropic, OpenRouter and any OpenAI-compatible service. It uses plain fetch. There are no provider SDKs, and the only dependency is zod.

import { Agent } from "agent-accelerator";

const agent = new Agent({
  model: "google/gemini-3.5-flash-lite",
  instructions: "You are a concise research engineer.",
});

const res = await agent.run("Explain HBM pricing in 3 bullets.");
console.log(res.text);
console.log(res.usage); // tokens and cost

What you get

  • One interface for every provider. Write the model as provider/model. Provider differences stay inside the SDK.
  • Tools that the model can call, with checked arguments, retries, approval and hooks.
  • Streaming and steering, so you can change what a busy agent is doing.
  • Helper agents, either fixed ones you define or ones the model starts, plus scheduled actions that run later.
  • Saved sessions that survive a crash and continue where they stopped.
  • Spending control: limits, budgets, and the cost of every run, per agent and per worker.
  • Pictures, video, embeddings and decisions through the same providers.
  • Safe by default: keys never reach another vendor, local files stay inside folders you choose, and nothing prints unless you listen.

Install

bun add agent-accelerator zod

The SDK needs Bun. It ships TypeScript source, so there is no build step. zod is a peer dependency: install it next to the SDK and import z from "zod".

Add a key

Put the key of the provider you use in your environment. Bun loads a .env file for you.

GEMINI_API_KEY=...       # google/...
OPENAI_API_KEY=...       # openai/...
ANTHROPIC_API_KEY=...    # anthropic/...
OPENROUTER_API_KEY=...   # openrouter/...
GROQ_API_KEY=...         # any other prefix, such as groq/..., plus its address

The environment holds keys and nothing else. Every other option is set in code. An OpenAI-compatible service also needs its address:

import { setConfigs } from "agent-accelerator";

setConfigs({ values: { base_urls: { groq: "https://api.groq.com/openai/v1" } } });

Give the agent a tool

import { Agent, tool } from "agent-accelerator";
import { z } from "zod";

const get_weather = tool({
  description: "Get the current weather for a city.",
  input: z.object({ city: z.string().describe("City name") }),
  execute: async ({ city }) => ({ city, tempC: 21, sky: "clear" }),
});

const agent = new Agent({
  model: "google/gemini-3.5-flash-lite",
  tools: { get_weather },
  maxTurns: 10,
});

const res = await agent.run("Is it warm in Lisbon right now?");
console.log(res.text);

Read the docs

The full documentation is online at agent-accelerator-sdk.vercel.app and in docs/ as plain Markdown. Start with Getting started and How it works.

I want to…Read
Create an agent and get JSON backAgents
Pick a model or providerModels and providers
Let the model call my functionsTools
Stream the answer or steer a busy agentStreaming and steering
Hand work to helper agentsSub-agents
Save and resume chats, survive a crashSessions
Set limits and see what a run costLimits and retries, Usage and cost
Keep keys, files and URLs safeSecurity
Test my agents with no network and no costTesting
Look up an option, field, event or errorReference
Upgrade from an older versionMigration
Know what a new release may changeVersioning

Preview the docs as a site with bun run docs:dev.

Examples

The examples/ folder has runnable demos, such as examples/05-chat.ts (a chat in the terminal), examples/02-function_calling.ts and examples/15-durable-agent.ts. They call real providers and cost real tokens, except the generator demos, which run offline by default.

bun run examples/05-chat.ts

Develop

bun install
bun run update-models   # once: downloads the model catalog cache
bun run typecheck       # tsc over everything, then over src/ with isolatedDeclarations
bun run lint            # Biome: 0 errors required
bun run format          # Biome formatter
bun test                # the whole suite, fully mocked, no network
bun run docs:check      # links, anchors and every docs example

How the source is organised is in src/architecture.md. Every folder under src/ has its own architecture.md.

License

MIT. See LICENSE. Copyright (c) 2026 Sashvat Bharat.

Description from the npm listing.

  • ai
  • ai-agents
  • ai-sdk
  • agent-sdk
  • agent-framework
  • typescript
  • bun
  • llm
  • multi-agent
  • tool-calling
  • durable-agents
  • structured-output
  • zod
  • openai
  • anthropic
  • gemini
  • openrouter

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

agent-accelerator weekly downloads on npm, last 90 days: 1,317 weekly downloads as of Dec 5, 2026.agent-acceleratorWeekly downloads on npm · Last 90 days1,317downloads / week02004006008001K1.2K1.4K1.6K1.8KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agent-accelerator weekly downloads on npm, last 90 days: 1,317 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

agent-accelerator weekly downloads growth on npm: -6.6% over 7 days, +56.0% over 30 days, 90-day growth unavailable.agent-acceleratorWeekly downloads growth on npm1,317downloads / week now7-day growth-93 weekly downloads-6.6%30-day growth+473 weekly downloads+56.0%90-day growth+1,317 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agent-accelerator weekly downloads growth on npm: -6.6% over 7 days, +56.0% over 30 days, 90-day growth unavailable.

Ranking history

agent-accelerator npm ranking history: currently #2001 (by weekly downloads).agent-acceleratornpm ranking · by weekly downloads · Last 90 days#2001current rank#1500#1600#1700#1800#1900#2000#2100Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 4, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
agent-accelerator npm ranking history: currently #2001 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 101, #1 (overall #2,001)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 11, #8 (overall #208)
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 (121)
Recent weekly downloads observations for agent-accelerator
Date (UTC)Weekly downloadsChange vs. previous
1,317-124
1,441-152
1,593-45
1,638+77
1,561+81
1,480-50
1,530+120
1,410+31
1,379+69
1,310+32
1,278+60
1,218-16
1,234-17
1,251—

Similar npm AI SDKs plugins

All 20 agent-accelerator 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/agent-accelerator. First seen Dec 4, 2026; last successful collection Dec 6, 2026. See the methodology.