Designing an industrial RL environment
How Faraday designed an agent to process Uesco crane orders, coordinate with suppliers, and update the production schedule.
Results
Order delays fell 43%, production disruptions fell 31%, and quote-to-build time fell 22%.
Introduction
Uesco has built overhead cranes since 1921. Each crane has to fit the building, the runway, and the load it will carry. The details in the order determine what engineering draws, what materials purchasing needs, and when the shop can build it.
We designed Faraday to follow the order all the way to the production schedule. The agent prepares the job records, checks what the build needs, and contacts suppliers when it needs to confirm that materials will arrive in time.
The problem
A crane order can change after the job is opened. A revised dimension can affect the drawings and the materials the shop needs. A supplier delay can sit in an email until the next day, while the production schedule in Airtable still shows the original build date. If the job records and schedule fall out of sync, the shop can lose a build slot and the customer can get the crane later than planned.
From purchase order to production
Take the order and open the job
Faraday reads the purchase order alongside the quote and supporting documents. It checks the customer, delivery details, and crane specifications, then opens or updates the ERP job. It uses the job number to link the order-entry form, supporting documents, and engineering record so revisions go to the right job.
Prepare the build requirements
The agent carries the order details into the engineering record in Microsoft Access, which feeds the bill of materials, steel list, and cut list. In one order packet, the form still showed the original runway length and a note supplied the revision. The agent needed to use the revised length for the build and ask Uesco to supply the missing ship-to address.
Check materials and contact suppliers
Faraday compares the bill of materials with stock on hand and open purchase orders, accounting for stock already allocated to other jobs. When availability or a delivery date is unclear, it messages the supplier with the part and quantity it needs confirmed. It records the reply against the job so the planner can see when the materials are expected to arrive.
Update the production schedule
Faraday uses engineering readiness, material arrival dates, and shop capacity to update the production schedule in Airtable. If a supplier pushes a delivery past the build date, the agent records the new arrival date and finds the jobs that depend on it. It updates the affected plans and brings in the planner when a change would move work the shop has already committed to build.
How we built the environment
We used hundreds of crane orders from Uesco’s records to build a library of traces. To replay the workflow, the environment needs the order documents, job records, material availability, supplier messages, and the schedule as they stood at the time. A revision or a supplier reply only becomes available when it comes in, so the agent has to work with the same information a person would have at each step.
Each rollout starts from the same records for a given order and logs what the agent reads and changes. In the intake prototype, we submitted the same sample request twice and verified that it left a single intake record.
How we scored the workflow
We check the records the agent leaves behind. The job has to match the order, the material dates have to reflect what suppliers confirmed, and the production schedule has to account for any remaining blockers. If the agent needs help, it should identify the missing detail and who can resolve it. A duplicate ERP job or an update to the wrong crane means the workflow fails even if all the fields are filled in.
How we set up training
The score gives the agent feedback on decisions across the order. A missed revision can leave the bill of materials wrong. A missed supplier reply can leave a build scheduled before its materials will arrive. We use a separate set of orders to validate each candidate and trace failures back to the decisions that caused them.
Learn from the result.
- Policy Choose the actions
- Rollout Attempt the job
- Verify Check the job and schedule
- Reward Score the result
Updates advance only after validation.
What we learned building it
Uesco’s team helped us understand which records to trust and where the agent needed more context. Knowing a part will be late is one thing. Knowing which crane needs it and what the shop can build in the meantime takes context from the entire job. That context determines whether the agent can update the schedule or needs the planner to make a decision.
How we built the evaluation
The final evaluation uses orders held out of training and version selection. The selected agent and the baseline get the same tools and time budget. We’ll measure how many orders they take through to a correct production schedule, how many corrections a person makes per order, and what each completed order costs, including the cost of failed attempts.
Correctly scheduled orders. Human corrections. Cost per completed order.