Skip to content
PluginStats

@adonis-agora/agent weekly downloads statistics

By adonis-agora · npm · AI SDKs

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

View on npm Fresh · Oct 17, 2026

@adonis-agora/agent has 5,568 recorded weekly downloads on npm, an increase of 839% over the past 30 days.

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

Over 90 days, weekly downloads changed by +62.3%.

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

Weekly downloads
5,568
Official API · Oct 17, 2026
7-day growth
-32.1%
-2.6K weekly downloads
30-day growth
+839%
+5K weekly downloads
90-day growth
+62.3%
+2.1K weekly downloads
Rank
#1060
Among tracked npm listings

About @adonis-agora/agent

@adonis-agora/agent

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

The package is two things layered on top of each other:

• A framework-agnostic agent loop — runAgentLoop(deps, input, hooks) drives one model → tools → model turn against a set of SPIs (model / store / quota / roles / sink / runner / governance). The hooks seam (step / awaitApproval / openSink / runAgent) lets the same loop body run in-process or as a replay-safe durable workflow (via @adonis-agora/durable, optional peer). • An AdonisJS integration shell — a service provider, defineConfig, HTTP routes (/agent/*, /agent/governance/*, /agent/attachments), Lucid-backed stores, tool discovery from app/agent_tools, RAG (pgvector or Qdrant retrievers, plus PageIndex-style tree navigation for long documents), a governed read-only SQL tool, and a React chat hook.

read tools auto-execute, action tools gate on human approval (HITL), and agent tools delegate to another named agent.

Component registries and server rendering

Tools support a present hook in both functional and decorated class forms. Register custom components per app, share React renderers between web screens and static exports, and generate paginated PNG/PDF tables and charts for your own delivery adapters.

See the component rendering guide for complete examples, schemas, text fallbacks, and capture configuration.

Generative UI sandbox in React Native

@adonis-agora/agent/react-native/genui draws the sandbox component (ui__sandbox) in a hardened react-native-webview — the web iframe's document and CSP, the same checked agent.send bridge — and re-exports the React Native-safe genui provider and components (import them from here in an app, not from /react/genui). Install react-native-webview (an optional peer), then:

See Sandbox in React Native.

Install

configure registers the provider, wires an Assembler init hook that generates the typed app/agent_tools barrel (falls back to a runtime scan if absent), publishes config/agent.ts, and publishes the migrations — the base agent tables, a pgvector RAG-chunk table, and the tree-navigation tables (delete whichever you don't use, e.g. the pgvector migration if you retrieve via Qdrant instead, or the trees migration if you don't navigate long documents; run node ace migration:run for the rest).

Only ai (or a hand-rolled ModelProvider) and a model factory are strictly required. Everything else is an optional peer, imported lazily only when configured:

| Peer | Needed for |

| ai (^7.0.0) | aiSdkModel — the Vercel AI SDK v7 adapter (@adonis-agora/agent/ai-sdk) | | @adonisjs/lucid (^22.4.0) | stores.lucid(), pricing, governance read-model, the data tool's db | | @adonisjs/redis (^9.2.0) | tokenSinks.redis() — multi-replica SSE token streaming | | @adonis-agora/durable (^0.8.0) | durable: true — replay-safe durable runs (@adonis-agora/agent/durable) | | @adonis-agora/authz (^0.4.0) | AuthzActorResolver / AuthzToolAuthorizer (@adonis-agora/agent/authz) | | @adonis-agora/telescope (^0.4.0) | the Telescope watcher extension (@adonis-agora/agent/telescope) | | @qdrant/js-client-rest (^1.11.0) | retrievers.qdrant({...}) | | node-sql-parser (^5.3.0) | the governed dataTool (@adonis-agora/agent/data) | | react (^18 / ^19), @ai-sdk/react and ai | AgentProvider / useAgentChat (@adonis-agora/agent/react) |

Configure

Only model is required — pick a store by name (omit for the in-memory, single-process store):

Pricing (costUsd on each turn) and the /agent/governance/* read routes both default to mirroring store when it's stores.lucid() (same connection, table auto-created) — override with pricingStore / governanceQueries, or false to disable. sink defaults to the in-process token sink; pass tokenSinks.redis({...}) so any pod can serve any run's SSE stream.

Use

Chat — the provider mounts the HTTP API for you

There's no controller to write: once configured, the provider itself mounts POST /agent/chat (starts a run and SSE-pipes the token stream), GET /agent/chat/:runId/stream (re-attach), thread CRUD, approve/reject for HITL action tools, quota, and — when governanceQueries is set — the /agent/governance/* read routes. Every route resolves the actor itself (401 on failure); a threadId passed to chat must belong to the caller.

Drive it from React with @adonis-agora/agent/react — the full headless layer (history, resume, a message queue, approvals, attachments, threads), with the session cookie and shield's CSRF token already wired:

The hooks ship inside Agora. Its protocol remains compatible with Aviary, but installation and releases are independent. Without React, use the framework-free stream client:

Write a governed tool

Tools are auto-discovered from app/agent_tools. ReadTool auto-executes; ActionTool requires human approval before it runs:

An ActionTool writes somewhere, and that write and the checkpoint recording it are two writes: a worker that dies between them re-runs the tool on recovery. ctx.idempotencyKey (:) is the same for every execution of one call — pass it on as the downstream idempotency key (a provider's Idempotency-Key, a unique column, the id of a workflow the tool starts) so the second attempt lands on the first.

Governed read-only SQL

@adonis-agora/agent/data ships dataTool — a fail-closed SQL tool: it requires an explicit, role-based table allowlist, rewrites in an optional per-row tenant scope (off the calling actor's tenantRef), injects a row-count LIMIT, and truncates oversized results before they hit the model's context. Register it as a static tool in config/agent.ts (defineConfig({ tools: [dataTool({...})] })) or export it from an app/agent_tools/ module:

Guardrails — PII, secrets, prompt injection, tool poisoning

@adonis-agora/agent/guardrails puts detectors and a rule engine on the loop's processor seams, which config/agent.ts now takes as inputProcessors / outputProcessors:…

Description from the npm listing.

  • adonisjs
  • adonis
  • ai
  • agent
  • llm
  • tool-calling
  • governance
  • ai-sdk
  • durable
  • tanstack-intent
  • opencode
  • agora
  • guardrails
  • a2ui

Where @adonis-agora/agent 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 53, #20 (overall #1060)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 4, #17 (overall #77)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@adonis-agora/agent weekly downloads on npm, last 90 days: 5,568 weekly downloads as of Oct 17, 2026, +62.3% over 90 days.@adonis-agora/agentWeekly downloads on npm · Last 90 days5,568downloads / week+62.3% over 90 days02K4K6K8K10K12K14K16KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@adonis-agora/agent weekly downloads on npm, last 90 days: 5,568 weekly downloads as of Oct 17, 2026, +62.3% over 90 days.
PNG SVG

7/30/90-day growth

@adonis-agora/agent weekly downloads growth on npm: -32.1% over 7 days, +839% over 30 days, +62.3% over 90 days.@adonis-agora/agentWeekly downloads growth on npm5,568downloads / week now7-day growth-2,629 weekly downloads-32.1%30-day growth+4,975 weekly downloads+839%90-day growth+2,138 weekly downloads+62.3%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@adonis-agora/agent weekly downloads growth on npm: -32.1% over 7 days, +839% over 30 days, +62.3% over 90 days.
PNG SVG

Ranking history

@adonis-agora/agent npm ranking history: currently #1060 (by weekly downloads).@adonis-agora/agentnpm ranking · by weekly downloads · Last 90 days#1060current rank#1058#1059#1060#1061#1062Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@adonis-agora/agent npm ranking history: currently #1060 (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 @adonis-agora/agent
Date (UTC)Weekly downloadsChange vs. previous
5,568-391
5,959-1.3K
7,276-1.9K
9,204-1.1K
10,2980
10,298-102
10,400+2.2K
8,197-566
8,763+958
7,805-2.1K
9,933-2.9K
12,828-1.3K
14,083+1.4K
12,718—

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