Skip to main content
Vectra Foundry
ACTIVE ENGINEERING ARCHITECTURE · INDUSTRIAL WORKFLOW ← All applied work

Autonomous Bill of Materials (BOM) Engineering Agent

A custom-engineered multi-stage AI agent built from scratch to synthesize, normalize, and deterministically verify multi-tier manufacturing Bills of Materials from heterogeneous engineering specs and drawings—deployed on isolated infrastructure where visual low-code wrappers break down.

The engineering problem

Why industrial BOM automation exceeds visual flow tools

In manufacturing and hardware engineering, producing an accurate Bill of Materials (BOM) requires reconciling multi-page spec sheets, assembly callouts, fastener tolerances, unit mismatches, and parent-child sub-assembly rollups across dozens of documents. Visual flow tools like Dify fail unpredictably on arbitrary hierarchical recursion, arithmetic rollups, and strict ERP schema compliance.

Interactive system architecture

Inspect all four deterministic stages

4-Stage BOM Architecture
Stage 01 · Architecture spec

Heterogeneous Spec & Drawing Ingestion

TABLE_CONTINUITY: PASSCOORDINATE_PROVENANCE: VERIFIED

Extracts component tables, title blocks, callout annotations, and revision notes from multi-format engineering PDFs and CAD exports while preserving exact page and table coordinates.

Why visual wrappers fail at Stage 01

Standard RAG chunking splits table headers from part rows across pages and strips parent assembly context.

Isolated worker trace
Input: assy_chassis_revC.pdf (42 pages) + fastener_schedule.xlsx
ingest.parse_layout -> 14 assembly sheets detected
table.stitch_continuations -> merged split tables p.12-14
provenance.attach -> bound 184 raw nodes to page & cell coordinates
Structured verified state
{
  "assembly_id": "ASM-CHASSIS-REV-C",
  "detected_sheets": 14,
  "raw_line_items": 184,
  "unlinked_annotations": 0
}
Stage 01

Heterogeneous Spec & Drawing Ingestion

Extracts component tables, title blocks, callout annotations, and revision notes from multi-format engineering PDFs and CAD exports while preserving exact page and table coordinates.

Wrapper failure mode: Standard RAG chunking splits table headers from part rows across pages and strips parent assembly context.

Stage 02

Multi-Tier Part & Hierarchy Resolution

Recursively resolves sub-assembly hierarchies (Level 0 → Level N), normalizes vendor part numbers and material grades against internal engineering catalogs, and merges duplicate references.

Wrapper failure mode: Visual DAG builders cannot cleanly express arbitrary-depth recursive tree assembly or deterministic catalog matching with rollback.

Stage 03

Deterministic Rule & Constraint Verification

Runs strict Python verification passes over the assembled BOM graph—checking for cyclic assembly references, missing material/finish fields, quantity rollup arithmetic, and invalid supplier statuses.

Wrapper failure mode: Prompt-based self-checks hallucinate arithmetic agreement and lack graph-cycle or engineering constraint invariants.

Stage 04

ERP-Ready BOM Emission & Audit Trail

Emits schema-validated CSV, JSON, and Excel/ERP import payloads alongside a targeted open-issues log so human engineers review only flagged ambiguities rather than auditing every row manually.

Wrapper failure mode: Unstructured chat markdown requires manual copy-pasting and offers zero cell-level audit trace to source drawings.

Verification invariants

Deterministic code guardrails enforced before export

Validation rule Code-level mechanism Operational impact
Acyclic Assembly Topology Topological sort in code ensures no sub-assembly references itself or an ancestor. Prevents infinite ERP explosion loops.
Unit & Material Normalization Deterministic parser standardizes metric/imperial tolerances and alloy designations. Eliminates duplicate procurement SKUs.
Parent-Child Quantity Rollup Exact integer/float invariant verification across multi-tier assembly multipliers. Prevents LLM arithmetic drift on bulk hardware counts.
Source Coordinate Provenance Every emitted line item retains document filename, page number, and table cell ID. Reduces human sign-off verification from hours to targeted exception review.

Test this on one assembly family in a 1–2 week scoped pilot

Bring representative drawing packages or spec exports to verify source provenance and rollup accuracy firsthand.

Scope a pilot ↗