Skip to main content
This page covers every Feynman CLI command and flag. Research workflow commands like feynman deepresearch are also documented in the Slash Commands reference, since they map directly to REPL slash commands.

Core commands

Run feynman setup first on a new machine. Feynman will also auto-launch setup if no model is configured and stdin is a TTY.

Model management

The model set command writes the new default to ~/.feynman/settings.json. The format is provider/model-name:
To see all models you have configured and their authentication status:

AlphaXiv commands

AlphaXiv authentication enables Feynman to search and retrieve papers, access discussion threads, and pull citation metadata. Once authenticated, the alpha tools are available inside the REPL for paper search, Q&A, and code inspection.

Package management

Use feynman packages list to see which optional packages are available and which are already installed. Pass a specific package name to feynman update to update only that package. See Packages for the full list of presets.

Utility commands

Workflow commands

All research workflow slash commands can also be invoked directly from the CLI. Feynman translates them into the corresponding REPL slash command on launch:
These are equivalent to launching the REPL and typing the corresponding slash command. The CLI form is useful for scripting and automation.

Flags

Thinking levels

The --thinking flag (and FEYNMAN_THINKING env var) controls how much extended reasoning the model applies before responding. Higher levels produce more thorough analysis at the cost of latency and token usage.
--model accepts both / and : as separators (anthropic/claude-sonnet-4-5 and anthropic:claude-sonnet-4-5 are both valid).