@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.
@adonis-agora/agent has 3,798 recorded weekly downloads on npm, a decrease of 39.4% over the past 30 days, ranking #1642 of 3,247 tracked 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). Thehooksseam (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 fromapp/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:
import { createNativeSandboxRenderer, GenuiProvider } from '@adonis-agora/agent/react-native/genui'
const Sandbox = createNativeSandboxRenderer({ theme: { vars: tokens }, baseUrl: 'https://api.example.com/agent' })
<GenuiProvider registry={{ Sandbox }} onAction={chat.sendUiAction}>…</GenuiProvider>
Install
pnpm add @adonis-agora/agent
node ace configure @adonis-agora/agent
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):
// config/agent.ts
import { defineConfig, stores, AuthActorResolver } from '@adonis-agora/agent'
import { aiSdkModel } from '@adonis-agora/agent/ai-sdk'
import { openai } from '@ai-sdk/openai'
export default defineConfig({
model: () => aiSdkModel(openai('gpt-4o-mini')), // any Vercel AI SDK v7 `LanguageModel`
store: 'lucid',
stores: { lucid: stores.lucid(), memory: stores.memory() },
actorResolver: new AuthActorResolver(), // defaults to one that THROWS — an identity is never fabricated
})
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…
Description from the npm listing.
- adonisjs
- adonis
- ai
- agent
- llm
- tool-calling
- governance
- ai-sdk
- durable
- tanstack-intent
- opencode
- agora
- guardrails
- a2ui
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm AI SDKs plugins
All 20 @adonis-agora/agent alternativesData 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 Dec 6, 2026. See the methodology.