Engineering
Engineering7 min readBy The Data Workers Team

Best practices for agentic manufacturing plant and MES data: a field guide for plant data and MES teams

How plant data and MES teams move their data back office to agents, practice by practice: the state of the space, the old world and the new, what the agents do step by step, how to set autonomy, who owns what, and how to start.

Plants generate more data than ever, but tags and business records rarely line up.

Contextualization and data discipline are repeatable work for agents.

The state of the space

The team that owns the plant data backbone: MES, historians, SCADA and PLC data, batch records and genealogy, and their integration with ERP and quality systems. It defines entity models for materials, batches, equipment and test results, and serves production, quality, process engineering and maintenance.

Plants generate more data than ever, but tags, batches and work orders rarely line up with business records. Every new line, site or platform migration multiplies the integration work. Agents can contextualize plant data, enforce schema, unit and timestamp discipline and keep genealogy complete, so engineers analyze instead of reconciling.

The old world

A new line takes weeks of interface work before it reports, and a quality hold takes days to scope.

It is rarely one failure. Three patterns repeat:

  • •A new production line. Integrating a new line's tags, batches and MES events takes weeks of interface work.
  • •Genealogy for a quality hold. A quality hold needs a lot traced across materials, batches and equipment.
  • •An MES platform migration. Moving to a new MES risks losing history and interfaces.

The new world

The line reported on day one and genealogy answered the hold in minutes.

Here is that new world as a chain of hand-offs between agents:

How the swarm hands one problem from agent to agent: a new production line.
Fig. 1:How the swarm hands one problem from agent to agent: a new production line.

These are the impact metrics we move:

  • •Lot traced end to end: from about a week to 15-20 min
  • •Unit mismatch fixed: from about 3 days to 15-20 min
  • •Interface documented: from about a week to ~1 h

The rest of this report walks through the 5 practices that make that possible. At a glance:

The practices in this report, old world vs. new world.
Fig. 2:The practices in this report, old world vs. new world.

The practices, one by one

1. Contextualize tags to an entity model

Raw tags mean nothing.

Why it is harder than it looks. Tags carry no business meaning.

The old world. By hand.

The new world. Schema Evolution.

What the agents do, step by step:

  1. 1.The Connectors agent calls get_connector_status and lands historian data.
  1. 1.The Schema Evolution agent calls generate_migration and maps tags.
  1. 1.The Data Context & Catalog agent calls generate_documentation and catalogs interfaces.

In practice. Day-one reporting.

What to measure. Days to onboard a line.

2. Enforce units and timestamps

Mismatches corrupt analytics.

Why it is harder than it looks. Every system keeps time and units differently.

The old world. Inconsistent.

The new world. Quality Monitoring.

What the agents do, step by step:

  1. 1.The Quality Monitoring agent calls run_quality_check and checks units and time.
  1. 1.The Quality Monitoring agent calls get_anomalies and flags duplicates.
  1. 1.The Incident Debugging agent calls get_root_cause and traces gaps.

In practice. Clean data.

What to measure. Unit and time errors.

Practices like these compound. Across the routine work they cover:

Time to complete routine manufacturing plant and MES data tasks, current practice (black) vs. the agent swarm (green). Illustrative.
Fig. 3:Time to complete routine manufacturing plant and MES data tasks, current practice (black) vs. the agent swarm (green). Illustrative.

3. Keep genealogy complete

Holds need traceability.

Why it is harder than it looks. Genealogy spans many systems.

The old world. Gaps.

The new world. Context Wizard.

What the agents do, step by step:

  1. 1.The Data Context & Catalog agent calls trace_cross_platform_lineage and links lots.
  1. 1.The Pipeline Building agent calls generate_pipeline and maintains genealogy.
  1. 1.The Quality Monitoring agent calls run_quality_check and checks completeness.

In practice. Minutes to scope.

What to measure. Time to scope a hold.

4. Own the model, not the vendor

Platforms change.

Why it is harder than it looks. Platforms change.

The old world. Locked in.

The new world. Your entity model.

What the agents do, step by step:

  1. 1.The Data Context & Catalog agent calls define_business_rule and keeps the model yours.
  1. 1.The Data Context & Catalog agent calls generate_documentation and documents interfaces.
  1. 1.The Schema Evolution agent calls validate_schema_compatibility and checks contracts.

In practice. Freedom to migrate.

What to measure. Vendor dependency.

Autonomy where work is reversible, a named approver where it matters:

Autonomous resolution by task class. Illustrative.
Fig. 4:Autonomous resolution by task class. Illustrative.

5. Migrate in waves

Plants can't stop.

Why it is harder than it looks. Plants can't stop for a migration.

The old world. Risky cutovers.

The new world. Data Migration.

What the agents do, step by step:

  1. 1.The Data Context & Catalog agent calls blast_radius_analysis and maps dependencies.
  1. 1.The Data Migration agent calls generate_migration and moves in waves.
  1. 1.The Quality Monitoring agent calls run_quality_check and proves parity.

In practice. No gaps.

What to measure. Data gaps during migration.

Designing the autonomy ladder

Autonomy is set per task class, not per tool. This is where we would set each class for a mature deployment, and why:

Task classClosed autonomouslyEscalatedHandled by a personWhere we set itWhy
Interface catalog upkeep88%8%4%L4 once the receipts are cleanThe work is reversible and repeatable
Unit and timestamp checks80%14%6%L4 once the receipts are cleanThe work is reversible and repeatable
Tag mapping64%26%10%L3: acts and keeps a rollback pointMost cases are routine; the rest escalate with evidence
Duplicate handling72%20%8%L3: acts and keeps a rollback pointMost cases are routine; the rest escalate with evidence
Batch and quality records0%86%14%L2: always proposed to a named approverThe number carries accountability outside the data team

The operating model: who owns what

Agents change who does the work, not who is accountable for it:

RoleOwnsWhat the agents take off their plate
Head of Manufacturing DataStandards, autonomy levels per domain and which domain goes nextAssembling status, chasing owners, keeping the catalog current
Domain owners and approversChanges to batch and quality recordsPreparing the diff, blast radius and rollback plan for every proposal
Data engineersReviewing agent proposals and building new data productsTags are mapped to the plant entity model as they appear; units, timestamps and duplicates are enforced on every load

The swarm behind the practices

AgentWhat it does for youTools it calls
Connectors and Data IngestionHistorians, SCADA, MES and ERPget_connector_status, trigger_airflow_dag, get_dbt_run_history
Schema EvolutionMaps tags and interfaces to the plant modeldetect_schema_change, validate_schema_compatibility, generate_migration, rollback_migration
Quality MonitoringUnits, timestamps, missing and duplicate recordsset_sla, run_quality_check, get_anomalies, create_quality_tests_for_pipeline
Data Context & CatalogEntity models, interface catalog and genealogytrace_cross_platform_lineage, blast_radius_analysis, define_business_rule, generate_documentation
Data MigrationPlatform migrations in wavesgenerate_migration, validate_migration, verify_data
Real-Time StreamingLive tag and event streamsregister_kafka_schema, register_stream_schema, detect_schema_change

Data Context Wizard keeps one governed graph of definitions, lineage and owners that every agent and person answers from. Autonomous Data-Conductor runs each job from detection to a verified result. Spellbook Data Catalog is where your team approves, audits and rolls back, and asks questions in plain English.

What disappears

  • •Weeks of interface work per line.
  • •Unit and timestamp mismatches.
  • •Genealogy gaps during holds.
  • •Vendor lock-in.
  • •Risky platform cutovers.

The magic is not any single agent. It is that the back office keeps running: bad data is caught where it enters, every new table gets quality rules and documentation without anyone writing them, access follows policy, fixes are verified before anyone opens a dashboard, and every action leaves a signed receipt.

A product manager's scorecard

MetricHow to read it
Days to onboard a lineBaseline it in the first week of the pilot; review it monthly.
Unit and time errorsBaseline it in the first week of the pilot; review it monthly.
Time to scope a holdBaseline it in the first week of the pilot; review it monthly.
Interfaces documentedBaseline it in the first week of the pilot; review it monthly.
Data gaps during migrationBaseline it in the first week of the pilot; review it monthly.

Where this goes next

Manufacturers will run every plant on one owned data model, with lines and sites onboarded in days and platform choices free of vendor lock-in.

The climb: from assisted to autonomous to agentic

Our thesis is that the data platform climbs the way analytics did, in stages, and that the hard part of data work was never knowing what to do but doing it. For plant data and MES teams, the climb looks like this:

  • •Assisted. Agents work alongside your team. They read the whole stack, show what needs doing and propose every fix with a receipt; changes to batch and quality records always go to a named approver.
  • •Autonomous, under your governance. Routine work runs on its own: tags are mapped to the plant entity model as they appear, units, timestamps and duplicates are enforced on every load, and genealogy stays complete. Your team governs the agents instead of doing the upkeep.
  • •The agentic enterprise. Manufacturers will run every plant on one owned data model, with lines and sites onboarded in days and platform choices free of vendor lock-in.

You choose the altitude, every step is visible and reversible, and the pilot below is the first rung.

The pilot: how plant data and MES teams start

The pilot is how your team proves the value on its own data before committing.

  • •What we connect. Historians (PI, Canary), SCADA and PLC data, MES platforms, ERP (SAP, Oracle), quality systems; Databricks or Snowflake; Kafka, over MCP, inside your infrastructure. Nothing migrates.
  • •Scope. Contextualization for one line.
  • •First week. Agents run at L1 across the scoped domain. They map every pipeline, definition and lineage path and show the fixes they would have made, with receipts, so your team sees the value before anything changes.
  • •By week two. Tags are mapped to the plant entity model as they appear and units, timestamps and duplicates are enforced on every load start running on reversible work. Changes to batch and quality records stay at L2 with a named approver.
  • •At day 30. We review the impact metrics against your baseline:

- Lot traced end to end: from about a week to 15-20 min

- Unit mismatch fixed: from about 3 days to 15-20 min

- Interface documented: from about a week to ~1 h

- the share of interface catalog upkeep closed autonomously, targeting 88% as the deployment matures

  • •What you decide. Whether to expand to the next domain. The pilot fee is credited in full against the first year.
  • •Cost. Start with a pilot ($7,500 one-time, credited in full against the first year). Scale is from $1,000 a month and Enterprise from $3,000 a month, billed annually, with unlimited seats, no usage meter and no markup on model spend. See pricing.

The pilot is the start of a longer curve:

Share of agent actions by autonomy rung over the first year. Illustrative.
Fig. 5:Share of agent actions by autonomy rung over the first year. Illustrative.