@autono/buttons

中文文档
0.147.0发布于 2026/09/07Apache-2.0零依赖构建来源已验证近 30 天下载 7736

n8n for agents. A deterministic workflow engine where AI agents build and run their own automations.

原始使用文档
文档目录5 节
  1. Install
  2. Quick start
  3. How this package works
  4. Alternative installs
  5. License

@autono/buttons

n8n for agents. A CLI workflow engine where AI agents build and run their own automations.

Each button is a self-contained, reusable action. Create it once, press it forever. Buttons wraps code, APIs, and agent instructions into a single interface with typed args and structured output.

Install

# npm
npm install -g @autono/buttons

# pnpm
pnpm add -g @autono/buttons

# bun
bun add -g @autono/buttons

After install, the buttons binary is on your $PATH.

Quick start

# Scaffold a shell button. Edit the generated main.sh, then press it.
buttons create deploy --arg env:string:required
buttons press deploy --arg env=staging

# Or provide the code inline:
buttons create now --code 'date +"%Y-%m-%d %H:%M:%S %Z"'
buttons press now

# Wrap an HTTP endpoint:
buttons create weather --url 'https://wttr.in/NYC?format=3'
buttons press weather

Run buttons --help to see every command.

How this package works

This npm package is a thin JS shim. The real CLI is a Go binary — the same one shipped via the GitHub Releases tarballs and the Homebrew tap. The shim resolves the matching platform package at runtime and execs the binary.

Platform packages (installed automatically via optionalDependencies):

  • @autono/buttons-darwin-arm64 — Apple Silicon
  • @autono/buttons-darwin-x64 — Intel Mac
  • @autono/buttons-linux-arm64 — ARM servers, Raspberry Pi 4+
  • @autono/buttons-linux-x64 — most Linux + WSL

Windows is tracked separately; see autonoco/autono#350.

Alternative installs

If you don't want the Node wrapper overhead (~30ms per invocation), install the native binary directly:

# Universal installer
curl -fsSL https://raw.githubusercontent.com/autonoco/buttons/main/install.sh | sh

# Go toolchain
go install github.com/autonoco/buttons@latest

See the GitHub repo for Docker, Homebrew, and full documentation.

License

Apache-2.0 — see LICENSE.

版本与发布记录

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

版本发布日期距今
0.147.0latest2026/09/072 个月前
0.146.02026/08/132 个月前
0.145.02026/08/013 个月前
0.144.02026/08/013 个月前
0.143.02026/08/013 个月前
0.142.02026/08/013 个月前

其他发布通道:bootstrap → 0.0.0-bootstrap。

关于 @autono/buttons 的常见问题

@autono/buttons 是什么?

n8n for agents. A deterministic workflow engine where AI agents build and run their own automations.

如何安装 @autono/buttons?

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

@autono/buttons 支持 TypeScript 吗?

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

@autono/buttons 需要什么版本的 Node.js?

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

@autono/buttons 可以商用吗?

@autono/buttons 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@autono/buttons 的下载量有多少?

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

@autono/buttons 还在维护吗?

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