Command line (CLI)
The command line gives quick answers and works in scripts. In a terminal it prints readable tables and summaries; piped or redirected, it prints the API's JSON unchanged. Sign in once and later commands need no flags.
The commands#
Ten commands cover everyday use. Run tally --help to see them, and tally <command> --help for examples.
| Command | What it does |
|---|---|
login | Sign in, guided. Also logout. |
status | The server, the connection and who you are signed in as. |
scan | Find AI on this computer and send it to Tally. Asks before reading anything. |
overview | Your AI estate at a glance. |
ai | The AI found, by surface. tally ai KEY shows one item. |
events | The activity events Tally has kept. |
connectors | List connectors; sync, pause, resume, history, configure, show, delete. |
decide | Sanction a provider or model, or allow or deny an MCP server. |
tui | The interactive console. |
Earlier command names (ai-inventory, ai-item, whoami, sync, history, pause, resume, configure, mcp-decide, findings, registry, inventory) still work in scripts but are hidden from help.
Sign in#
In a terminal, tally login is guided. It shows the logo, asks for the server address (offering the last one), checks that it answers, asks for your CA certificate if the server's certificate is not trusted, then asks for your email and password (typed without echo).

The server and CA certificate are remembered, so every later command works without --url or --ca-cert. The session lasts 12 hours. Check where you stand at any time:

Which server a command talks to: --url (or TALLY_CLIENT_URL) if given, else the server you last signed in to, else https://localhost:2357. TALLY_CA_CERT sets the CA certificate from the environment. There is no option to skip certificate checks, and plain HTTP is accepted only for loopback addresses.
In scripts
tally login --url https://tally.example.com --ca-cert ca.pem \
--email you@example.com --password-stdin < password.txtThe password is never accepted as an argument. With flags, nothing is asked that you already gave.
Look around#


| Command | Shows |
|---|---|
overview | Counts of decisions, providers, models, users, hosts and connectors. |
ai | The AI found. Filter with --surface coding,models,browser,framework,apps, --review, --evidence, --query, --window-days. |
ai KEY | One item's evidence, identities and timeline. |
events | The activity events Tally has kept (--kind, --status, --from, --until). |
ai and connectors history page with --cursor; events pages by number, and you pass the response's snapshot back with --snapshot to keep a fixed cutoff while paging.
Work with connectors#

Name a connector by its full ID, the first characters of the ID (4 or more, when unique), its exact name, or a unique part of its name. If a name matches more than one connector, nothing happens and the matches are listed.

tally connectors show okta # schedule and saved settings (never secrets)
tally connectors sync "Corporate proxy" --wait # run now and print the outcome
tally connectors sync --all # run every connector
tally connectors history 361e89bb # recent runs, with any error
tally connectors pause proxy # and: tally connectors resume proxy
tally connectors delete 361e89bb # evidence already collected is keptconnectors sync --wait follows the run until the connector reports a new poll (120 seconds by default; --timeout changes it) and prints the records read and accepted. A failed run exits 1 with its error code, and connectors history shows the details.
Create a connector#
Start from a template built from the web console's own form definitions: defaults are filled in and anything you must supply is shown as <…>.
tally connectors template # every type
tally connectors template litellm > litellm.json
# edit litellm.json: fill in the values shown as <…>
tally connectors configure --file litellm.json --dry-run
tally connectors configure --file litellm.json
connectors configure checks source_kind, interval_seconds, acknowledge_source_access: true and that no placeholder is left, shows the preview, then asks. Without connector_instance_id the server uses the type's default connector, so saving can replace an existing connector of that type; the result says whether it created or updated one. To add another, put a new UUID in connector_instance_id. Credentials in the file are encrypted by the server; keep the file private and delete it afterwards.
Sources imported from export files (DNS, proxy and MCP logs) are added in the terminal console or the web console, not here. The request is the same as POST /api/v1/tally/connectors/schedules (ConnectorScheduleRequest in the OpenAPI document).
Record decisions#
tally decide provider anthropic allow # or deny; also: decide model <name>
tally decide mcp mcp.github deny --tool create_issue # allow | deny | clearProviders and models are found by key or name, so you don't copy identifiers. Every command that changes something asks first (“Unsanction provider Anthropic? [y/N]”). --yes (-y) skips the question; with no terminal to ask in, the command stops and says to add --yes. Answering no changes nothing. A decision records approval; it does not block vendor traffic.
Readable for you, JSON for scripts#

- In a terminal, commands print summaries and tables. Piped or redirected, they print the API's JSON unchanged, so existing scripts keep working.
--jsonforces JSON in a terminal. Colour is used only in a terminal andNO_COLOR=1turns it off.- Responses keep their pagination and coverage metadata; one page is not a whole-tenant export.
Errors and exit codes#

| Exit | Meaning |
|---|---|
0 | Success. |
1 | Any other failure: invalid input, an unusable --ca-cert or session folder, a failed sync, or a name that matches nothing. |
2 | Usage error: an unknown command or option, or a value out of range. |
3 | Could not reach the server: connection refused, name not found, certificate problem, wrong protocol or a timeout. |
4 | Not signed in, or the session expired or was revoked. Run tally login. |
5 | The server answered and rejected the request (any other HTTP error). |
141 | The output pipe closed early (for example piping to head), which ends quietly like other Unix tools. |
Add --json-errors (or TALLY_JSON_ERRORS=1) to print a failure as one JSON object on standard error. kind is connect, auth, server or error; status is the HTTP status when the server answered; code is the server's machine-readable code when it sent one.
{"error":{"kind":"server","status":404,"code":"connector_not_found","message":"HTTP 404: That connector does not exist; list connectors with `tally connectors`."}}When the server cannot be reached
| The message says | Cause and fix |
|---|---|
| Nothing is listening at URL | Wrong host or port in --url, or Tally is not running. |
| Cannot find the host | The name does not resolve. Check spelling, DNS or your VPN. |
| The TLS certificate … is not trusted | A self-signed or private certificate. Pass --ca-cert /path/to/ca.pem (login asks for it and remembers it). |
| … is not valid for the host name in --url | The certificate lists other names (the message prints them). Use one of them in --url. |
| … expired on / is not valid until | Renew the certificate, or correct this computer's clock. |
| URL did not answer with TLS / with HTTP | https:// sent to a plain-HTTP port, or the reverse. Plain HTTP works only for loopback addresses. |
| Timed out after 10 seconds connecting | Nothing was sent. Check the address and any firewall. |
| No answer … within the 30 second limit | The request was sent, so a change may still have completed. Check before repeating it. |
If the server answers HTTP 403 because the request origin is not the address Tally is configured for, the message names both. Use the address in the server's TALLY_URL.
Scan a computer#
scan finds AI on the macOS or Linux computer it runs on and sends the result to Tally. It reads only the computer and account it runs as, and does not scan other hosts or network ranges.
It runs by default
So there is data to show straight away, Tally scans the computer for you the first time:
tally loginscans this computer once after you sign in. It asks for your agreement the first time (“Scan this computer for AI? [Y/n]”) and reads nothing before that. Usetally login --no-scan, or setTALLY_NO_AUTO_SCAN=1, to skip it.tally tuidoes the same when it starts with a saved session and this computer has not been scanned.- The web console scans the computer the Tally server runs on when an administrator opens an empty Overview (native installations).
It never runs without a terminal, and it happens once per server and computer. Run tally scan to scan again, and tally scan --install to keep it up to date.
tally login
tally scan --dry-run # print the request; send nothing
tally scan --once # scan and exit
tally scan # scan, then keep watching
tally scan --install # keep watching in the background
tally scan --uninstallAfter the first scan the client receives a credential for this computer and keeps watching: it rescans every --interval seconds (60 by default), sends a snapshot only when what it finds changes, and otherwise sends a heartbeat so the console shows the computer as live. That credential can only fetch scan signatures and send this computer's snapshots and heartbeats. Stop scanning in the console revokes it, and the watcher stops at its next check.
--install hands watching to a systemd user service (tally-scan.service; run loginctl enable-linger to keep it running while logged out) or a macOS LaunchAgent (ai.godel.tally-scan, logs in ~/Library/Logs/tally-scan.log). --uninstall removes it; the credential stays until you revoke it in the console. What is read and sent is described in the local host privacy notes.
Help and Tab completion#
tally --help # commands in the order you use them
tally <command> --help # every option, with examples
source <(tally completions bash) # also zsh, fish, powershell, elvishAdd the source line to ~/.bashrc (or ~/.zshrc) to keep Tab completion in every new shell. It completes commands and options.

Sessions and embedding hosts#
A standalone sign-in reuses the console's 12-hour session and account lockout rules; tally status and tally status show when it expires. The session is stored under $XDG_STATE_HOME/godel-tally or $HOME/.local/state/godel-tally, in a directory owned by you with mode 0700 and a regular file with mode 0600; symbolic or hard links and group or other access are rejected. Override the file with --session-file, placing it in a private directory. Passwords are never stored or printed. When a prompt is not possible, login --password-stdin reads the password from redirected input.
logoutrevokes the session and deletes the local file.session-forgetremoves only the local credential, and succeeds when nothing is saved.- If the session folder is unsafe,
loginfails before it asks for a password and names the fix (chmod 700 <folder>). If saving fails after a successful sign-in, the new session is revoked on the server. - Requests never carry credentials through a redirect or to another origin.
An embedding host such as Gödel Gate keeps its own sign-in and permissions. Import its browser session through redirected input with tally --url https://host session-import --hours 1; this checks inventory access before saving and does not create a token or bypass the host's authentication. Use the host's own controls for host accounts.