kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / model / sign

kosa8 model sign

Sign a model's weights digest, for an approved model list that requires a signer

Usage#

kosa8 model sign NAME --key FILE --signer NAME

Writes a signature over the SHA-256 of the model's weights with an Ed25519 key (one line of base64, as kosa8 policy keygen --out writes). An entry in the org policy's allowed_models that names this key as its signer then accepts the model; changing one byte of the weights invalidates it.

Options#

FlagTypeWhat it doesDefault
--keystringEd25519 private key file—
--signerstringwho is signing, for the record—

Example#

  kosa8 model sign qwen2.5-7b --key signer.key --signer ada@example.com

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA