█

AI/TLDR

Buy me a coffee
Buy me a coffee

Feynman

An open-source terminal research agent that searches papers and the web and answers with cited sources

Research & Answer EnginesOpen source
Latest
v0.5.5
Updated
24 Sep 2026
Language
TypeScript
License
MIT
$curl -fsSL https://feynman.is/install | bash

What's new

v0.5.524 Sep 2026

Feynman runs on Node.js 26 and drops its upper Node version limit, and failed alphaXiv calls now point the agent to arXiv / Semantic Scholar search or page fetching so a research run continues.

IN SHORT

What is Feynman?

Feynman is an open-source AI research agent that runs in your terminal. It sits in the Research & Answer Engines category of the AI Productivity & Writing tools and is open-source, written in TypeScript and licensed MIT. To get started: install Feynman.

Updated Markdown version ↗

Overview

Feynman is an open-source AI research agent that runs in your terminal. You ask it a question in plain language — or call one of its workflows, such as `feynman deepresearch "mechanistic interpretability"` or `feynman lit "RLHF alternatives"` — and it searches papers and the web, reads the sources and answers with citations that link directly to the papers, docs or repositories behind each claim.

The Feynman terminal app showing its welcome panel with model, agents and research workflow commands, then running web and academic searches for a question about scaling laws
Feynman's terminal UI: the research workflows on the right, a scaling-laws question being researched belowFeynman README ↗

The work is organised as research workflows exposed as slash commands: source-heavy deep research, literature reviews, research reviews with severity-graded feedback, audits that compare a paper's claims against its public codebase, replication plans, ranked ML training recipes, source-comparison matrices, paper-style drafts and a bounded autoresearch experiment loop. When a task benefits from decomposition, the workflows hand parts of it to four bundled agents — a Researcher, a Reviewer, a Writer and a Verifier that checks inline citations and cleans up dead links.

Under the hood Feynman runs on the stock Pi coding agent, loading its prompts, skills, agents and research tools as a Pi package. Paper search and Q&A go through alphaXiv; read-only literature databases (Semantic Scholar, OpenAlex, arXiv, PubMed, Europe PMC, bioRxiv/medRxiv, Crossref), the Hugging Face Hub, web search and local PDF/office parsing are built in, and Docker, Modal or RunPod can run replication experiments you explicitly approve. It works with hosted model providers via OAuth or API key and with local models through LM Studio, LiteLLM, Ollama or vLLM. The research skills can also be installed on their own into Codex, OpenCode or a repo's `.agents/skills` folder, without the terminal app.

What it does

  • Research workflows as slash commands: `/deepresearch`, `/lit`, `/review`, `/audit`, `/replicate`, `/recipe`, `/compare`, `/draft`, `/autoresearch` and `/summarize`
  • Four bundled agents — Researcher, Reviewer, Writer and Verifier — with citation verification and dead-link cleanup
  • Paper search and Q&A via alphaXiv plus read-only Semantic Scholar, OpenAlex, arXiv, PubMed, Europe PMC, bioRxiv/medRxiv and Crossref lookups
  • Paper-vs-code audits and replication checks that only execute after you choose an environment (Docker, Modal or RunPod)
  • Works with hosted providers (OAuth or API key), Amazon Bedrock, and local models via LM Studio, LiteLLM, Ollama or vLLM
  • A skills-only install that adds the research skills to Codex, OpenCode or a repository without the terminal app

Getting started

Feynman ships as a standalone installer that bundles its own Node.js runtime, or as an npm package if you already have Node.js 22.22.0 or newer.

Install Feynman

The one-line installer downloads a tagged release as a standalone bundle and verifies its SHA-256. On Windows use `irm https://feynman.is/install.ps1 | iex` instead.

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

# or, with your own Node.js >= 22.22.0
npm install -g @companion-ai/feynman

Connect a model provider

Setup offers OAuth login or an API key / custom provider (including LM Studio, LiteLLM, Ollama, vLLM and Amazon Bedrock), signs you in to alphaXiv and picks a recommended research model. You can change the model later.

bashbash
feynman setup
feynman model list
feynman model set <provider/model>

Ask a question or run a workflow

A plain question searches papers and the web and answers with cited sources; the workflow commands run deeper, multi-agent investigations.

bashbash
feynman "what do we know about scaling laws"
feynman deepresearch "mechanistic interpretability"
feynman lit "RLHF alternatives"
feynman audit 2401.12345

Or install only the research skills

To use the skill library inside another agent without the terminal app, run the skills installer. It defaults to `~/.codex/skills/feynman`; `--repo` and `--opencode` install into the repository you run it from instead.

bashbash
curl -fsSL https://feynman.is/install-skills | bash -s -- --repo

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reach for it when you need a literature review or deep-research brief where every claim links back to a paper, doc or repo
  • Reach for it to check whether a paper's public code actually matches what the paper claims, or to plan a replication before spending compute
  • Reach for it when you want ranked, implementable ML training recipes drawn from papers, datasets and code
  • Reach for it to give Codex, OpenCode or another agent a research skill library without adopting a new app

How Feynman compares

Feynman alongside other open-source research & answer engines tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Perplexica★ 38.4kAn open-source AI search engine (formerly Perplexica, now Vane) that answers questions from the web with cited sources, using local or cloud LLMs while keeping searches private.
Feynman★ 10.2kAn open-source terminal research agent that searches papers and the web and answers with cited sources
Local Deep Research★ 9.7kA self-hosted deep-research assistant that runs any local or cloud LLM across 10+ search engines, academic databases and your own encrypted document library, and returns a cited report.
Hister★ 6.4kPrivate search engine over the pages you visit and the files you keep: full-text indexing with optional semantic search, queried from a web UI, a TUI or an AI assistant over MCP.
Hyperresearch★ 5.2kAn open-source deep-research harness for Claude Code and OpenAI Codex that runs a multi-step, critic-audited pipeline into a cited report and keeps every source in a searchable markdown + SQLite vault.
LLM-for-Zotero★ 3.7kA Zotero plugin that puts a research agent beside the PDF you are reading: grounded paper chat with citation jumps, figure analysis, multi-paper comparison and library-wide agent workflows.
Agentero★ 3kLocal desktop research workspace that keeps papers, linked Markdown notes and agent context in one folder, with a PDF reader, Zotero import, ACP-connected local agents and a built-in MCP server.
Deep Research Skills★ 2.6kA set of agent skills for Claude Code, OpenCode and Codex that drafts a research outline you approve, researches each item with parallel web-search agents and writes the results into a markdown report.