Everything neededto run the loop.

Concepts, deployment, integration, autonomy promotion, safety and evidence — written for metallurgists, process engineers, controls engineers and IT/OT teams rather than for a generic developer audience.

6Doc sections
9Agent references
3Autonomy gates

Six sections,in order.

Concepts

Heats, molds, pours, plans, process windows, gradings, genealogy and the perceive–plan–act–verify–log–retrain loop.

Deployment

Edge hardware, factory server sizing, network posture, offline behaviour and the shadow-mode checklist.

Integration

Connector setup for furnace, molding, pouring, inspection, robot and MES systems, with documented failure modes.

Autonomy

Golden-set gates, process-window authoring, approval identity, safety review and rollback configuration.

Agents

Reference for all nine agents: what each senses, what it can move, and who approves it.

Evidence

Audit log schema, casting genealogy, non-conformance handling and export for IATF 16949 and AS9100 review.

The object model,in five nouns.

Heat

A melt event with a chemistry target, a temperature profile, a treatment history and a set of pours that drew from it. Every casting traces to a heat, and every heat traces to a charge.

Mold

A mold or die instance with sand or die-thermal properties, core placements, a quality score and a readiness state. A mold is scored against the twin's expectation before metal is committed to it.

Pour

The act of filling a mold from a heat: ladle attitude, stream, pour temperature, fill time and the plan that governed it. The pour is where the twin's prediction meets the plant.

Plan

An agent's proposed set of setpoint moves, carrying its process window, its confidence, its grounding and its explanation. A plan outside its window cannot be applied.

Grading

The inspection verdict on a casting — porosity, inclusions, cold shuts, misruns, hot tears, dimensions and microstructure — attributed to upstream conditions and returned as a training label.

Plans, predictions,approvals.

The same three calls cover most integrations: ask for a plan, check it against the window, apply it with an approver.

pour_control.py
# Ask the pour agent for a bounded setpoint move on cell P-04
from smelteon import Plant

plant = Plant("plant-04", edge="foundry-edge-02")
heat  = plant.heats.current(line="ductile-iron-1")

plan = plant.agents.pour.plan(
    heat        = heat.id,
    part        = "crankshaft-4cyl-rev-c",
    mold_state  = plant.agents.mold.state(),
    objective   = "minimise shrinkage porosity at journal 3",
    twin        = "castwin:solidification-v7",
)

# Every move is checked against the approved process window first
if plan.within_window and plan.confidence > 0.94:
    plant.apply(plan, mode="bounded", approver="metallurgist-on-shift")
else:
    plant.escalate(plan, reason=plan.explain())
smelteon-cli — foundry-edge
$ smelteon edge install --site plant-04 --cell M-01detecting hardware ......... Jetson Orin (edge)installing runtime ......... triton + tensorrt + holoscanregistering connectors ..... opcua://furnace-01, api://spectro-labautonomy ................... shadow (default)$ smelteon baseline start --cell M-01 --weeks 8baseline window ............ 8 weekscapturing .................. chemistry, temp, energy, scrap, yieldground truth ............... plant spectrometry + scrap ticketsstatus ..................... recording (no write-back)

Install, register,stay in shadow.

A new cell installs in shadow mode by default. Promotion is a separate, gated action — never a flag on the installer.

Nine agents,one table.

AgentSensesMoves (bounded)Approver
Melt & ChemistrySpectrometry, thermal analysis, furnace stateAlloy additions, power profile, tap temperatureMetallurgist
Mold & CoreSand lab, compaction, core cell, mold scanSand additions, shot parameters, mold rejectProcess engineer
Pour & FillPour vision, ladle telemetry, mold stateTilt profile, pour temperature, fill timeMetallurgist + safety
Solidify & CoolThermal curves, line positionCooling line speed, shakeout timingProcess engineer
Defect & InspectX-ray, CT, vision, dimensionalDisposition routing, hold and releaseQuality engineer
Yield & TaktLine state, order book, furnace readinessSchedule, mold allocation, energy windowsOperations
Finish & FettleCasting scan, gate and riser geometryRobot paths, grind parametersProcess engineer + safety
Robot & HandlingCell vision, safety envelope stateMotion inside safety-rated envelopesSafety / EHS
Quality & ConformanceGenealogy, non-conformance, audit logRecords, holds, conformance evidenceQuality engineer

The gate sequence,step by step.

No cell skips a step, and no step is passed by assertion.

  1. Install in shadow

    The cell node is installed, connectors registered read-only, and the agent begins predicting without acting.

  2. Capture a baseline

    A representative production period is recorded using the plant's own ground truth: inspection results, scrap tickets, energy records and yield reports.

  3. Pass the golden-set gate

    Predictions are scored against that ground truth for the alloy and geometry family. Below threshold, the cell stays in shadow.

  4. Author the process window

    A metallurgist or process engineer defines the window each controlled parameter may move within, and signs it.

  5. Run assist mode

    The agent recommends; the engineer approves each action; outcomes are graded and corrections become labels.

  6. Pass the safety review

    Quality and EHS review windows, rollback paths, escalation rules and robot envelopes before any write-back is enabled.

  7. Enable bounded control

    The cell runs under adaptive control inside the approved window, with exceptions escalating and rollback armed.

What lands inthe audit log.

Every entry is append-only and tied to the casting's genealogy.

Plan
The proposed moves, the model version that produced them, the confidence and the grounding citations.
Window check
The process window in force, who authored it, when it was signed, and the result of the check.
Approval
The approver identity, the mode (assist or bounded) and the timestamp.
Action
The setpoints actually written, to which connector, and the acknowledgement from the machine.
Override / escalation
Any human override, the reason given, and the escalation path taken.
Rollback
The last-known-good state retained, and any automatic revert with its trigger.
Grading
The inspection verdict on the resulting casting and the attribution back to upstream conditions.

Running it ona live plant.

Offline behaviour

Cell inference and bounded control continue locally; model promotion pauses; the audit log buffers and replays on reconnect.

Model updates

Staged promotion with shadow traffic against the incumbent version, and instant rollback if golden-set performance regresses.

Escalation

Out-of-window plans, low-confidence predictions and outcome drift escalate to the human on shift with the full explanation attached.

Emergency stop

Plant safety systems remain authoritative. Smelteon never sits between an E-stop and a machine.

Asked duringimplementation.

Beside it, never inside it. Plant safety systems and E-stops remain authoritative and independent. Smelteon's motion and setpoint authority is bounded by both the approved process window and the existing safety-rated infrastructure.

You must. Windows are authored and signed by your metallurgists and process engineers — Smelteon proposes candidate windows from the twin and the data, but the signature is yours.

Each casting record links its heat, mold, cores, pour, cooling history, finishing operations, inspection gradings and every agent action taken along the way — exportable as audit evidence.

Get the fulldocumentation.

Detailed deployment, integration and autonomy documentation is provided to design partners and customers under NDA during scoping.