Skip to content

CLI reference ​

Every command of diffuse-coordinator, generated from the binary itself. If a page here disagrees with what your terminal prints, the page is a bug: a test regenerates all of this and fails on any difference.

init ​

Prepare the state directory and derive the enrolment CA from the deployment root CA

bash
diffuse-coordinator init --org "Klinik Beispiel" --host coordinator.internal

serve ​

Run the coordinator: mTLS gRPC listener plus the node registry

bash
diffuse-coordinator serve --config /etc/diffuse/coordinator.toml

nodes ​

List the nodes this coordinator currently sees

bash
diffuse-coordinator nodes

token ​

Create and manage join tokens

commandwhat it does
token createIssue a join token and print the line to paste onto a machine
token listList tokens by handle. Secrets are not stored and cannot be shown
token revokeRevoke a token

node ​

Manage node identities

commandwhat it does
node revokeRevoke a node identity: refuse it at every call and evict it now
node list-revokedList revoked node identities

apikey ​

Create and manage API keys for the public inference endpoint

commandwhat it does
apikey createIssue a key and print it. Shown once; only its hash is stored
apikey listList keys by handle. Secrets are not stored and cannot be shown
apikey revokeRevoke a key. Effective on the very next request
apikey rotateIssue the next key in place of one, and put the old one on a clock

identity ​

Register the people a chat facade may act for

commandwhat it does
identity importImport people from a CSV file. Idempotent: run it again after a change
identity listList the people this deployment knows
identity disableStop a gateway acting for somebody, keeping the trail that names them
identity enableLet a gateway act for somebody again

model ​

Acquire, inspect and place models

commandwhat it does
model importIngest a model from a directory. The path for a coordinator with no internet route, which is most of them in a regulated deployment
model pullFetch a model: a name from the catalogue, or a repository on a hub
model runFetch a model and serve it: the two commands most people want as one
model listList acquired models and their provenance
model rmRemove a model and its index
model servePlace a model on the nodes of a pool

deployment ​

Inspect and tear down deployments

commandwhat it does
deployment listList deployments and their slices
deployment rmTear a deployment down

audit ​

Read the audit trail: who did what, when, and what was refused

bash
diffuse-coordinator audit --action inference --limit 3

dataset ​

Import and inspect training data. Customer data, declared not detected

commandwhat it does
dataset importIngest a file the coordinator can read
dataset listList datasets and what they were declared as
dataset rmRemove a dataset, unless a job or an adapter still points at it

finetune ​

Fine-tune a model on a file, in one command

bash
diffuse-coordinator finetune qwen2.5-3b berichte.jsonl

job ​

Start, watch and stop fine-tuning runs

commandwhat it does
job createStart a LoRA fine-tuning run
job listList runs, newest first
job getOne run in full, with the sentence explaining where it is
job watchFollow a run until it ends, then say what to do with the result
job cancelAsk a run to stop at the next step boundary, keeping its checkpoint

adapter ​

Inspect the adapters runs produced, with their provenance

commandwhat it does
adapter listList adapters with the whole chain behind each one
adapter exportWrite an adapter's own bytes somewhere you keep them
adapter rmRemove an adapter

eval ​

Score a base model against a fine-tune on a suite

bash
diffuse-coordinator eval berichte-test --model qwen2.5-3b+berichte-v1

distill ​

Teach a small model what a large one knows: label, train, and score

bash
diffuse-coordinator distill --teacher qwen2.5-3b --student qwen2.5-0.5b-instruct --as berichte-klein berichte.jsonl

licence ​

What this deployment is entitled to, and until when

commandwhat it does
licence showShow the licence this coordinator is running under
licence setInstall a licence file and bring the deployment up on it

firewall ​

The three ports this machine must expose, and the host firewall in front of them

commandwhat it does
firewall statusWhich of the three ports are reachable from the network, and why
firewall openOpen the control plane, enrolment and the API in the host firewall
firewall close-enrolmentClose enrolment, once every machine has joined

login ​

Sign in as a person, and keep the session on this machine

bash
diffuse-coordinator login --endpoint https://coordinator.internal:7446

logout ​

End this session, here and on the coordinator

bash
diffuse-coordinator logout

whoami ​

Who this session belongs to, and what it may do

bash
diffuse-coordinator whoami

password ​

Change this account's own password

bash
diffuse-coordinator password

account ​

Human accounts: who may sign in, and as what

commandwhat it does
account listList the accounts
account createCreate an account with a one-time password
account roleChange what somebody may do. Ends their sessions
account disableSwitch an account off, and revoke everything it is holding
account enableSwitch it back on
account bootstrapCreate the first account. Run on the coordinator host.
account recoverReset a password when the identity provider is down and the password is lost. Run on the coordinator host, and audited like bootstrap

session ​

Who is signed in, from where, since when

commandwhat it does
session listWho is signed in
session revokeEnd somebody else's session, now

Diffuse Enterprise is commercial software. Diffuse Open is AGPL-3.0.