Skip to content
PluginStats

agent-afk weekly downloads statistics

By griffinwork40 · npm · MCP servers

Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.

View on npm Fresh · Oct 18, 2026

agent-afk has 64,710 recorded weekly downloads on npm, an increase of 476% over the past 30 days, ranking #539 of 2,322 tracked listings.

Weekly downloads
64,710
Official API · Oct 18, 2026
7-day growth
+75.6%
+27.9K weekly downloads
30-day growth
+476%
+53.5K weekly downloads
90-day growth
+634%
+55.9K weekly downloads
Rank
#539
Among tracked npm listings

About agent-afk

Agent AFK

Start a task and walk away. AFK builds the feature, verifies its own work, and texts you when it's done. You come back to a receipt of every step, every decision, and what's waiting on you.

Open source. Runs locally. Works with any model provider, including local models. Your keys, your machine, your rules.

npm version CI Node License: Apache-2.0 GitHub stars Awesome Harness Engineering

<p align="center"> <video src="https://github.com/user-attachments/assets/4a84f6e4-2494-4065-a01f-54a1c557f7f3" width="820" autoplay loop muted playsinline> Your browser does not support the video tag. </video> </p>

⭐ Like the idea of an agent you can walk away from? Star the repo -- it's the fastest way to help other people find it.

Quick Start

npm install -g agent-afk    # Node 22.22.2–22.x, 24.15–24.x, or 26+ (23.x and 25.x excluded)
afk login                   # authenticate (auto-detects Claude Code / Codex creds)
afk doctor                  # verify everything works
afk chat "hello"             # first real conversation

# Preview a behaviour change before applying it
afk whatif --append "Always ask a clarifying question before using tools." --verify

That's it. You're in.

Using pnpm? pnpm add -g agent-afk works, but pnpm 10 and later block build scripts by default and skips postinstall (with an easy-to-miss warning — see #2199). Run pnpm approve-builds -g after install to approve the hook, or use npm install -g agent-afk instead. If an afk daemon is already running and pnpm skipped the hook, restart it manually with afk service restart daemon — on macOS the hook restarts the daemon automatically when it runs, but on Linux you must always run this command after an upgrade even when the hook ran. If you have a manually-started Telegram bot, also run afk telegram restart.

Try without installing: npx agent-afk chat "hello" runs a one-shot turn with zero global install.

Already using Claude Code or Codex? afk login will detect your existing credentials automatically. Run afk migrate to import your plugins, skills, and MCP servers too -- it live-reads the source tool's dirs, so anything you install there keeps showing up in AFK with no re-run.

Codex imports use CODEX_HOME when set (otherwise ~/.codex) and also discover shared skills in ~/.agents/skills. Native .codex-plugin/plugin.json manifests are recognized alongside Claude-format manifests; explicit [plugins."name@marketplace"] enable/disable settings apply at runtime. Without an installed-plugin registry, discovery selects one cached directory per marketplace/plugin using descending numeric-aware directory order. This is a filesystem fallback, not a guarantee of the version selected by Codex. Codex-hosted app connectors and TOML MCP server loading are not imported.

📖 Full documentation at docs.agentafk.com -- quickstart, configuration, model setup, surfaces, skills, and SDK reference.

What you can do with it

  • Chat from your terminal — afk chat "..." for one-shot, afk for a REPL with full tool access (Bash, file ops, web fetch, grep/glob, subagents).
  • Hand long work off to a daemon — afk daemon runs headless. Pair it with send_telegram and you get pings on your phone when work lands in a terminal state.
  • Read the trace — every run writes an append-only record of what the agent did. afk trace show prints it back as a human-readable receipt — tool calls, gate decisions, subagent lifecycles, cost — so you can audit a run without reaching for jq.
  • Message Claude from Telegram — afk telegram setup walks you through bot token + allowlist. After that you have a private chat surface backed by the same session manager as the REPL.
  • Built-in orchestrators — /mint, /diagnose, /spec, /research, /ship, /review dispatch subagent waves. /mint takes a feature idea and runs spec → research → plan → parallelize → build → verify → ship. /diagnose forks parallel root-cause hypotheses for failing tests and bugs.
  • Cross-session memory — Claude remembers preferences, decisions, and procedures across runs. See Memory below.
  • Background subagent jobs — dispatch a subagent with mode:'background'; results auto-deliver into the model's context when they finish. /bgsub lists running and completed jobs, /bgsub:join <id> replays a result manually.

What only afk does

afk whatif behavioural impact predictor. Before changing a prompt, model, skill, or memory rule, predict how the agent's behaviour will shift without touching your real config. Run afk whatif --append "Always ask a clarifying question before using tools." --verify and the engine diffs the system prompts, predicts labelled behaviour shifts, then optionally verifies empirically by running sandboxed episodes and measuring rates. No real writes happen during the run. Source: src/whatif/, docs/whatif.md.…

Description from the npm listing.

  • ai-agent
  • agent-runtime
  • control-plane
  • orchestration
  • verification
  • local-first
  • mcp
  • telegram
  • cli
  • claude
  • anthropic
  • llm
  • coding-assistant
  • coding-agent
  • autonomous-agent
  • claude-code
  • subagent
  • daemon
  • openai
  • afk

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-afk weekly downloads on npm, last 90 days: 64,710 weekly downloads as of Oct 18, 2026, +634% over 90 days.agent-afkWeekly downloads on npm · Last 90 days64,710downloads / week+634% over 90 days010K20K30K40K50K60K70KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
agent-afk weekly downloads on npm, last 90 days: 64,710 weekly downloads as of Oct 18, 2026, +634% over 90 days.

7/30/90-day growth

agent-afk weekly downloads growth on npm: +75.6% over 7 days, +476% over 30 days, +634% over 90 days.agent-afkWeekly downloads growth on npm64,710downloads / week now7-day growth+27,863 weekly downloads+75.6%30-day growth+53,479 weekly downloads+476%90-day growth+55,898 weekly downloads+634%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
agent-afk weekly downloads growth on npm: +75.6% over 7 days, +476% over 30 days, +634% over 90 days.

Ranking history

agent-afk npm ranking history: currently #539 (by weekly downloads).agent-afknpm ranking · by weekly downloads · Last 90 days#539current rank#520#540#560#580#600#620#640#660Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
agent-afk npm ranking history: currently #539 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 27, #19 (overall #539)
All npm: every listing in weekly downloads order

Listing placement

MCP servers277 listings · 14 pages · page 3, #11 (overall #51)
MCP servers: 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 (122)
Recent weekly downloads observations for agent-afk
Date (UTC)Weekly downloadsChange vs. previous
64,710+33.6K
31,153-4.4K
35,527+14.4K
21,112-5K
26,136-5.7K
31,8160
31,816-5K
36,847-1.5K
38,355-2.4K
40,749+1.1K
39,655-2.4K
42,100-3.5K
45,644-6.6K
52,264—

Similar npm MCP servers plugins

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