npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@weifeng-work/agent-node

v0.2.0

Published

Decentralized LAN multi-agent collaboration node — AI-controllable enhanced LocalSend (去中心化局域网多智能体协作节点)

Readme

agent-node

Decentralized LAN multi-agent collaboration node — AI-controllable enhanced LocalSend.

去中心化局域网多智能体协作节点。

Quick Start / 快速开始

npm install -g @weifeng-work/agent-node
agent-node

If your npm shows an allow-scripts warning during install (newer npm blocks postinstall scripts by default), just run agent-node anyway — it detects a missing install and completes setup automatically on first run.

如果安装时 npm 提示 allow-scripts 警告(新版 npm 默认拦截安装脚本), 直接运行 agent-node 即可——首次运行会自动检测并完成安装。

What it does / 它能做什么

  • Auto-discover all agent-node instances on your LAN (no config needed)
  • Call remote AI agents (CodeBuddy CLI/TUI, WorkBuddy, extensible plugins) from any node
  • Transfer files between machines (push/pull/browse, with file picker)
  • Sync folders across all nodes (Syncthing-powered, auto-pairing)
  • Chat between nodes (LocalSend-style)
  • Remote shell execution
  • Web panel at http://127.0.0.1:5177 for human oversight
  • MCP Server built-in — your AI client gets 30+ tools

Architecture / 架构

Every node (LAN, plaintext, fully open):
┌──────────────────────────────────────────────┐
│ Node Core (UDP beacon + TCP mesh + tasks)    │
│ Executor Registry (CodeBuddy/WorkBuddy/...)  │
│ File control + Chat + Shell + Syncthing      │
│ Web Panel (FastAPI) + MCP Server + CLI       │
└──────────────────────────────────────────────┘

No hub. No broker. Pure peer-to-peer.

Commands / 命令

| Command | Description | |---------|-------------| | agent-node | Start node (or open panel if already running) | | agent-node stop | Stop node | | agent-node status | Show status | | agent-node setup | Install or repair | | agent-node uninstall | Full uninstall |

MCP Integration / MCP 接入

Add to your AI client (e.g. Claude Desktop) claude_desktop_config.json:

{
  "mcpServers": {
    "agent-node": {
      "command": "C:/Users/YOUR_USERNAME/AppData/Local/agent-node/venv/Scripts/python.exe",
      "args": ["-m", "mcp.server"],
      "cwd": "C:/Users/YOUR_USERNAME/AppData/Local/agent-node/app",
      "env": {
        "AGENT_NODE_PANEL": "http://127.0.0.1:5177"
      }
    }
  }
}

AGENT_NODE_PANEL5177 是默认面板端口;若被占用节点会自动改用 5178…,实际地址以 agent-node status 为准。

caller_id(异步回执专属邮箱的身份键)由系统自动派生(父进程可执行名),无需配置。

Prerequisites / 前提条件

  • Node.js ≥ 14 (for the npm launcher)
  • Python ≥ 3.10 (for the node itself)
  • Windows 10/11 (Linux support in code, untested)

Docs / 文档

License

MIT