From evidence source to verified action
Security teams rarely lack scanners. They lack one trustworthy view of what was scanned, what was discovered, which findings are actually connected to critical systems, who owns the fix, and whether the fix held.
agent-bom closes that loop with two honest entry paths:
| Start from | First action | What produces inventory |
|---|---|---|
| A repository, image, SBOM, workstation, or MCP config | Run a local or CI scan—no connection required | The scanner reads the target and emits inventory, findings, provenance, and graph evidence together |
| AWS, Azure, GCP, Snowflake, Kubernetes, or another managed source | Add a read-only connection in the self-hosted control plane, then run or schedule a scan | The connection defines scope and credentials; the scan collects the source and creates the inventory snapshot |
Both paths converge after collection: normalize evidence into the same Finding + UnifiedGraph contracts, correlate reachable risk, assign an owner and SLA, then re-scan to verify the result. Inventory is always the output of a named target or connected source—never unexplained preloaded data.
The product promise: start with one useful artifact today; keep the same evidence model as you add CI, connected sources, history, assignments, compliance exports, and runtime enforcement in your own environment.
Quick start · Evidence workflow · Integration capability matrix · Measured matcher proof · Control-plane architecture
Product proof: one scan, end to end
The sample estate below is visibly labeled. A real run begins with a target or read-only connection, executes the same six-stage pipeline, and persists the inventory, findings, graph, and report as one evidence lineage. Collected, inferred, static, and runtime relationships remain distinguishable throughout that lineage.
From that run, operators can move from a ranked path to a fix and a verified terminal state without switching evidence systems.
Open the full product gallery · See the capture protocol
Value by role
| Role | Start here | Primary outcome |
|---|---|---|
| Developer / AI engineer | agent-bom scan . |
See dependencies, secrets, IaC, agents, MCP, and whether Click, Flask, or FastAPI entry points can reach vulnerable packages before shipping |
| AppSec / product security | agent-bom agents --gha . --offline |
Inventory remote actions and reusable workflows with their refs, source provenance, and CI-hardening findings |
| Cloud security | Add a read-only connection, then run a scan | Build scoped cloud, identity, and posture inventory with explicit coverage and provenance |
| Platform / DevOps | pip install 'agent-bom[ui]' && agent-bom serve |
Schedule scans, centralize evidence, assign owners and SLAs, and verify remediation |
| GRC / audit | agent-bom report compliance-narrative scan.json |
Export mapped evidence while preserving unavailable, partial, and not-assessed states |
| CISO / engineering leader | Open Architecture in the self-hosted graph | Compare observed Current state with modeled Proposed and Difference views; proposals remain labeled as not observed or deployed |
Security engineering and GRC remain separate workflows: findings and reachability are not presented as audit certification. See product boundaries. GitHub Actions collection and credential requirements are documented in permissions; scenario truth boundaries are defined by the graph contract.
Quick start
Choose the smallest path that proves value. No account or control plane is required for repository, image, SBOM, workstation, or MCP configuration scans.
Path A — scan now, no connection
The offline sample completes without downloading an advisory database and shows the inventory, finding, reachable path, and remediation output shape.
pip install agent-bom
agent-bom scan --demo --offline
The sample intentionally contains a known-malicious package, so exit status 1 is expected
and the printed report is complete. Scan a repository next:
agent-bom scan .
The repository scan shows inventory, findings, and reachable impact.
agent-bom scan . and agent-bom scan -p . are the same command; PATH is an
alias for --project.
Path B — connect a source, then scan
Use this path when the source is an account or platform rather than a local target. Start the customer-controlled control plane, open Connections, add the provider's read-only grant, and run the first scan. Connections default to auto-scan on creation; scheduled scans are an explicit operator opt-in.
pip install 'agent-bom[ui]'
agent-bom serve
For headless onboarding, agent-bom connect <provider> prints the exact grant,
credential boundary, verification step, and next scan command. The
cloud connection guide documents AWS, Azure, GCP, and
Snowflake, including organization scope and scheduler behavior.
Need a disconnected scan? Seed the smallest package-advisory database first:
agent-bom db update --osv-ecosystem PyPI
agent-bom scan . --offline
If that database is missing or unreadable, the scan writes a partial artifact
when -o is set and exits 1; CI therefore cannot mistake unavailable
advisory coverage for a clean scan.
On a fresh database, that command covers only the selected ecosystem; packages
from other ecosystems remain explicit offline coverage gaps. Repeat
--osv-ecosystem for a polyglot repository, or use
agent-bom db update --source osv for OSV's all-ecosystems archive. The full
archive can exceed 1 GB, may take several minutes, and shows live progress with
the exact total when the server supplies it. Run the broader
agent-bom db update when you also need distro, exploit-probability, and
known-exploited-vulnerability feeds.
A non-zero exit is a verdict, not a crash. scan exits 0 when nothing
matched a gate, and 1 when one did — a --fail-on-* threshold you set, a
known-malicious package, or a scan that did not complete. The report is printed
in full either way, and the last line names the gate that matched. Full
exit-code contract.
Save an artifact with agent-bom scan . -f sarif -o findings.sarif, or follow
the first-run guide for formats and CI use.
Daily developer loop
Try the scanner without installing it, then check a package before adding it:
uvx agent-bom scan .
uvx agent-bom check [email protected] --ecosystem pypi
check returns an allow/unsafe/incomplete pre-install verdict; scan covers the
repository plus discovered AI/MCP configuration. To make both dependency and
secret gates automatic for a team, pin the shipped consumer hooks:
repos:
- repo: https://github.com/msaad00/agent-bom
rev: v0.103.1
hooks:
- id: agent-bom-secrets
- id: agent-bom-scan
Run pre-commit install once. The hooks install agent-bom into their own
isolated environment, so contributors do not need a separate global install.
Hook behavior and CI examples.
| You want to | Go to |
|---|---|
| Scan your repository | agent-bom scan . |
| A dashboard on your laptop | Self-host |
| A shared deployment (Docker, Helm, EKS, Snowflake) | Self-host table |
| Gate a pull request | first-run guide §5 |
| Give an AI agent the tools | agent-bom mcp server — MCP server |
| Connect a cloud account | agent-bom connect aws --emit --out agent-bom-aws-readonly.json — cloud connections |
Use the curated, explicitly synthetic sample when you only want to inspect the output shape:
agent-bom scan --demo --offline
The sample intentionally contains a known-malicious package, which fails closed.
Self-host
The control plane is the growth path, not a prerequisite. Use it when one-off artifacts need to become a durable team workflow: registered sources, scheduled scans, history, inventory snapshots, finding ownership, graph investigation, compliance evidence, and runtime policy—all inside the customer's cloud, cluster, database, identity, and audit boundary.
Start the loopback evaluation profile:
pip install 'agent-bom[ui]'
agent-bom serve
Then open Connections to add a source or New Scan to target a repository, image, SBOM, MCP configuration, or IaC path. A scan produces the inventory; inventory is not populated merely by starting the server.
For a shared deployment, use the production-shaped Docker or Helm path and configure real identity, TLS, PostgreSQL, encryption, and audit keys before exposing it.
| Target | Start here |
|---|---|
| Docker Compose | Platform compose — PostgreSQL, split secrets, migration job |
| Docker Compose (evaluation) | Pilot compose — loopback only, SQLite, no auth |
| Helm / Kubernetes | helm install agent-bom oci://ghcr.io/msaad00/charts/agent-bom --version 0.103.1 |
| EKS | Terraform module |
| Snowflake SPCS / Native App | scripts/deploy/install.sh snowflake-native · install guide |
| Air-gapped | Image bundle guide |
Examples target this release candidate; confirm release availability before copying an exact pin. Otherwise, use the latest version shown on PyPI.
Deployment overview · Enterprise configuration · Cloud connections
| Need | First action | Artifact or next step |
|---|---|---|
| GitHub CI | uses: msaad00/[email protected] |
SARIF, PR summary, and a policy exit code |
| Cloud evidence | agent-bom connect aws --emit --out agent-bom-aws-readonly.json |
Deploy the read-only grant, then connect and scan |
| Runtime gateway | agent-bom gateway serve --from-control-plane http://127.0.0.1:8422 --bind 127.0.0.1:8090 |
Allow, warn, and block audit events |
| Agent interface | agent-bom mcp server |
84 MCP tools, 6 resources, and 8 workflow prompts |
| Agent distribution | Smithery manifest · Glama · MCP registry · Docker MCP | Registry-specific installation metadata |
MCP server mode exposes 84 MCP tools, 6 resources, and 8 workflow prompts, all read-first: discovery and analysis never mutate a scanned target.
Set YDC_API_KEY to enable the optional youcom_search MCP tool for live web
and news context alongside the local threat-intel database. It is the only tool
that sends your query to a third party, it is off unless the key is set, and the
request is pinned to the You.com origin over TLS — so the key cannot be
redirected to another host by configuration.
The CLI, Docker, API, Helm chart, MCP server, gateway, and SDK are distribution surfaces of the same product. The Snowflake SPCS / Native App lane runs inside the customer's Snowflake account; it is a customer-owned deployment target, not an agent-bom-hosted service. Snowflake and Snowpark also remain connector and runtime integrations for the other deployment profiles.
| Surface | Get it |
|---|---|
| Python package | pip install agent-bom — PyPI |
| Container | docker pull agentbom/agent-bom — Docker Hub |
| Kubernetes | helm install agent-bom oci://ghcr.io/msaad00/charts/agent-bom |
| GitHub Action | msaad00/agent-bom |
| MCP server | pip install 'agent-bom[mcp-server]' && agent-bom mcp server |
| MCP registries | Smithery manifest · Glama · MCP registry · Docker MCP |
| SDKs | Python · TypeScript · Go |
Trust
- Read-only discovery by default; runtime write decisions are separate and explicit.
- Credentials are write-only where stored, encrypted at rest, and never returned by API responses.
- API and control-plane routes are tenant scoped and auth protected outside explicit local mode.
- Missing evidence is shown as unavailable or partial, never converted into a factual zero.
- Public examples and screenshots use deterministic synthetic identifiers only.
Threat model · Release verification · Security policy · MCP security model
Contributing and support
Stuck, or not sure where a question belongs? SUPPORT.md has the routing and an honest statement of what response to expect.
To contribute, start with CONTRIBUTING.md, AGENTS.md, and the open issues.
Apache-2.0 licensed.
No comments yet
Be the first to share your take.