AI Bill of Materials Standard — open standard SDK for AI component transparency
Project description
aibomstd
The open standard for AI Bill of Materials.
Scan any repo and instantly know what AI components are running, which send data outside your boundary, and what your compliance risk is.
Install
pip install aibomstd
CLI — scan a repo in seconds
aibomstd scan ./my-repo
┌─────────────────────┬────────────┬──────────────┬──────────┬────────┐
│ Component │ Type │ Provider │ Boundary │ Risk │
├─────────────────────┼────────────┼──────────────┼──────────┼────────┤
│ openai │ api-client │ openai │ leaves │ high │
│ anthropic │ api-client │ anthropic │ leaves │ high │
│ langchain │ framework │ langchain-ai │ internal │ none │
│ torch │ framework │ pytorch │ internal │ none │
│ llama-3-8b.gguf │ model │ unknown │ internal │ medium │
│ training.jsonl │ dataset │ unknown │ internal │ medium │
└─────────────────────┴────────────┴──────────────┴──────────┴────────┘
Summary:
Total components : 6
Data egress : YES
Shadow AI : YES
Risk score : HIGH
Generated: my-repo.aibom.json
What it detects
| Component type | Examples |
|---|---|
api-client |
openai, anthropic, cohere, mistral, groq |
framework |
langchain, llama-index, transformers, ollama |
model |
.gguf, .safetensors, .pt, .onnx files |
dataset |
.jsonl, .parquet, .arrow files in data/ folders |
| Shadow AI | API keys in .env not declared in dependencies |
Auto-detects data-leaves-boundary and data-residency for every component.
Other CLI commands
# Validate a BOM file against the schema
aibomstd validate my-repo.aibom.json
# Check version
aibomstd version
SDK — generate BOMs in Python
from aibomstd import AiBomBuilder
from aibomstd.components import ModelComponent, ApiClientComponent
bom = (
AiBomBuilder(product="my-ai-product", version="1.0.0")
.add_component(ModelComponent(
name="llama-3-8b-instruct",
version="3.0",
provider="meta",
data_leaves_boundary=False,
data_residency="IN"
))
.add_component(ApiClientComponent(
name="gpt-4o",
version="2024-05-13",
provider="openai",
data_leaves_boundary=True,
data_residency="US"
))
)
print(bom.to_json()) # aibomstd JSON
bom.to_html() # self-contained HTML report
bom.to_cyclonedx() # CycloneDX v1.7 JSON
Schema
Every output document references the canonical schema:
https://aibomstd.com/schema/v0.1/aibomstd.schema.json
License
Apache 2.0 — https://aibomstd.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aibomstd-0.2.6.tar.gz.
File metadata
- Download URL: aibomstd-0.2.6.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b07c34c9f9e23e26391aa08bc242b09997c5bd25a9d834859cf2b38e1ce3dc4e
|
|
| MD5 |
e32d45b18dc2751efc0bc8760d7c3d8f
|
|
| BLAKE2b-256 |
186bac04037f6c0cdc548d6cd12d6547a1e982552cb0755cc1a5a1714be6475b
|
Provenance
The following attestation bundles were made for aibomstd-0.2.6.tar.gz:
Publisher:
publish-pypi.yml on aibomstd/aibomstd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aibomstd-0.2.6.tar.gz -
Subject digest:
b07c34c9f9e23e26391aa08bc242b09997c5bd25a9d834859cf2b38e1ce3dc4e - Sigstore transparency entry: 2328021207
- Sigstore integration time:
-
Permalink:
aibomstd/aibomstd@a19a0e125478089cd998e132e2628df87509fe7d -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/aibomstd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a19a0e125478089cd998e132e2628df87509fe7d -
Trigger Event:
release
-
Statement type:
File details
Details for the file aibomstd-0.2.6-py3-none-any.whl.
File metadata
- Download URL: aibomstd-0.2.6-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d5846e4ef066f79b16d2c5299c7133523c834f6106aa50a438244bee954852c
|
|
| MD5 |
cc99283e5eebe79b67b204304e905033
|
|
| BLAKE2b-256 |
268faa33088b88e0ddb7535daa4fac2924ac81a4ae6dcf3855ac7f41f67bc2d2
|
Provenance
The following attestation bundles were made for aibomstd-0.2.6-py3-none-any.whl:
Publisher:
publish-pypi.yml on aibomstd/aibomstd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aibomstd-0.2.6-py3-none-any.whl -
Subject digest:
6d5846e4ef066f79b16d2c5299c7133523c834f6106aa50a438244bee954852c - Sigstore transparency entry: 2328021272
- Sigstore integration time:
-
Permalink:
aibomstd/aibomstd@a19a0e125478089cd998e132e2628df87509fe7d -
Branch / Tag:
refs/tags/v0.2.6 - Owner: https://github.com/aibomstd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a19a0e125478089cd998e132e2628df87509fe7d -
Trigger Event:
release
-
Statement type: