← How-to

What the site is built from: the SBOM and AIBOM

The site publishes two lists of what it is built from. Both are linked from the About page.

  • SBOM (software bill of materials): the software packages used to build and run the site, each with its version, plus its source, checksum and declared license where the package publishes them. It also lists Erlang and Elixir's own applications (such as kernel and logger), without checksums, and the JavaScript library bundled into its pages (topbar), and the Elixir wrappers for two build tools, esbuild and tailwind, which are used at build time, do not run in the site, and are marked as excluded.
  • AIBOM (AI bill of materials): the AI used to build and maintain the site (the harness, the tool and each model) and what each one did.

Two formats for each

Each list is published in both of the common formats, so it can be read by either family of tools:

  • CycloneDX 1.6 for both lists. Models are listed with the CycloneDX type machine-learning-model.
  • SPDX 2.3 for the SBOM, the version most SPDX tools read, and SPDX 3.0.1 for the AIBOM, because only SPDX 3 can describe AI models. The AIBOM uses SPDX 3's AI package type for each model, but does not claim the full AI profile: that profile needs each model's release time, which is not recorded here.

How they are made

One command, mix bom, writes all four files. The software list comes from the project's locked dependencies, through the Erlang Ecosystem Foundation's sbom tool. The AI list comes from one file, data/aibom.yaml, which is updated when the AI in use changes. Each file is checked against its format's official schema before it is published.

How to check them

  • Open any of the files with a CycloneDX or SPDX tool, or read them as plain JSON.
  • Compare the SBOM with the project's lock file, mix.lock: each Hex package in the SBOM should appear in the lock file at the same version. The lock file also lists tools used only for development and testing, which the SBOM leaves out.
  • Compare the AIBOM with the commits: from version 0.4.0 on, each commit made with AI names the main model in a Co-Authored-By line. The rest of the AIBOM comes from the record of the working sessions.