Skip to content

af enroll-agent-runner

Request enrollment of an agent runner

An agent runner is a machine that hosts agents: it runs an agent’s harness for the forge, and reads no code, approves nothing and writes no cache. Give the machine’s public key (af-runner key prints it; the private key never leaves the machine), a name, the machine as af-runner machine prints it, the data classes it may host (each declared first) and the labels an order may ask of it. Requires an administrator; it takes effect at once unless the forge requires a second administrator. Nothing of an enrollment changes: another set of classes is another enrollment, after the old one is stopped.

Usage

af enroll-agent-runner [OPTIONS] --name <NAME> --machine <MACHINE> <KEY>

Arguments

  • <KEY>

    The agent runner’s Ed25519 public key, in hex

Options

  • --name <NAME>

    Name of the machine, recorded for reference: lower-case words joined by -

  • --machine <MACHINE>

    The machine, as af-runner machine prints it

  • --class <CLASSES>

    A data class it may host, declared by the organization already; repeat for each

  • --label <LABELS>

    A label an order may ask of it, such as gpu; repeat for each

  • --reference <REFERENCE>

    The name of what its attestation is measured against, if it is attested

  • --reason <REASON>

    Reason for the request, recorded with it

    Default: ""

Global options

Every af command also takes the global options.

Examples

af enroll-agent-runner "$(cat runner.pub)" --name rack-3 --machine "$(af-runner machine)" --class internal --label gpu

Type to search…

↑↓ navigate↵ selectEsc close