---
title: "production_line_monitoring"
description: "Continuously monitor production line health and detect anomalies requiring intervention."
canonical: "https://acs.synapti.ai/workflows/production-line-monitoring/"
last_updated: "2026-10-28T18:48:12Z"
---

# Continuously monitor production line health and detect anomalies requiring intervention.

Generated from [schemas/workflows/manufacturing_workflows.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflows/manufacturing_workflows.yaml) at commit 18c38b74ac21.

- Workflow id: `production_line_monitoring`
- Risk: low
- Catalog: domain workflows (manufacturing)
- Declares Standard 1.1.0
- Steps: 9

Real-time monitoring workflow for production lines. Observes sensor data,
detects anomalies, assesses impact, and generates alerts with recommendations.
All interventions require human approval per manufacturing profile.

**Figure: Steps of production_line_monitoring: 9 steps.** Read top to bottom: only step 9 (audit) changes state; step 1 says what to do on failure; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6, 7, 8 and 9.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `receive` | PERCEIVE |  |  | request_more_context |  | low |
| 2 | `transform` | SYNTHESIZE |  |  |  | 1 | low |
| 3 | `state` | MODEL |  |  |  | 2 | low |
| 4 | `detect` | UNDERSTAND |  |  |  | 3 | low |
| 5 | `measure` | UNDERSTAND |  |  |  | 4 | low |
| 6 | `predict` | UNDERSTAND |  |  |  | 3, 4 | low |
| 7 | `plan` | REASON |  |  |  | 4 | low |
| 8 | `generate` | SYNTHESIZE |  |  |  | 4, 5, 6, 7 | low |
| 9 | `audit` | VERIFY |  |  |  | 1, 4, 8 | low |

## Inputs

**Figure: Inputs of production_line_monitoring.** 1 input, 0 required (filled pin) and 1 optional (outlined pin).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `profile` | object | No |  |

## Steps

1. [`receive`](https://acs.synapti.ai/capabilities/receive/index.md): Ingest real-time sensor data from PLC/SCADA systems. Stores `sensor_data_out`. (risk low)
2. [`transform`](https://acs.synapti.ai/capabilities/transform/index.md): Normalize sensor readings to standard units and schema. Stores `normalized_data_out`. (risk low)
3. [`state`](https://acs.synapti.ai/capabilities/state/index.md): Build current production line state representation. Stores `line_state_out`. (risk low)
4. [`detect`](https://acs.synapti.ai/capabilities/detect/index.md): Identify anomalies in sensor patterns. Stores `anomaly_out`. (risk low)
5. [`measure`](https://acs.synapti.ai/capabilities/measure/index.md): Quantify severity and impact of detected anomalies. Stores `risk_assessment_out`. (risk low)
6. [`predict`](https://acs.synapti.ai/capabilities/predict/index.md): Forecast progression if anomaly is not addressed. Stores `forecast_out`. (risk low)
7. [`plan`](https://acs.synapti.ai/capabilities/plan/index.md): Generate recommended intervention actions. Stores `intervention_plan_out`. (risk low)
8. [`generate`](https://acs.synapti.ai/capabilities/generate/index.md): Create alert notification with full context. Stores `alert_out`. (risk low)
9. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record monitoring cycle and any alerts generated. Stores `audit_out`. (risk low, changes state)

## Data flow

**Figure: Which step reads which stored output.** 8 steps read the output of earlier steps, 14 reads in all; step 8 (generate) reads the most, from 4 steps.

- Step 2 reads from step 1.
- Step 3 reads from step 2.
- Step 4 reads from step 3.
- Step 5 reads from step 4.
- Step 6 reads from steps 3 and 4.
- Step 7 reads from step 4.
- Step 8 reads from steps 4, 5, 6 and 7.
- Step 9 reads from steps 1, 4 and 8.

## Risk

Declared and highest step risk are both low; the catalog gives no computed risk; the highest-risk step is step 1 (receive), with 8 others at the same level. The step map above gives each step's risk.

## Success criteria

- Production metrics collected and validated
- Anomalies detected with confidence scores
- Alerts generated with actionable recommendations
- Audit trail maintained

## Related

- Domain: [manufacturing](https://acs.synapti.ai/domains/manufacturing/index.md)
- Listed by the [manufacturing](https://acs.synapti.ai/domains/manufacturing/index.md) profile

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflows/manufacturing_workflows.yaml
```

## Workflow YAML

```yaml
production_line_monitoring:
  goal: Continuously monitor production line health and detect anomalies requiring intervention.
  risk: low
  domain: manufacturing
  profile: schemas/profiles/manufacturing.yaml
  description: |
    Real-time monitoring workflow for production lines. Observes sensor data,
    detects anomalies, assesses impact, and generates alerts with recommendations.
    All interventions require human approval per manufacturing profile.
  success:
    - Production metrics collected and validated
    - Anomalies detected with confidence scores
    - Alerts generated with actionable recommendations
    - Audit trail maintained
  steps:
    - capability: receive
      purpose: Ingest real-time sensor data from PLC/SCADA systems.
      risk: low
      mutation: false
      store_as: sensor_data_out
      input_bindings:
        channel: plc_scada
        filter:
          type: [temperature, pressure, vibration, flow_rate, cycle_time]
      failure_modes:
        - condition: No sensor data received
          when: ${sensor_data_out.data} == []
          on_error: R401
          action: request_more_context
          recovery: Check sensor connectivity and data source configuration.

    - capability: transform
      purpose: Normalize sensor readings to standard units and schema.
      risk: low
      mutation: false
      store_as: normalized_data_out
      input_bindings:
        input: ${sensor_data_out.data}
        target_format: canonical_sensor_reading

    - capability: state
      purpose: Build current production line state representation.
      risk: low
      mutation: false
      store_as: line_state_out
      input_bindings:
        scope: production_line
        observations: "${normalized_data_out.output: array<object>}"

    - capability: detect
      purpose: Identify anomalies in sensor patterns.
      domain: anomaly
      risk: low
      mutation: false
      store_as: anomaly_out
      input_bindings:
        data: ${line_state_out.state}
        pattern: statistical_deviation
        threshold: 2.5  # Standard deviations

    - capability: measure
      purpose: Quantify severity and impact of detected anomalies.
      domain: risk
      risk: low
      mutation: false
      store_as: risk_assessment_out
      # This step and the next three run only when an anomaly was found;
      # with production nominal they are skipped and the audit still runs.
      condition: ${anomaly_out.detected} == true
      input_bindings:
        target: "${anomaly_out.matches: array<object>}"
        metric: operational_risk

    - capability: predict
      purpose: Forecast progression if anomaly is not addressed.
      domain: risk
      risk: low
      mutation: false
      store_as: forecast_out
      condition: ${anomaly_out.detected} == true
      input_bindings:
        target: anomaly_progression
        horizon: 4h
        conditions:
          anomalies: "${anomaly_out.matches: array<object>}"
          line_state: ${line_state_out.state}

    - capability: plan
      purpose: Generate recommended intervention actions.
      risk: low
      mutation: false
      store_as: intervention_plan_out
      condition: ${anomaly_out.detected} == true
      input_bindings:
        goal: resolve_anomaly
        constraints:
          max_downtime: 30m
          safety_requirements: "${profile.checkpoint_policy: object}"

    - capability: generate
      purpose: Create alert notification with full context.
      domain: alert
      risk: low
      mutation: false
      store_as: alert_out
      condition: ${anomaly_out.detected} == true
      input_bindings:
        specification:
          type: production_alert
          severity: ${risk_assessment_out.value}
          anomaly: "${anomaly_out.matches: array<object>}"
          forecast: "${forecast_out.prediction: object}"
          recommendations: "${intervention_plan_out.steps: array<object>}"

    - capability: audit
      purpose: Record monitoring cycle and any alerts generated.
      risk: low
      mutation: true
      store_as: audit_out
      input_bindings:
        event:
          type: production_monitoring_cycle
          timestamp: ${sensor_data_out.timestamp}
          anomalies_detected: ${anomaly_out.detected}
          alert_generated: "${alert_out.content: object}"

  inputs:
    profile:
      type: object
      ref: schemas/profiles/manufacturing.yaml
```
