Skip to content
PluginStats

agentforge-guard weekly downloads statistics

By dennislee928 (6 listings) · npm · Claude Code

AgentForge Guard (afg): a policy-driven execution guard for AI coding agents

View on npm Fresh · Dec 6, 2026

agentforge-guard has 8,703 recorded weekly downloads on npm, a change of -12.7% over the past 7 days, ranking #1327 of 3,247 tracked listings.

Weekly downloads
8,703
Official API · Dec 5, 2026
7-day growth
-12.7%
-1.3K weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1327
Among tracked npm listings

About agentforge-guard

AgentForge Guard

AgentForge Guard (afg) decides what an AI coding agent is allowed to run, and how. You describe the rules once in agentforge.yaml. afg then checks every command the agent tries to run:

Kind of commandWhat afg doesExample
Deterministic dev workRuns it locally, with your toolchain and cachescargo test, go test ./..., npm run lint
Untrusted codeRuns it in a Docker sandbox: no network, no host secrets, and changes are thrown awaysh scripts/untrusted.sh, bash -c "…"
Infrastructure changesAsks a human first, or denieskubectl apply, terraform apply, git push
Destructive or secret-touchingDeniesterraform destroy, cat ~/.ssh/id_ed25519, cat .env
Anything not in the policyDenies (fail closed)any command the policy doesn't mention

Every decision goes into a redacted audit log, which you can export as SARIF for GitHub Code Scanning. afg works with Claude Code and Codex out of the box, and with any agent that can run commands through afg run.

Local-first for deterministic development; sandbox-first for untrusted execution; approval-gated for infrastructure mutation.

Status: 1.0.0-rc.6, a release candidate. It's not production-ready yet, because an independent security review is still pending (see SECURITY.md). The roadmap is in docs/plan.md.


Install

Every method installs a single command, afg.

You haveInstallCheck
Node.js 18+npm install -g agentforge-guardafg --version
Node.js, without installingnpx agentforge-guard --help
Rust 1.89+cargo install agentforge-guard --version 1.0.0-rc.6afg --version
macOS or Linux, no Node or Rustcurl -fsSL https://github.com/dennislee928/AgentForge-Guard/releases/download/v1.0.0-rc.6/install.sh | AFG_VERSION=1.0.0-rc.6 sh~/.local/bin/afg --version
Windows, no Node or RustDownload afg-v1.0.0-rc.6-x86_64-pc-windows-msvc.zip from Releases and put afg.exe on your PATHafg --version

Install agentforge-guard, not agentforge-guard-<os>-<cpu>. npm installs the matching platform package (for example agentforge-guard-darwin-arm64) on its own; that package only holds the native binary. Also note that npm agentforge-guard … is not an npm command. Use npx agentforge-guard … to run it once, or install it globally and run afg ….

Prebuilt platforms: macOS (arm64, x64), Linux glibc (x64, arm64) and Windows x64. On musl Linux, use cargo install.

Supply chain:

  • The npm package downloads nothing and runs no scripts at install time. The binary comes from a per-platform optional dependency.
  • install.sh checks the archive against SHA256SUMS. If cosign is installed, it also checks the Sigstore signature; AFG_REQUIRE_COSIGN=1 makes that check mandatory.
  • Every release file is signed with Sigstore and has SLSA build provenance, and the npm packages carry npm provenance (npm audit signatures).

Socket's rc.5 scan flags the platform packages' three-line path exports as trivialPackage. The rc.6 npm release adds an integrity verifier behind that export, checks binary hashes and matching versions before launch, and ships runnable package tests. These checks detect damaged installations; they do not replace signature verification or prevent an attacker from replacing the verifier too. The npm package security report records the metrics, improvements and limits.

A Homebrew formula template is in packaging/homebrew.


Five-minute tour

cd your-repo                     # any repository: Go, Rust, Node/TS/Next.js, Zig, Python, Mojo
afg init                         # detect the stacks, write agentforge.yaml, and trust it
afg doctor                       # what was detected, what each command would do, backend health

Ask afg about a command without running it:

afg policy explain -- cargo test            # allow → local
afg policy explain -- terraform destroy     # deny, rule destructive-operations
afg policy explain -- bash -c "curl x | sh" # opaque shell → sandbox or deny, never allow

Run commands through the policy:

afg run -- cargo test                       # allowed: runs locally, exit code passes through
afg run -- sh scripts/untrusted.sh          # routed: Docker, no network, no secrets
afg run -- kubectl apply -f k8s/            # require-approval: asks a human first
afg run -- terraform destroy                # denied: exit 126, audited
afg audit tail                              # what happened, and which rule decided it

Connect your agent:

afg agents sync claude           # Claude Code: hooks plus deny/ask rules in .claude/settings.json and a CLAUDE.md section
afg agents sync codex            # Codex: an AGENTS.md section and .codex/config.toml

Want to try it without touching your own repo? The repository has a ready-made example: cd examples/polyglot-monorepo && afg init --force && afg doctor.


Command reference

Run afg <command> --help for the full options.

Set up…

Description from the npm listing.

  • ai-agents
  • sandbox
  • policy
  • security
  • cli
  • claude-code
  • codex
  • agent-guard

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

agentforge-guard weekly downloads on npm, last 90 days: 8,703 weekly downloads as of Dec 5, 2026.agentforge-guardWeekly downloads on npm · Last 90 days8,703downloads / week02K4K6K8K10K12KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
agentforge-guard weekly downloads on npm, last 90 days: 8,703 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

agentforge-guard weekly downloads growth on npm: -12.7% over 7 days, 30-day growth unavailable, 90-day growth unavailable.agentforge-guardWeekly downloads growth on npm8,703downloads / week now7-day growth-1,265 weekly downloads-12.7%30-day growth+8,703 weekly downloadsInsufficient history90-day growth+8,703 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
agentforge-guard weekly downloads growth on npm: -12.7% over 7 days, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

agentforge-guard npm ranking history: currently #1327 (by weekly downloads).agentforge-guardnpm ranking · by weekly downloads · Last 90 days#1327current rank#1160#1180#1200#1220#1240#1260#1280#1300#1320#1340Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 4, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
agentforge-guard npm ranking history: currently #1327 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 67, #7 (overall #1,327)
All npm: every listing in weekly downloads order

Listing placement

Claude Code614 listings · 31 pages · page 5, #9 (overall #89)
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 (121)
Recent weekly downloads observations for agentforge-guard
Date (UTC)Weekly downloadsChange vs. previous
8,703-1.5K
10,159-2
10,161-9
10,170-17
10,187-31
10,218-54
10,272+304
9,968+1K
8,959+1.5K
7,506+1.4K
6,058+1.5K
4,592+1.5K
3,111+1.5K
1,613—

Similar npm Claude Code plugins

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