CLI Commands

This page covers the dedicated Feynman CLI commands and compatibility flags.

Workflow prompt templates such as /deepresearch also run directly from the shell as feynman <workflow> .... Those workflow entries live in the slash-command reference instead of being duplicated here.

Core

CommandDescription
feynmanLaunch the interactive REPL.
feynman chat [prompt]Start chat explicitly, optionally with an initial prompt.
feynman helpShow CLI help.
feynman setupRun the guided setup wizard.
feynman doctorDiagnose config, auth, Pi runtime, and preview dependencies.
feynman statusShow the current setup summary.

Model Management

CommandDescription
feynman model listList available models in Pi auth storage.
feynman model login [id]Login to a Pi OAuth model provider.
feynman model logout [id]Logout from a Pi OAuth model provider.
feynman model set <provider/model>Set the default model.

AlphaXiv

CommandDescription
feynman alpha loginSign in to alphaXiv.
feynman alpha logoutClear alphaXiv auth.
feynman alpha statusCheck alphaXiv auth status.

Utilities

CommandDescription
feynman search statusShow Pi web-access status and config path.
feynman update [package]Update installed packages, or a specific package.

Flags

FlagDescription
--prompt "<text>"Run one prompt and exit.
--alpha-loginSign in to alphaXiv and exit.
--alpha-logoutClear alphaXiv auth and exit.
--alpha-statusShow alphaXiv auth status and exit.
--model <provider:model>Force a specific model.
--thinking <level>Set thinking level: off
--cwd <path>Set the working directory for tools.
--session-dir <path>Set the session storage directory.
--new-sessionStart a new persisted session.
--doctorAlias for feynman doctor.
--setup-previewAlias for feynman setup preview.