Lion Cipher Lab

Write an AI bill of materials for a model with CycloneDX and fail the build when it drifts

Why it matters

A model is built from parts you did not write: training data, a base model, libraries. When something goes wrong with one of them, the first question is which of your systems use it. An AI bill of materials answers that, the same way an SBOM does for code. CycloneDX, an open standard for bills of materials, can describe machine-learning models and datasets as components, with a model card for facts about the model. The value only appears when the BOM is checked automatically against reality, so this lab builds the check as well as the file.

What you'll learn

Steps in this lab

  1. What an AI bill of materials is for
  2. Make a stand-in model file
  3. Write the BOM
  4. Validate it with the CycloneDX CLI
  5. Break the BOM on purpose to see validation work
  6. Write the drift gate
  7. Swap the model and watch the gate stop
  8. What a BOM does and does not tell you
  9. Clean up

Open the full interactive lab →

Keep learning