Skip to content
PluginStats

agent-control-plane-core weekly downloads statistics

By AlexanderMattTurner · npm · Claude Code

Vendor-neutral control-plane contract for coding agents: a normalized ToolCallEvent/Verdict schema with per-agent adapters (Claude Code, Codex, Amp, Gemini CLI) and a conformance suite.

View on npm Fresh · Dec 6, 2026

agent-control-plane-core has 37,037 recorded weekly downloads on npm, an increase of 10.1% over the past 30 days, ranking #870 of 3,247 tracked listings.

Weekly downloads
37,037
Official API · Dec 5, 2026
7-day growth
+2.8%
+1K weekly downloads
30-day growth
+10.1%
+3.4K weekly downloads
90-day growth
-37.5%
-22.2K weekly downloads
Rank
#870
▼ 21 in 7 days

About agent-control-plane-core

agent-control-plane-core

One shape for "a coding agent is about to run a tool" and "here's what my guardrail decided" — so you write your tool once and it works across every agent.

The problem this solves

Coding agents — Claude Code, Codex, Gemini CLI, opencode, Amp, and friends — all let you hook into their tool-call loop: before a shell command runs, after a file is written, when a prompt is submitted. That's where you'd plug in a security guardrail, an audit log, a secret redactor, a policy engine.

But every agent speaks its own protocol. One sends you tool_name + tool_input on stdin and wants {"permissionDecision":"deny"} back plus exit code 2. Another names the fields differently, blocks by throwing inside a plugin, or can only observe and not veto. The field names differ, the "block this" signal differs, and each one drifts on its own release cadence.

So if you build a tool that touches more than one agent, you end up writing and maintaining N copies of the same logic — one per agent — and re-testing all of them every time an agent ships a new field. That's the tax this package removes.

What it gives you

  • ToolCallEvent — one normalized, agent-agnostic view of "an agent event" (a tool about to run, a tool that just ran, a prompt, a session start).
  • Verdict — one normalized way to say what your guardrail decided: allow / deny / ask, optionally with a rewritten input or extra context.
  • Adapters — a thin { parse, render } translator per agent, plus the declaration of what that agent's transport cannot carry. parse turns that agent's raw hook payload into a ToolCallEvent; render turns your Verdict back into the real native signal that agent enforces (the right JSON body, exit code and stderr reason — not just a print).

You write your logic once against the normalized types. Adding support for a new agent is a new adapter (~one file + fixtures), not a rewrite of your tool. The agent-specific field names live only inside that agent's adapter.

Who wants this

Anyone building a tool that sits in the tool-call loop of more than one coding agent, and doesn't want to fork it per agent:

  • Security guardrails — deny-listers, command/path sanitizers, permission gates.
  • Observability & audit — log or replay every tool call in a uniform shape.
  • Redaction / DLP — strip secrets from tool inputs or outputs before they move.
  • Policy engines — one rule set enforced identically no matter which agent runs.

If you only ever target a single agent, you don't need this — just use that agent's native hooks. The value is entirely in the N-agents case.

Not a security boundary. A Verdict is advisory: a useful first filter, never the last line of defense. Some agents can't enforce a deny at all (the adapter marks those observe_only), so a real deployment still needs a sandbox underneath. Treat the control plane as a policy layer on top of isolation, not a replacement for it.

Install

pnpm add agent-control-plane-core

The model

// ToolCallEvent — a normalized, agent-agnostic view of one agent event.
{
  schema_version: 1,
  event: "pre_tool" | "post_tool" | "prompt_submit" | "session_start" | "unknown",
  tool: string | null,              // "Bash" | "Edit" | "Write" | "Read" | "WebFetch" | <passthrough> | null
  input: object,                    // tool input; a submitted prompt folds into input.prompt
  response?: unknown,               // post_tool only
  this_call_vetoable: boolean,      // false ⇒ a deny here is advisory only; the guardrail cannot block THIS call
  meta: {
    agent: string,                  // "claude" | "codex" | …
    native_event: string,           // original native event name, preserved verbatim
    session_id?, cwd?, permission_mode?, transcript_path?,
    passthrough: object,            // every unmodelled native top-level field, verbatim
  }
}

// Verdict — a normalized guardrail decision.
{
  decision: "allow" | "deny" | "ask",
  mutated_input?: object,           // replacement tool input (pre_tool)
  mutated_output?: unknown,         // replacement tool output the model sees (post_tool)
  additional_context?: string,      // extra context to splice into the agent's stream
  reason?: string,                  // shown on deny/ask
}

An Adapter is { AGENT, COVERAGE, UNRENDERED_FIELDS, NATIVE_ASK_TIER, parse, render }:

parse(nativeEvent) -> ToolCallEvent      // never throws on unknown input
render(verdict, event) -> nativeResponse // the agent's native shape

// Which Verdict content fields this host has NO native channel for, per event
// kind. Every EventKind needs a row: an omission would read as "every field
// reaches a channel here", which is the reverse of the truth on a transport
// that carries none.
UNRENDERED_FIELDS = Object.freeze({
  [EventKind.PRE_TOOL]: readonlySet(["mutated_output"]),
  [EventKind.POST_TOOL]: readonlySet(["mutated_output"]),
  [EventKind.PROMPT_SUBMIT]: UNRENDERED_ON_UNKNOWN,
  [EventKind.SESSION_START]: UNRENDERED_ON_UNKNOWN,
  [EventKind.UNKNOWN]: UNRENDERED_ON_UNKNOWN,
})
// Does this host carry a distinct "ask the human" tier that it honours?
// true  ⇒ a rendered `ask` suspends the call in front of a person
//         (Claude Code's permissionDecision: "ask", Amp's exit 1).
// false ⇒ the host has no such tier, so `render` collapses `ask` onto another
//         signal (Gemini CLI's advisory decision: "deny") and an un-escalated
//         ask lets the tool run.
NATIVE_ASK_TIER = false;
```…

Description from the npm listing.

  • claude
  • claude-code
  • codex
  • agent
  • control-plane
  • hooks
  • adapter
  • guardrail

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-control-plane-core weekly downloads on npm, last 90 days: 37,037 weekly downloads as of Dec 5, 2026, -37.5% over 90 days.agent-control-plane-coreWeekly downloads on npm · Last 90 days37,037downloads / week-37.5% over 90 days010K20K30K40K50K60K70K80KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agent-control-plane-core weekly downloads on npm, last 90 days: 37,037 weekly downloads as of Dec 5, 2026, -37.5% over 90 days.

7/30/90-day growth

agent-control-plane-core weekly downloads growth on npm: +2.8% over 7 days, +10.1% over 30 days, -37.5% over 90 days.agent-control-plane-coreWeekly downloads growth on npm37,037downloads / week now7-day growth+1,014 weekly downloads+2.8%30-day growth+3,412 weekly downloads+10.1%90-day growth-22,242 weekly downloads-37.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agent-control-plane-core weekly downloads growth on npm: +2.8% over 7 days, +10.1% over 30 days, -37.5% over 90 days.

Ranking history

agent-control-plane-core npm ranking history: currently #870 (by weekly downloads).agent-control-plane-corenpm ranking · by weekly downloads · Last 90 days#870current rank#700#750#800#850#900#950#1000#1050Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
agent-control-plane-core npm ranking history: currently #870 (by weekly downloads).

Listing placement

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

Listing placement

Claude Code614 listings · 31 pages · page 1, #18 (overall #18)
Claude Code: 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 agent-control-plane-core
Date (UTC)Weekly downloadsChange vs. previous
37,037-6.3K
43,295+6.2K
37,134+4.2K
32,943+482
32,461+74
32,387-2.4K
34,739-1.3K
36,023-1.2K
37,237-6.6K
43,885-4.6K
48,465+183
48,282-258
48,540+1.9K
46,614—

Similar npm Claude Code plugins

All 20 agent-control-plane-core 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-control-plane-core. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.