inhuman

中文文档
0.3.0发布于 2026/11/04MITES Module

inhuman: the agent harness CLI — TUI, web client, daemon, remote access.

原始使用文档

inhuman

A local agent workspace whose sessions keep running after you close the browser or terminal. A background daemon holds the conversation and runs the work on your machine; reopen either client to pick it up again.

Start

Requires Node.js 22+ and macOS or Linux.

npx inhuman web

The command starts the daemon and a local web server, prints its URL, and opens your browser. It then returns to your shell while the services keep running.

  1. On the first-run Connect a model screen, choose a provider and finish its sign-in or credential prompts. Options include ChatGPT, OpenRouter, Grok, and OpenAI-compatible endpoints. Later, add connections through Settings → Connections → Add a model.

  2. In a terminal, register an existing project folder:

    cd /path/to/your/project
    npx inhuman
    

    Replace the path with your folder. Once the terminal client opens, you can close it; the project and session remain available.

  3. Return to the browser, select the project's tab, and choose a model in the composer. Sending from the project page creates a session.

  4. Try: “Write a three-item project planning checklist. Reply here only; do not use tools or change files.”

Close the browser and run npx inhuman web again to return to your sessions. Your machine must remain running for work to continue. Tools may wait for your approval.

Everyday use

npx inhuman                       # terminal client
npx inhuman web                   # browser client
npx inhuman start                 # start services and print the URL
npx inhuman web --no-browser      # print the URL without opening it
npx inhuman daemon stop           # stop background execution
npx inhuman daemon restart        # restart; interrupts active work
npx inhuman --help

Closing a client leaves the daemon running. daemon stop stops it; saved session documents remain on disk. The default kernel directory is ~/.harness; use --kernel PATH consistently to choose another one. Saved session documents live under the kernel's documents/ directory.

Choose manual, auto, or always approve in the session's permission picker. MCP servers and plugins can extend the agent's tools after setup.

Remote access through npx inhuman login is experimental and restricted to an email allowlist. It is separate from connecting a model provider.

Read the usage guide for setup, permissions, storage, and troubleshooting. See the project, remote access restrictions, or report an issue.

MIT license.

版本与发布记录

inhuman 共发布 5 个版本,首次发布于 2026/10/30;过去 12 个月发布了 4 个版本。

版本发布日期距今
0.3.0latest2026/11/041 天前
0.2.02026/10/314 天前
0.1.02026/10/306 天前
0.0.0-stage2026/10/306 天前
0.0.12021/04/305 年前

关于 inhuman 的常见问题

inhuman 是什么?

inhuman: the agent harness CLI — TUI, web client, daemon, remote access.

如何安装 inhuman?

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

inhuman 支持 TypeScript 吗?

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

inhuman 支持 ESM 还是 CommonJS?

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

inhuman 需要什么版本的 Node.js?

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

inhuman 可以商用吗?

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

inhuman 还在维护吗?

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