# Feynman

> 开源科研 Agent：一条命令做文献综述、深度调研、论文审稿、论文与代码一致性核查和复现计划，检索 arXiv、PubMed 等来源并记录出处，适合研究生写综述。安装后运行 feynman setup 登录模型服务商。

- 类型：CLI
- 仓库：https://github.com/Companion-Inc/feynman
- 页面：https://hebbmind.com/zh-TW/cli/feynman
- Stars：9984
- 适用职业：[算法 / AI](https://hebbmind.com/zh-TW/tools.md?profession=algorithm)、[教师 / 学生](https://hebbmind.com/zh-TW/tools.md?profession=education)、[科研 / 学术](https://hebbmind.com/zh-TW/tools.md?profession=research)、[医生 / 医疗健康](https://hebbmind.com/zh-TW/tools.md?profession=healthcare)
- 标签：文献检索、论文写作、网页搜索、生物医学、终端、arxiv
- 收录时间：2026-09-30

## 安装

### Claude Code

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

### Codex

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

## README

> 以下内容来自上游仓库 https://github.com/Companion-Inc/feynman ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

<p align="center">
  <a href="https://feynman.is">
    <img src="https://raw.githubusercontent.com/Companion-Inc/feynman/HEAD/assets/hero.png" alt="Feynman CLI" width="800" />
  </a>
</p>
<p align="center">The open source AI research agent.</p>
<p align="center">
  <a href="https://feynman.is/docs"><img alt="Docs" src="https://img.shields.io/badge/docs-feynman.is-0d9668?style=flat-square" /></a>
  <a href="https://github.com/Companion-Inc/feynman/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/Companion-Inc/feynman?style=flat-square" /></a>
  <a href="https://deepwiki.com/Companion-Inc/feynman"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg" /></a>
</p>

## Install

macOS / Linux:

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

Windows (PowerShell):

```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:

```bash
feynman setup
```

The [installation guide](https://feynman.is/docs/getting-started/installation) covers pinned versions, uninstalling, and the skills-only bundle for Codex and OpenCode. The [setup guide](https://feynman.is/docs/getting-started/setup) covers local models and editors such as Zed.

## Use

```bash
feynman "what do we know about scaling laws"
feynman lit "RLHF alternatives"
feynman deepresearch "mechanistic interpretability"
```

| Workflow | What 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](https://github.com/earendil-works/pi) with four research agents: researcher, verifier, reviewer, and writer.

## 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](https://feynman.is/docs/getting-started/configuration#telemetry)

## Contributing

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

See [CONTRIBUTING.md](https://github.com/Companion-Inc/feynman/blob/HEAD/CONTRIBUTING.md).

[Docs](https://feynman.is/docs) · [Release notes](https://github.com/Companion-Inc/feynman/blob/HEAD/RELEASES.md) · [MIT License](https://github.com/Companion-Inc/feynman/blob/HEAD/LICENSE)

