@explyt/ai-agent

中文文档
0.6.3发布于 2026/11/16SEE LICENSE IN LICENSEES Module近 30 天下载 4万

Explyt AI Agent: a terminal AI coding agent

原始使用文档

@explyt/ai-agent

Explyt AI Agent: a terminal AI coding agent. Requires Node.js 22 or newer; everything else ships with the package.

Usage

Install globally for a stable terminal command, or use npx for a one-off run:

npm i -g @explyt/ai-agent    # installs the pinned engine and the `explyt` command
explyt                       # start the terminal UI
explyt login                 # store a provider credential, once
explyt update                # install the newer latest, then restart open sessions

For a one-off pinned run:

npx -y "@explyt/[email protected]"          # start the terminal UI
npx -y "@explyt/[email protected]" login    # store a provider credential, once

The agent runs with exactly the extensions this build ships with and ignores any others present on the machine, so that version is the whole description of what you get.

IDE (ACP) integration is not part of this package: it is provided by the Explyt managed backend, which the Neo plugin downloads and manages.

Run npx -y @explyt/[email protected] --help for the available options.

版本与发布记录

@explyt/ai-agent 共发布 46 个版本,首次发布于 2026/08/14;过去 12 个月发布了 46 个版本。

版本发布日期距今
0.6.3latest2026/11/16今天
0.6.3-dogfood.5dogfood2026/11/16今天
0.6.3-dogfood.42026/11/124 天前
0.6.3-dogfood.32026/11/115 天前
0.6.3-dogfood.22026/11/115 天前
0.6.22026/11/079 天前

其他发布通道:rc → 0.1.0-rc.1,dogfood → 0.6.3-dogfood.5。

关于 @explyt/ai-agent 的常见问题

@explyt/ai-agent 是什么?

Explyt AI Agent: a terminal AI coding agent

如何安装 @explyt/ai-agent?

在项目目录运行 npm install @explyt/ai-agent,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:zod(^3.25.0 || ^4.0.0)、typebox(*)、@earendil-works/pi-ai(1.5.0)、@earendil-works/pi-tui(1.5.0)、@earendil-works/pi-coding-agent(1.5.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。它还提供命令行工具 explyt,可以用 npx explyt 直接运行。

@explyt/ai-agent 支持 TypeScript 吗?

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

@explyt/ai-agent 支持 ESM 还是 CommonJS?

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

@explyt/ai-agent 需要什么版本的 Node.js?

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

@explyt/ai-agent 可以商用吗?

@explyt/ai-agent 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@explyt/ai-agent 的下载量有多少?

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

@explyt/ai-agent 还在维护吗?

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