Architectural blueprint used as input to the compliance pipeline
← Stories

Regulatory AI

Blueprint compliance from a node graph

Client
Product company
Industry
Architecture and engineering
Service
Document intelligence
Runs on
.NET pipeline, agents on the Claude API
Status
Multi-phase build

The problem

Checking blueprints against building codes, electrical requirements and contract specifications takes weeks of an engineer's attention per project. Feeding a model the PDF does nothing useful: the drawing is the wrong input format for reasoning.

What we built

A .NET pipeline that ingests architectural blueprints and electrical diagrams and parses them piece by piece into a node graph. Agents then validate that graph against code requirements and contract specifications and return findings a reviewer can accept or correct.

Before AI, code checking meant an engineer reading every sheet and holding the whole building in their head, and naive AI on the drawings failed because a blueprint image is not a reasoning-ready input; reformulating the drawing set as a node graph gave models structured facts they could actually reason over clause by clause.

How it works, step by step

Architectural blueprint files
source
PDF / DWG / vector + raster sheet sets
Floor plans, elevations, sheet indexes
Electrical diagram sheets
source
PDF / DWG single-line and panel schedules
Circuits, panels, device symbols
Code and contract corpus
source
Building code clauses + contract spec documents
Requirements the drawings are checked against
Computer vision symbol detection (CNN object detector) + OCR, plus vector geometry parsing where DWG source exists
Locate electrical and architectural symbols, text and connecting lines on each sheet
Guardrail: Low-confidence detections flagged as unresolved graph nodes rather than silently dropped
Claude 3.5 Sonnet (agent loop; Claude 3 Haiku for high-volume per-node screening)
Reason over a subgraph plus retrieved clauses to decide compliance and write the finding
Guardrail: Input is the graph, never the raw drawing image, so reasoning is over structured facts; output must be JSON with node id, clause id and quoted clause text
Non-LLM schema and reference validator
Verify each finding resolves to a real graph node and a real clause in the index
Guardrail: Unresolvable references are blocked from review queue and logged

What a run produces

Compliance findings for a project revision (excerpt, illustrative). Values illustrative; the shape is real.

Graph nodeRequirement sourceFindingStatus
room:2F-114 / circuit:PNL-B-12Electrical code clause (receptacle spacing)Receptacle spacing along north wall exceeds permitted interval between nodes dev:R-41 and dev:R-42Open, engineer review
panel:PNL-BContract specification (panel schedule section)Panel schedule on E-301 lists a circuit with no corresponding device node in the parsed graphOpen, possible parse gap
room:1F-003Building code clause (egress)Room node has no edge to a corridor or exit node; egress path unresolvedOpen, engineer review
circuit:PNL-A-07Electrical code clause (load calculation)Deterministic check passed; connected device load within circuit ratingPass

What it did not do

  • Compliance quality is capped by parse quality, a symbol the vision layer misses simply does not exist in the graph, so it cannot be checked.
  • Findings are advisory and routed to an engineer for review; the system does not sign off or replace professional judgment.
  • Coverage is limited to what is expressible over the parsed graph plus the loaded code and contract corpus; requirements depending on site conditions or documents outside the corpus are out of scope.

How it was measured

  • Graph fidelity check: parsed node/edge counts and types for a sheet compared against a manually built reference graph for that sheet (missed devices, wrong circuit parenting).
  • Finding precision on engineer review: share of surfaced findings an engineer accepts versus rejects as false alarms, tracked per rule category.
  • Deterministic-vs-agent agreement: on rules expressible as graph queries, compare c8 output to c9 output to detect agent reasoning drift.

Built and shipped by the same team you would talk to

Have a workflow like this one?

Thirty minutes. We map where it is stuck and what a first build looks like.

Book a free AI audit
Inventos dashboard: share of voice across AI models

Next story · Brand intelligence

What AI models say about a brand, measured

Open