DEEPBOM

v2.5.0
io.github.JunHwan-Kwon/deepbom Checked 4 days ago Published 1 month ago

Browser-local and CLI static evidence for deployed AI model artifacts.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

deepbom_model_hierarchy Explore source groups and tensor connections

Read one local artifact and page its Model IR source hierarchy. ONNX exporter metadata is an observed declaration, not proof of native calls or trainable parameter sharing. Other formats use explicitly labelled structural groups. Returns source hashes, exact static metrics, coverage and JSON Pointers for deepbom_audit detail queries. Use expected_sha256 on follow-ups. No model execution or remote fetch.

ParameterTypeDescription
path *string
expected_sha256string
limitinteger
offsetinteger
parent_refstring
searchstring

deepbom_evidence_workflow Review model change evidence

Run a local evidence request or read a saved workflow result using the same core as Web and SDK. Supports Snapshot, provenance, external evaluation and before/after review. Does not execute model code, fetch URLs or infer clinical approval. Files are optional explicit SHA-256/local-path pairs; missing originals stay unresolved. Return a page of checks with exact total and result digest. Open the request or result at https://deepbom.org/reports/evidence/ for JSON, HTML and print/PDF.

ParameterTypeDescription
path *string
expected_sha256string
filesarray
limitinteger
offsetinteger

deepbom_optimization_report Inspect a saved optimization report

Read one local deepbom.optimization_report.v1 JSON. Query before/after structure, changed fields, rule reasons and static metrics without loading or executing the model. Results are paginated; use the returned report_sha256 as expected_sha256 for follow-ups. A self-consistent report is not producer attestation or proof of quality/speed. Open the same JSON at https://deepbom.org/reports/optimization/ for interactive exploration.

ParameterTypeDescription
path *string
expected_sha256string
limitinteger
max_bytesinteger
offsetinteger
query_versioninteger
searchstring
sectionstring
sortstring
subjectstring

deepbom_export_optimization_report Export a saved optimization report

Return a generated JSON, machine-readable diff, HTML or monochrome PDF as an embedded MCP resource. Requires the canonical report digest from the report query. Does not write user files or execute model code. PDF needs the matching local Python deepbom[report] installation (DEEPBOM_REPORT_PYTHON). File saving/display depends on the MCP host; oversized files should be exported with the CLI.

ParameterTypeDescription
expected_sha256 *string
format *string
path *string

deepbom_capabilities Inspect DEEPBOM capabilities

Return deepbom.cli_capabilities.v1: supported artifact formats, output contracts, scan policies, target profiles, and exit codes. Call this before assuming an option exists.

deepbom_audit Audit a deployed model artifact

Audit one local or immutable remote model artifact and return local static evidence. Request section=model_summary for the common operation/storage table derived from Model IR; it does not infer framework trainability or runtime order. Supported remote identities are hf:// with a full commit, gs:// with an object generation, and HTTPS with SHA-256. Remote bytes may be downloaded into a content-addressed local cache but are never uploaded by DEEPBOM. Findings distinguish artifact_defect, caution, and evidence_gap; an evidence_gap is not a defect. The result never establishes executed accelerato…

ParameterTypeDescription
path *stringLocal artifact/package path under DEEPBOM_MCP_ALLOWED_ROOTS, or an immutable hf://, gs://, or hash-pinned HTTPS source.
activation_baselinestringReference activation capture JSON under allowed roots; requires activation_evidence for the same Model IR. Compare distributions and run identity in numerical_details. No model execution or task-quali…
activation_evidencestringLocal hash-bound activation capture JSON under allowed roots. Imports execution evidence; does not execute a model. Use output_format=json and section=activation_ir.
cache_dirstringContent-addressed cache directory under the allowed roots.
evidence_filesstringLocal directory under allowed roots containing files explicitly mapped by metadata. No remote links are fetched. Requires metadata.
expected_sha256stringIndependent expected digest for a local or remote artifact.
external_data_dirstringLocal ONNX external_data or ExecuTorch .ptd sidecar directory under the allowed roots.
gatestringReturn a policy-blocked status when an artifact_defect is present. Nothing is gated by default.
list_sectionsbooleanList selectable analysis sections instead of auditing.
max_download_gibintegerUpper bound for one remote download in GiB.
metadatastringLocal deepbom.provenance_input.v1 or deepbom.omop_metadata_input.v1 JSON under allowed roots. Adds Provenance IR; select provenance_ir. Declarations are not execution attestation.
metadata_templatestringReturn a metadata template bound to this model; fill institution/release identity before importing. Mutually exclusive with metadata.
offlinebooleanRefuse network access and require a verified cache receipt.
output_formatstringsummary is the bounded human-readable default. Request envelope for the canonical cross-format contract, json/json-compact for format-specific evidence, CycloneDX 1.7, or SARIF explicitly.
pointerstringEmit one RFC 6901 JSON Pointer result, such as /operator_count.
policystringBuilt-in gate profile. Engineering blocks artifact defects; regulatory also requires evidence gaps to be resolved but does not determine legal compliance.
scanstringBounded scan policy. structure avoids payload integrity work; integrity streams supported payload checks; full requests all supported static analysis.
sectionstringEmit only these analysis sections, comma-separated. Use list_sections first. model_summary returns deepbom.model_summary.v1. Applies to json formats.
targetstringTFLite target profile id for cost-model binding; it is not host detection.
tensor_limitintegerMaximum tensor rows to return; requires tensors=true. The result includes next_offset when more rows exist.
tensor_offsetintegerZero-based tensor row offset for a bounded tensor page; requires tensors=true.
tensorsbooleanFor a GGUF artifact, return the bounded structure-only deepbom.tensor_table.v1 projection instead of the full tensor/numerical ledgers.
tf_metagraphintegerSelect the serialized SavedModel MetaGraph index; default 0. No TensorFlow code is executed.
weight_analysisbooleanOpt in to common Weight IR and advanced channels, cosine similarity, SVD, sparsity and quantization. JSON sections: weight_ir, weight_analysis, weight_comparison. No model execution.
weight_baselinestringOptional local original artifact for exact aligned weight comparison.
weight_mappingstringLocal JSON array of baseline/candidate weight references and optional candidate_axis_permutation; requires weight_baseline.
weight_optionsstringLocal JSON file with explicit tensor axes and computation budgets.

deepbom_diff Compare two model artifacts

Compare two artifacts of the same supported format and return deepbom.semantic_artifact_diff.v1. TFLite results also retain the target-bound deployment delta. The comparison does not prove lineage, runtime behaviour, task quality, or regulatory significance.

ParameterTypeDescription
baseline *stringLocal or immutable remote baseline artifact or package.
candidate *stringLocal or immutable remote candidate artifact or package of the same format.
cache_dirstringContent-addressed cache directory under the allowed roots.
expected_sha256stringExpected digest for the baseline source. Use independently pinned remote URLs for both artifacts when possible.
max_download_gibinteger
offlinebooleanRefuse network access and require verified cache receipts.
targetstringOptional TFLite target profile id for the embedded pinned cost model.
tensor_limitintegerMaximum changed-tensor rows to return; requires tensors=true.
tensor_offsetintegerZero-based changed-tensor row offset; requires tensors=true.
tensorsbooleanReturn the tensor-encoding transition projection instead of the full semantic diff.

deepbom_explain_rule Explain a DEEPBOM rule

Return the machine-readable meaning, evidence boundary, source binding, and verification status of one DEEPBOM rule or analysis term. Use deepbom_capabilities or the CLI rule index to discover identifiers instead of guessing their meaning.

ParameterTypeDescription
rule *stringRule or analysis-term identifier accepted by deepbom explain-rule.