@cloudagentfleet/hub

中文文档
0.5.3发布于 2026/10/30MITES Module零依赖构建来源已验证近 30 天下载 2223

Cloud Agent Fleet Hub: the private dashboard (included) and fleet API, with the cloudagentfleet CLI; can also run a Worker on the same machine.

原始使用文档
文档目录3 节
  1. Commands
  2. Settings
  3. Credits

@cloudagentfleet/hub

npm version npm downloads License: MIT Node.js CI

The Cloud Agent Fleet Hub: the private dashboard (included) and the fleet API, with the cloudagentfleet CLI to run it as a service. It also carries the Worker, for when the Hub's own machine should offer its agents too. Requires Node.js 22.6+; nothing else. Host it on a server or your main machine.

npm install --global @cloudagentfleet/hub
cloudagentfleet init

init installs the Hub as a user service that starts when you sign in (no administrator rights), offers to publish it privately on your tailnet with Tailscale Serve, asks whether this machine should also run a Worker (default no), and prints the dashboard address and password.

Add machines with @cloudagentfleet/worker and cloudagentfleet init on each; cloudagentfleet hub token prints the Worker token they ask for.

Commands

TaskCommand
Servicecloudagentfleet hub service <install|start|status|stop|remove>
Run in this terminalcloudagentfleet hub run (or cloudagentfleet-hub)
Worker token for new machinescloudagentfleet hub token
Publish on your tailnetcloudagentfleet hub serve / status / stop

Settings

~/.cloudagentfleet/hub-config.json (written by init) holds the port (default 8787, the host-UI origin uses the next one) and optional public URLs. State, the generated password (hub-ui-auth.json), and the Worker token (hub-worker-token) live in the same folder.

VariableDefaultPurpose
CLOUDAGENTFLEET_HOST127.0.0.1Bind address
CLOUDAGENTFLEET_PORT8787Dashboard port (host UIs use port + 1)
CLOUDAGENTFLEET_DATA_PATH~/.cloudagentfleet/hub.jsonFleet state file
CLOUDAGENTFLEET_UI_PASSWORDgeneratedYour own dashboard password
CLOUDAGENTFLEET_AUTH_TOKENgeneratedYour own Worker token

Guide: Getting started · Source: techoblix/cloudagentfleet

Credits

Cloud Agent Fleet builds on Codeman by Ark0N and the Codeman contributors (MIT) and Open WebUI Computer by Open WebUI, Inc. (Open Use License; commercial or organizational use falls under Open WebUI's terms). Neither is bundled or modified, and Open WebUI Computer's interface and branding are shown unmodified. Cloud Agent Fleet is independent and not affiliated with either project. See Credits and third-party software.

版本与发布记录

@cloudagentfleet/hub 共发布 18 个版本,首次发布于 2026/09/29;过去 12 个月发布了 18 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.5.3latest2026/10/3010 天前
0.5.12026/10/3010 天前
0.5.02026/10/3011 天前
0.4.22026/10/3011 天前
0.4.12026/10/3011 天前
0.4.02026/10/3011 天前

关于 @cloudagentfleet/hub 的常见问题

@cloudagentfleet/hub 是什么?

Cloud Agent Fleet Hub: the private dashboard (included) and fleet API, with the cloudagentfleet CLI; can also run a Worker on the same machine.

如何安装 @cloudagentfleet/hub?

在项目目录运行 npm install @cloudagentfleet/hub,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 cloudagentfleet、cloudagentfleet-hub,可以用 npx cloudagentfleet 直接运行。

@cloudagentfleet/hub 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cloudagentfleet__hub 是否存在。

@cloudagentfleet/hub 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@cloudagentfleet/hub 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.6.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cloudagentfleet/hub 可以商用吗?

@cloudagentfleet/hub 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cloudagentfleet/hub 的下载量有多少?

根据 npm 官方下载统计,@cloudagentfleet/hub 在 2026/10/10 – 2026/11/08 这 30 天内被下载 2,223 次,日均约 74 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cloudagentfleet/hub 还在维护吗?

最新版本 0.5.3 发布于 2026/10/30(10 天前);至今共发布 18 个版本,其中过去 12 个月发布了 18 个;首次发布于 2026/09/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。