kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / ai / bom

kosa8 ai bom

Write a CycloneDX 1.6 AI bill of materials for a sandbox, session or model

Usage#

kosa8 ai bom (--sandbox S | --session ID | --model M)

An AI bill of materials says what an AI workload was made of: the model, by the SHA-256 of its weights, with its source, signature and approval; the inference runtime; the MCP servers its agent was offered, used and refused; and the signed policies in force.

--sandbox and --session read what the audit log recorded for that workload (kosa8 model serve and kosa8 mcp serve with --sandbox/--session); --model describes a stored model as it would be served now. Output is deterministic: the same records give the same bytes, and there is no timestamp unless you pass --timestamp.

Options#

FlagTypeWhat it doesDefault
--modelstringa stored model, by local name—
-o, --outstringwrite to this file instead of stdout—
--sandboxstringthe sandbox the AI workload ran in—
--sessionstringan AI session id (from kosa8 model serve or kosa8 mcp serve)—
--timestampstringRFC 3339 time for metadata.timestamp (default: none, so output is reproducible)—

Example#

  kosa8 ai bom --sandbox dev -o dev.cdx.json
  kosa8 ai bom --model qwen2.5-7b

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA