@companion-ai/feynman

中文文档
0.5.66发布于 2026/11/08MITES Module构建来源已验证近 30 天下载 2.7万

The open source AI research agent.

原始使用文档
文档目录5 节
  1. Install
  2. Use
  3. Sources
  4. Telemetry
  5. Contributing

Feynman CLI

The open source AI research agent.

Docs License Ask DeepWiki

Install

macOS / Linux:

curl -fsSL https://feynman.is/install | bash

Windows (PowerShell):

irm https://feynman.is/install.ps1 | iex

Or with npm and Node.js 22.22 or newer: npm install -g @companion-ai/feynman.

Then sign in to a model provider:

feynman setup

The installation guide covers pinned versions, uninstalling, and the skills-only bundle for Codex and OpenCode. The setup guide covers local models and editors such as Zed.

Use

feynman "what do we know about scaling laws"
feynman lit "RLHF alternatives"
feynman deepresearch "mechanistic interpretability"
WorkflowWhat it does
/deepresearch <topic>Planned investigation with parallel researchers and citation checks
/lit <topic or lab>Literature review: consensus, disagreements, open questions
/review <paper or draft>Critique with severity levels and a revision plan
/audit <paper>Paper claims compared with its public code
/replicate <paper>Replication plan; runs only after you choose an environment
/recipe <task>Ranked ML training recipes with datasets and code
/compare <topic>Source comparison matrix
/draft <topic>Paper-style draft from research findings
/autoresearch <idea>Bounded experiment loop against a benchmark
/summarize <source>Summary of a paper, repository, or PDF

Results are saved to outputs/ (drafts to papers/). /lit, /deepresearch, and /recipe also write a provenance file listing the sources used and what was verified.

Sources

Feynman searches alphaXiv, Semantic Scholar, OpenAlex, arXiv, PubMed, Europe PMC, bioRxiv, medRxiv, Crossref, the web, and Hugging Face, and reads local PDFs and documents. Free OPENALEX_API_KEY and SEMANTIC_SCHOLAR_API_KEY keys avoid the shared rate limits. It runs on stock Pi with four research agents: researcher, verifier, reviewer, and writer. Add your own tools, such as a Zotero library, with feynman mcp add.

Telemetry

Feynman sends anonymous usage data to PostHog: commands, workflows, tools, models, token counts, and errors with their messages and stack traces (your home folder shown as ~). It never sends prompts, model output, paper content, or tool arguments. Turn it off with FEYNMAN_TELEMETRY=off. What is sent

Contributing

git clone https://github.com/Companion-Inc/feynman.git
cd feynman
npm install
npm test

See CONTRIBUTING.md.

Docs · Release notes · MIT License

版本与发布记录

@companion-ai/feynman 共发布 176 个版本,首次发布于 2026/03/24;过去 12 个月发布了 176 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.5.66latest2026/11/081 天前
0.5.652026/11/063 天前
0.5.642026/11/054 天前
0.5.632026/11/045 天前
0.5.622026/11/036 天前
0.5.612026/10/3011 天前

关于 @companion-ai/feynman 的常见问题

@companion-ai/feynman 是什么?

The open source AI research agent.

如何安装 @companion-ai/feynman?

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

@companion-ai/feynman 支持 TypeScript 吗?

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

@companion-ai/feynman 支持 ESM 还是 CommonJS?

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

@companion-ai/feynman 需要什么版本的 Node.js?

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

@companion-ai/feynman 可以商用吗?

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

@companion-ai/feynman 的下载量有多少?

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

@companion-ai/feynman 还在维护吗?

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