coordinator
The coordinator is what the Noduma maintainers run at app.noduma.dev, and what an Enterprise customer runs for itself. It never runs models: it keeps accounts, keys, routing and credits, and routes each request to a PC. noduma coordinator --help lists every option.
noduma coordinator
Section titled “noduma coordinator”noduma coordinator --state ./coord-state --listen 127.0.0.1:8443| Option | Meaning |
|---|---|
--state DIR |
The state directory, with the admin socket the commands below use |
--listen ADDR |
The listen address; a non-loopback one needs --tls-cert and --tls-key, or --behind-proxy |
--behind-proxy |
A TLS-terminating proxy is in front of a non-loopback address |
--catalog |
Offer Noduma's list of models with each one's state and price, and serve no other model |
--database-url-file FILE |
Keep accounts, credits and PC records in PostgreSQL; the file holds the URL |
--metrics-listen ADDR |
Serve Prometheus metrics, on loopback unless --metrics-public |
--dev-mode |
Log every step of each request and show consumers which PC answered; for your own tests, never text or keys |
Managing accounts and PCs
Section titled “Managing accounts and PCs”Each runs against the admin socket of a coordinator's state directory. noduma coordinator <command> --help shows its options.
| Command | What it does |
|---|---|
noduma coordinator invite |
Create an account; prints its API key, node key and join code once |
noduma coordinator revoke |
Disable an account's keys |
noduma coordinator routing |
Set an account's default routing mode |
noduma coordinator grant |
Grant an account credits (audited) |
noduma coordinator nodes |
PCs with their reliability, state and flags |
noduma coordinator vet, unvet, ban, reinstate |
Vet a PC (it then also takes vetted requests), or unvet, ban or reinstate it |
noduma coordinator forget |
Remove an offline PC's record |
noduma coordinator stats |
Requests, latencies, PC states, free slots |
noduma coordinator ledger |
The credit history, with the model of each charge |
noduma coordinator usage |
Use per model, PC and account over the last hour and day |
noduma coordinator groups |
Who serves each Tier 2 model |
noduma coordinator network |
Create and manage Ad-Hoc networks, their member accounts and PCs |
noduma coordinator link |
Join an invited account to an app account, keeping one balance |
noduma coordinator audit |
Every maintainer action |