Open Source

Generate an AI Bill of Materials
for your AI apps

Scan your AI codebase and automatically map the models, agents, prompts, tools, datasets, and APIs inside it. The Trivy for AI applications.

MIT License

What AIBOM Detects

AIBOM finds AI components in your code and maps them to a structured inventory.

your_code.py
from langchain import ChatOpenAI

llm = ChatOpenAI(
    model="gpt-4",
    temperature=0.7
)
gpt-4
OpenAI / LangChain
your_code.py
from langchain.agents import initialize_agent

agent = initialize_agent(
    tools,
    llm,
    agent="zero-shot-react-description"
)
ReAct Agent
zero-shot-react-description
your_code.py
from langchain.tools import Tool

search = Tool(
    name="SerpAPI",
    func=search_run
)
SerpAPI
External Search Tool
your_code.py
embeddings = OpenAIEmbeddings(
    model="text-embedding-3-small"
)
vectorstore = FAISS.from_documents(
    docs, embeddings
)
text-embedding-3-small
FAISS Vector Store
your_code.py
prompt = ChatPromptTemplate.from_messages([
    ("system", "You are a helpful assistant..."),
    ("human", "{input}")
])
System Prompt
2 message templates
50+ Model Providers
20+ AI Frameworks
100+ Tool Integrations

Example Output

AIBOM generates a structured JSON document mapping all AI components in your codebase.

aibom scan .
$ aibom scan . --output AI_BOM.json
Scanning repository...
Analyzing 247 Python files
Detecting AI components
Generated AI_BOM.json
Project: customer-support-agent
AI Components Detected:
Model:
- gpt-4
Framework:
- langchain
Embedding:
- text-embedding-3-small
Agent:
- react-agent
Tools:
- serpapi
- wikipedia
Datasets:
- internal-support-docs

Why AIBOM Matters

AI systems contain many hidden dependencies that traditional tooling cannot see.

01

Hidden Dependencies

Models, prompts, tools, datasets, and APIs form complex dependency graphs that are invisible to traditional SBOM tools.

02

Security Risks

Prompt injection, model poisoning, and data leakage require visibility into how AI components interact with your systems.

03

Governance

Organizations need to track AI usage for compliance, risk management, and responsible AI practices.

04

Supply Chain

Third-party models and APIs introduce supply chain risks that must be audited and monitored continuously.

Traditional SBOM Dependencies Libraries AI Models Prompts & Agents AIBOM Dependencies Libraries AI Models Prompts & Agents + = Complete visibility Security coverage Compliance ready

How It Works

Three simple steps to complete AI supply chain visibility.

1

Scan Repository

AIBOM analyzes your codebase using AST parsing to identify Python files, notebooks, and configuration files.

2

Detect AI Components

Multiple detectors identify models, agents, prompts, tools, datasets, and frameworks with precise source locations.

3

Generate AIBOM

Produces a structured JSON document with full inventory, risk findings, and export formats like SPDX and CycloneDX.

Get Started

Install AIBOM and scan your first AI project in minutes.

Install

pip install aibom

Scan

aibom scan .

Export

aibom export --format spdx

Open Source

AIBOM is built by and for the AI security community. We welcome contributions from AI security researchers, AI engineers, and LangChain developers.

Copied to clipboard