@eigenpal/cli

中文文档
0.23.15发布于 2026/11/13Apache-2.0TypeScriptES Module零依赖近 30 天下载 1.3万

Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.

原始使用文档
文档目录7 节
  1. Install
  2. Commands
  3. Use it
  4. Primitives
  5. Environment variables
  6. Support
  7. License

@eigenpal/cli

Create, evaluate, and deploy workflows from your terminal. Agent-ready.

npm downloads license docs

Install

npm i -g @eigenpal/cli
eigenpal auth login            # or set EIGENPAL_API_KEY in CI
eigenpal skill install         # install skill for your agent
eigenpal docs search evaluator # search release-matched docs offline

Commands

CommandPurpose
eigenpal statusServer, tenant, user, key id, workflow count.
eigenpal initScaffold a workflow project.
eigenpal authProfile management.
eigenpal workflowWorkflow, evaluators, dataset, experiment.
eigenpal run / eigenpal runsStart runs and inspect artifacts, traces, reviews.
eigenpal agentsAgent source, runs, datasets, triggers, and sessions.
eigenpal skillInstall the agent skill across AI tools.
eigenpal docsList, search, and read bundled platform documentation.

Use it

cd into a folder with your data, then ask your agent:

Build a workflow that extracts line items from these PDFs, judge with an LLM, seed five dataset examples, and run an experiment.

The skill teaches your agent the schemas. The platform handles versioning, evals, traces, and governance.

eigenpal init workflow extract --template pdf-extraction
eigenpal workflow validate                              # local validation
eigenpal run workflows.<id> --example <example> --wait  # one-shot run
eigenpal workflow dataset push <id> --file ./dataset    # upload dataset
eigenpal workflow experiment run <id>                   # batch eval
eigenpal runs list <id> --type workflow --json | jq     # query as JSON

Primitives

PrimitivePurpose
WorkflowVersioned DAG of steps. The thing that runs in prod.
Dataset(input, expected_output) examples. Your ground truth.
EvaluatorScorers: LLM judge, exact match, custom.
ExperimentBatch run of a workflow over a dataset, scored.

Environment variables

Most users never need to set these — eigenpal auth login writes a profile to ~/.config/eigenpal/credentials.json and every command derives its config from there. Reach for env vars when you cannot run an interactive login (CI), need to switch context for one shell, or want to override a single field without editing the credentials file.

VariablePurpose
EIGENPAL_API_KEYBypass the profile entirely. Set in CI to skip auth login. When set, EIGENPAL_BASE_URL (or the cloud default) is used — the active profile is not consulted, so a stale profile cannot redirect a CI run to the wrong server.
EIGENPAL_BASE_URLOverride the server URL for one command or shell. Pairs with EIGENPAL_API_KEY to point CI at an on-prem deployment. Without EIGENPAL_API_KEY, this overrides whatever the active profile would have used.
EIGENPAL_PROFILESwitch the active profile for one shell without touching ~/.config/eigenpal/credentials.json. Useful for ad-hoc context switches: EIGENPAL_PROFILE=staging eigenpal status. Persistent equivalent: eigenpal auth use <name>.
EIGENPAL_DIROverride the workflow project directory used by init / validate. Defaults to ./eigenpal.

Resolution precedence: command-line flags > env vars > active profile > defaults.

Support

File issues at github.com/eigenpal/cli/issues.

License

Apache-2.0. See LICENSE.

版本与发布记录

@eigenpal/cli 共发布 271 个版本,首次发布于 2026/05/03;过去 12 个月发布了 271 个版本。

版本发布日期距今
0.23.15latest2026/11/13今天
0.23.142026/11/13今天
0.23.132026/11/13今天
0.23.122026/11/12今天
0.23.112026/11/121 天前
0.23.92026/11/112 天前

关于 @eigenpal/cli 的常见问题

@eigenpal/cli 是什么?

Eigenpal CLI — author and run document workflows from your terminal. Agent-ready.

如何安装 @eigenpal/cli?

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

@eigenpal/cli 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@eigenpal/cli 支持 ESM 还是 CommonJS?

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

@eigenpal/cli 需要什么版本的 Node.js?

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

@eigenpal/cli 可以商用吗?

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

@eigenpal/cli 的下载量有多少?

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

@eigenpal/cli 还在维护吗?

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