Reference

CLI reference

Applies to Anacom Earth 0.10.0 · Perichora 0.5.0No other versions have public documentation.

The optional perichora command-line tool, bundled inside Anacom Earth. Every usage line below is copied from the tool’s own --help output.

Installing the CLI

Terminal
"/Applications/Anacom Earth.app/Contents/Resources/bin/perichora" app install-cli
perichora --version

The wrapper uses the Python runtime inside the application; no system Python is needed. The link is placed in ~/.local/bin unless you pass --dir. Make sure that folder is on your PATH.

Conventions

  • Output is JSON by default; add --human (where offered) for readable output.
  • Commands that change state ask for confirmation; --yes confirms non-interactively. Installs and removals without a terminal are refused unless --yes is given.
  • PERICHORA_HOME selects the data folder (default ~/.local/share/perichora).
  • Exit status 0 is success. Status commands return 3 when the service is not running.

tested marks commands executed during documentation testing against the 0.10.0 bundle in an isolated data folder. Descriptions marked (summary) are ours because the tool prints no help text for that command.

Application

Manage the Anacom Earth application server and bundle.

app run
perichora app run [--port PORT] [--announce] [--open] [--allow-unsupported] [--watch-parent]
Run the application server in the foreground. --announce prints a ready line for shells; --open opens the default browser; --watch-parent exits if the launching process disappears. tested
app status
perichora app status [--human]
Is the application running? tested
app stop
perichora app stop [--human]
Stop the running application server. tested
app pair
perichora app pair [--human]
Print a one-time code that lets a browser manage models. tested
app info
perichora app info [--human]
Build profile, signing state and resource locations. tested
app install-cli
perichora app install-cli [--human] [--dir DIR] [--force]
Link `perichora` into a folder on your PATH (default ~/.local/bin).
app update
perichora app update [--human] [--yes] [--publisher PUBLISHER] [--key KEY] [--target TARGET] {check,apply} manifest signature [archive]
Verify and install a signed application release. --publisher is the fingerprint of a key added with `trust add`; --key is a public key PEM for a one-off check; archive defaults to downloading from the manifest. advanced
app recover-update
perichora app recover-update [--human] --target TARGET
Recover an interrupted application update. advanced
app rollback
perichora app rollback [--human] [--yes] --target TARGET
Restore the verified previous application. advanced
app uninstall
perichora app uninstall [--human] [--yes] [--app APP]
Move the application to the Trash; data is kept.

Runtime

The Perichora runtime is a separate local service from the application server. It is needed for jobs and numeric execution, not for browsing the workspace.

version
perichora version [--human]
Show version, build profile, signing state and platform support. tested
doctor
perichora doctor [--human]
Inspect local runtime prerequisites. tested
start
perichora start
Start the runtime in the background (default port 8740). (summary) tested
stop
perichora stop
Stop the runtime. (summary) tested
restart
perichora restart
Restart the runtime. (summary)
status
perichora status [--human]
Check runtime health. tested
serve
perichora serve [--human]
Run the loopback-only workspace in the foreground; useful for diagnosing start-up failures.
open
perichora open [--human]
Open the local workspace.
config
perichora config [--port PORT] [--requests-per-second REQUESTS_PER_SECOND]
Show or set runtime configuration. (summary) tested
logs
perichora logs
Show runtime logs. (summary)
metrics
perichora metrics
Show sampled runtime resource metrics. (summary) tested
diagnostics
perichora diagnostics
Print diagnostic information. (summary)

Packages and trust

Trust is explicit and command-line only. Installing never activates a package.

trust list
perichora trust list [--human]
List trusted publishers. (summary) tested
trust add
perichora trust add [--human] key
Trust a publisher’s public PEM key. (summary)
trust revoke
perichora trust revoke [--human] fingerprint
Permanently revoke a publisher. (summary)
catalog source add
perichora catalog source add [--human] --publisher PUBLISHER name catalogue_url signature_url
Register a location; grants no trust.
catalog source list
perichora catalog source list [--human]
List registered catalogue sources. (summary) tested
catalog source remove
perichora catalog source remove [--human] name
Remove a registered source. (summary)
catalog refresh
perichora catalog refresh [--human] [--publisher PUBLISHER] [--source SOURCE] [catalogue_url] [signature_url]
Fetch and verify a signed catalogue; --source names a source registered with `catalog source add`.
catalog import
perichora catalog import [--human] --publisher PUBLISHER manifest signature
Import a signed catalogue from local files. (summary)
catalog list
perichora catalog list [--human] [--publisher PUBLISHER]
Offered packages and their local state. tested
catalog clear-download
perichora catalog clear-download [--human]
Discard a partial catalogue package download. (summary)
search
perichora search [--human] [query]
Search offered packages. (summary) tested
show-model
perichora show-model [--human] [--remote] [--publisher PUBLISHER] id version
Show a model version; --remote inspects a catalogue package.
pull
perichora pull [--human] [--yes] [--version MODEL_VERSION] [--publisher PUBLISHER] [--dry-run] model
Install from an explicitly trusted signed catalogue (shows details, asks first).
update
perichora update [--human] [--yes] [--publisher PUBLISHER] [--check] [--dry-run] [model]
Check for, or install, a newer signed version alongside existing versions.
list
perichora list [--human]
List installed model packages. tested
verify
perichora verify [--human] [--key KEY] id version
Verify a model version.
remove
perichora remove [--human] [--yes] id version
Remove a model version.
inspect
perichora inspect --key KEY package
Inspect a signed local package against an explicitly trusted public PEM key.
install
perichora install --key KEY package
Install a signed local package against an explicitly trusted public PEM key.
update-check
perichora update-check policy
Run explicit pinned update policy; no automatic activation.

Execution

Numeric execution of signed packages for engineering verification. None of these commands performs scientific inference.

run
perichora run [--steps STEPS] [--delay-ms DELAY_MS] [--seed SEED] [--priority PRIORITY] [--timeout TIMEOUT] [--memory-mib MEMORY_MIB] [--scratch-mib SCRATCH_MIB] {runtime-diagnostic}
Submit a runtime diagnostic (not scientific inference). tested
jobs
perichora jobs {list,prune,show,cancel,retry}
Inspect and manage jobs (show, cancel and retry take a job id). Requires a running runtime. (summary) tested
predict
perichora predict [--memory-mib MEMORY_MIB] [--timeout TIMEOUT] id version inputs [inputs ...]
Execute a signed numeric model; not a validated Earth prediction.
batch-predict
perichora batch-predict --publisher PUBLISHER [--backend {cpu,metal}] id version input
Run a bounded batch of a signed numeric package on CPU or Metal. (summary)
batch-submit
perichora batch-submit [--backend {cpu,metal}] --publisher PUBLISHER [--memory-mib MEMORY_MIB] [--timeout TIMEOUT] id version input
Submit a bounded batch to the persistent scheduler.
accelerator-build
perichora accelerator-build
Compile and verify the trusted local Metal helper.
metal-probe
perichora metal-probe
Run a verified Apple Metal arithmetic diagnostic.

Publishing (owner only)

Tools for the holder of a publisher key. Ordinary users never need them. Never run them with a key you did not create for this purpose.

vault create
perichora vault create directory
Create an offline encrypted publisher vault (passphrase prompted privately). (summary) owner only
vault sign
perichora vault sign directory source signature
Sign a file’s exact bytes with the vault key. (summary) owner only
vault stage
perichora vault stage --base-url BASE_URL --sequence SEQUENCE --expires EXPIRES --output OUTPUT directory packages [packages ...]
Stage a signed static release of packages. (summary) owner only
vault verify-release
perichora vault verify-release [--public-key PUBLIC_KEY] [--publisher PUBLISHER] [--hosted] directory
Verify a staged (or hosted) release. (summary) owner only
publisher catalogue
perichora publisher catalogue --public-key PUBLIC_KEY --private-key PRIVATE_KEY --base-url BASE_URL --output OUTPUT --sequence SEQUENCE --expires EXPIRES packages [packages ...]
Build a signed catalogue from an unencrypted private key file. Intended for engineering fixtures; production keys use the encrypted vault instead. (summary) owner only
publisher rotation-create
perichora publisher rotation-create --old-public OLD_PUBLIC --new-public NEW_PUBLIC --output OUTPUT --expires EXPIRES
Create a key-rotation record. (summary) owner only
publisher rotation-verify
perichora publisher rotation-verify --record RECORD --old-signature OLD_SIGNATURE --new-signature NEW_SIGNATURE --new-public NEW_PUBLIC
Verify a key-rotation record signed by both keys. (summary) owner only

Research data commands

perichora data has 63 subcommands used by Anacom’s own research pipelines to acquire, verify and replay scientific datasets. They are not a supported public interface, are not documented here, and some require credentials and source licences that are not part of any public build. See Methodology for what they do at a high level.