Development checkout
The CLI requires Python 3.12 or later. From an authorized product checkout:almanac for the examples below. For isolated
packaging checks, build a wheel with uv build --project cli and install the
resulting local artifact. Runtime and Desktop releases carry their matching CLI;
there is no separate public installation or self-update step.
Connect the personal identity
whoami checks that identity
remotely. almanac setup combines guidance installation with login when needed;
agent setup explains what it installs.
almanac logout clears stored login. It does not disconnect provider accounts or
remove an environment-supplied token. Provider accounts have their own
connection lifecycle.
Selecting credentials
Outside managed execution, the root--user option explicitly selects stored
user login. Otherwise the CLI selects an explicit --token, then
ALMANAC_TOKEN_FILE, then ALMANAC_TOKEN, then stored login. It does not fall
through to another identity when a selected token file is invalid.
Keep credentials out of command transcripts and documentation examples. An API
credential is not a Gmail account ID: use
accounts list for the latter.
Diagnosing setup
whoami establishes the
personal API identity, not Gmail access or Netrows availability. If a documented
command is missing, compare --version and installed --help before changing
credentials or retrying against another backend.