Industry applications Manufacturing

Defects found.
What happens next?

Manufacturing AI, grounded in process data and expert judgment.

What changed in the process? Which production was exposed?
Follow the team's investigation criteria and give the factory evidence for its next decision.

An actual Claude and Decision Layer analysis using synthetic SMT data. Approval, control integration, and execution are future directions.

Manufacturing quality analysis in Claude

An actual Claude and Decision Layer session using synthetic data. Recorded in Korean.

Quality investigation in electronics, EMS, and PCB manufacturing

Find where defects cluster.
Identify which boards need priority checks.

The BGA solder-joint defect rate has risen. Compare thermal profiles and production records after a recipe changeover to find where defects cluster and which boards need further inspection.

Synthetic data example

Investigating a rise in BGA defects

Equipment: REFLOW-C-01
Example period: Aug 10–25, 2026

The production team's question

Why did the defect rate rise, and which boards need attention?

How the agent investigates

  1. Check the metric

    Compare the BGA defect rate with the operation’s 0.35% ceiling to define the investigation.

  2. Compare thermal profiles

    Compare peak temperature and time above liquidus for the first 9 boards under V7 and the next 33 after stability was confirmed.

  3. Prioritize inspection

    Trace all 42 boards. Flag the 3 initially passed boards from the first group that are awaiting shipment for priority checks.

  4. Prepare the report

    Separate observed facts, possible causes, inspection priorities, and the checks still needed.

What the analysis found

All 6 defects occurred in the first 9 boards.

After the changeover to unapproved recipe V7, the first 9 boards exceeded the limits for peak temperature and time above liquidus (TAL). The next 33 met the thermal-profile limits, with no defects recorded.

Three boards that passed inspection still need priority checks.

Three of the first 9 boards passed initial inspection and are awaiting shipment. Their exposure to the out-of-range thermal profile makes them a priority for reinspection before shipment.

What changed?

Compare board thermal profiles for the first 9 under V7 and the next 33, processed after stability was confirmed at 10:10 on August 24.

MeasureFirst 9Next 33
RecipeV7V7
Peak temp (℃)259–259.8244–245
TAL (s)104–10662–66
Defects60
Boards933

Thermal-profile limits: peak temperature at or below 250℃; time above liquidus (TAL) at or below 90 seconds.

Production traced and priority checks

42boards

Processed under V7
First 9 · Next 33

Passed initial inspection
36boards Check 3 from the initial group first
Defects confirmed
6boards 2 scrapped · 4 for rework

Trace locations and shipment status for all 42 boards. B-V7-0007–0009 passed initial inspection but experienced the out-of-range thermal profile and are awaiting shipment. Prioritize these 3 for reinspection before shipment.

What still needs checking

Investigate the thermal-profile deviation while continuing to check material and printing effects. A missing pre-production stability record does not prove the check was skipped. Locate the 8 boards recorded as sent to an outside process and follow up on inspection results for the 4 awaiting rework.

Read the background case (Korean)

Make expert investigation methods available to AI

The data tells you what happened.
Expertise tells you where to look.

A metric definition does not tell an agent how to investigate. The team also needs to define what counts as a problem, what to check first, and which conditions make a fair comparison.

KPI

When should an investigation start?

The case uses a BGA defect-rate upper limit of 0.35%. The agent starts from a threshold defined by the organization.

Driver

What should the agent check first?

Check recipe-change timing, board thermal profiles, material lots, and solder paste inspection (SPI) results together.

Lever

What makes a useful comparison?

Within the same V7 recipe, compare the first 9 boards with the next 33 after stability was confirmed. Check product, equipment, lot, and timing as part of the comparison.

Capture these investigation paths and comparison rules in a Decision Graph. In the recording, the agent used MCP to retrieve data and decision criteria, compare thermal profiles, and identify boards for further checks.

Explore the role of Decision Layer

Beyond the analytical report

Choose the next step.
Then check what actually changed.

Follow the path from investigating possible causes and affected production to reviewing an action, approving it, requesting execution, and checking the outcome. The example distinguishes the analysis from future integrations.

Illustrative workflow: steps 1–2 reflect the recording's analysis and recommendations; steps 3–6 describe future directions.

01 / 06

Analysis shown in the recording

Connect the quality issue to its production conditions.

With metrics and investigation criteria connected, an agent can narrow possible causes and trace the affected production. The manufacturing data model and investigation paths require configuration for each factory.

What the case investigated

The quality issue
BGA defect rate and reflow equipment
Conditions compared
V7 changeover timing, stability checks, board peak temperature, and TAL
Production traced
All 42 boards, including the first 9 with thermal-profile deviations

Trace all 42 boards and prioritize the 3 from the initial group that passed inspection.

02 / 06

Actions proposed in the analysis

Review actions against the evidence and the production exposed.

Review reinspection of the 3 awaiting shipment, locate the 8 sent to an outside process, and follow up on the 4 awaiting rework. Consider making change approval and confirmed stability prerequisites for production.

Questions to resolve before execution

Scope
Which equipment, recipe, and production units would the action affect?
Operational impact
Who reviews the quality risk and the impact on production and shipments?
Open questions
Which data and on-site checks are still needed before a decision?

The factory needs to validate and approve any proposed action. This example does not include measured results after an intervention.

03 / 06

Future direction

An authorized person approves the action and its conditions.

Quality and production owners review the proposed scope, evidence, and execution conditions. A change in those conditions should trigger another review.

What an approval should capture

Who
The person authorized for this type of action
What
The equipment and production in scope, permitted changes, and validity period
Under which conditions
Quality requirements, plant status, and conditions for stopping or reviewing the action

Operational approval requires a separate integration. It is distinct from the current framework's ability to ask a person for input during an analysis.

04 / 06

Future direction

Send the approved action to existing operations and control systems.

An MES integration or execution module could request work instructions and approved setting changes. Existing controllers retain responsibility for fast control loops and safety functions.

Responsibilities across the systems

Decision Layer
Manage the evidence, selected action, and constraints
Execution module
Check permissions and approval, then make the system-specific request
Existing systems
Perform permitted operations or equipment control and report their status

MES and equipment-control connectors are not included in the current public framework.

05 / 06

Future direction

Check that the change reached the factory floor.

Sending a command does not mean the action is complete. Distinguish accepted, in progress, completed, and failed requests, then verify the change against the actual plant state.

Evidence of execution

Request record
Target, timestamp, approval, and request identifier
Processing status
Accepted, in progress, completed, or failed
Applied change
Factory records showing the active recipe or work status

Review both the execution system's response and the factory's actual records.

06 / 06

Future direction

Verify the action and its business impact separately.

After confirming the change was applied, compare quality, productivity, and side effects under comparable production conditions. Keep the results as evidence for future decisions.

How to assess the outcome

Execution
Was the approved action applied to the intended target?
Performance
How did defects, rework, throughput, and delivery change?
Future use
Under which conditions could the team use this action again?

Consider automatic execution only for work with verified effects and well-defined conditions. This analysis example contains no measured post-action improvement.

Toward Physical AI

Connect factory-wide judgment
with action on the floor.

Look beyond the performance of a single machine.
Make decisions for the production flow as a whole.

Bring together production, quality, equipment, and material data with shift logs, maintenance records, and operating rules. Evaluate possible actions against throughput, quality, cost, and delivery across the factory.

HEARTCOUNT's direction is to extend from process analysis into existing MES, operations systems, and equipment controllers. The test is whether an action fits the situation and improves actual production performance.

What you can use today.
Where we plan to go next.

Configure analyses for your process data and reuse reviewed procedures. The Always-on Decision Agent and approval and execution interfaces are planned for open-source release.

Available in the public framework

Apply your team's criteria and inspect the evidence

  • Query data through defined metrics
  • Reuse registered analytical code and procedures
  • Inspect inputs, queries, results, and validation records
  • Call analyses from agents and business applications
Review the code and current scope
Requires factory-specific setup

Investigation criteria for your production process

  • Quality and productivity metrics, with agreed exception thresholds
  • Data relationships across processes, equipment, lots, and time
  • Investigation order and comparison criteria
  • Supporting documents, operating history, and data permissions

Adapt and validate the BGA example's data model and decision criteria for your own process.

Planned open-source release

From proactive investigation to connected action

  • Always-on Decision Agent briefings
  • Review and approval by the responsible person
  • Execution requests to operations and control systems
  • Broader automation after verifying execution and performance

The Always-on Decision Agent and approval and execution interfaces are planned for open-source release and are not part of the current public framework. System connectors and approval conditions are configured during implementation.

Start with one quality issue
that takes too long to investigate.

Agree on the performance metric, available data, and the factory's investigation criteria.
Then consider which actions and systems a future integration should support.