Shift-scale mining
A persistent, inspectable Python environment for testing coordinated decisions across a full operational horizon.
How the work moves
Structured state in, structured state out. Not a chat room for the pit.
Agents exchange structured state — not free-form chat. Tonnage is from a published 12-hour simulation, not a pit we operate.
What MCP allows onto the desk
- Scenario agent
sim.runallowPySmith runtime - Scenario agent
policy.evalallowPySmith runtime - Supervisor agent
equipment.controldenyBlocked — no direct plant control
The Scenario agent’s sim.run and policy.eval tools are allow-listed through MCP onto PySmith. The Supervisor’s equipment.control path is dashed-blocked. Humans approve before any operational system changes.
The operating challenge
An open-pit mine is a coupled system. Trucks queue at shovels, haul material to crushers or waste dumps, return for another assignment and operate under changing capacities, breakdowns, travel times and production targets. A locally sensible dispatch decision can create a queue elsewhere. The useful problem for agents is coordination across a shift, not a chatbot that gives isolated advice.
A Hitachi America-led study formulated dynamic truck dispatch as a multi-agent reinforcement-learning problem. Each truck was treated as an agent in an event-based simulator calibrated with parameters from real mines. In a simulated 12-hour shift with 50 trucks, three shovels and three dumps, the reported policy delivered 603,840 tons, versus 572,016.87 tons for the Smart Shortest Queue baseline: 31,823.13 additional tons, or 5.56%. It also remained effective in tests with 45–55 trucks without retraining. These are simulation results, not evidence of production deployment or a guaranteed mine-site uplift.
The same paper makes the infrastructure requirement clear: the simulator models stochastic loading, dumping and hauling times, truck failures and new trucks entering the fleet. A newer QUT paper, Mining-Gym, makes a similar case for reproducible experimentation. Its Python-based discrete-event environment models equipment failures, queue congestion and variable haul cycles, then exposes decision points to classical or reinforcement-learning dispatchers. The authors describe the framework as a research testbed, not a validated autonomous-control system.
Industrial mining evidence also points to a human-governed boundary. BHP and Microsoft reported using real-time concentrator data and AI-based recommendations at Escondida so operators could adjust variables affecting ore processing and grade recovery. The announcement says the project was expected to improve recovery; it does not publish a measured percentage improvement. This is a useful example of operator-facing recommendations, but it is not evidence of multi-agent orchestration.
A safer PySmith pattern
PySmith can host the persistent Python computation behind a multi-agent decision-support layer. A fleet agent models truck availability, queues, haul cycles and maintenance events. A plant agent represents shovel, crusher and processing constraints. A production agent tracks shift targets, ore quality and stockpile trade-offs. A scenario agent runs discrete-event simulations and compares policies. A supervisor agent checks constraints, explains conflicts and presents a bounded recommendation.
The agents should exchange structured state, assumptions and proposed actions, not unverified natural-language instructions. A persistent workspace can retain the current mine-state snapshot, simulation seeds, trained policy, scenario results and shift baseline while the system iterates through breakdowns or changing production priorities. Python is a natural fit for discrete-event simulation and numerical analysis. The runtime is an execution substrate; it does not itself provide mine telemetry, operational safety certification, a dispatch policy or a production outcome.
The recommended loop is observe → simulate → challenge → compare → approve → monitor. The supervisor should reject actions that violate capacity, route, maintenance or safety constraints. Human dispatchers approve recommendations before any operational system is changed.
What a pilot should prove
Start offline with historical shift data and a calibrated simulator. Compare a single-agent baseline, a multi-agent policy and existing dispatch heuristics across normal operations, truck failure, shovel outage, crusher congestion and demand or grade changes.
Report throughput, queue time, shovel utilisation, fuel or energy proxy, constraint violations, policy stability and recovery time. Evaluate both average results and worst-case behaviour. Re-run scenarios with held-out conditions to test whether an apparent gain is robust rather than overfit.
Every number has a home
- Chi Zhang et al., “Dynamic Dispatching for Large-Scale Heterogeneous Fleet via Multi-agent Deep Reinforcement Learning”, Hitachi America and Stevens Institute of Technology, arXiv, 24 August 2020. Reported results are from calibrated simulation.
- Chayan Banerjee, Kien Nguyen and Clinton Fookes, “Mining-Gym: A Configurable RL Benchmarking Environment for Open-Pit Truck Dispatch Optimization”, Queensland University of Technology, arXiv v2, 14 November 2025.
- BHP, “BHP and Microsoft use AI to lift Escondida copper recovery”, 30 May 2023.
Evidence-led concept — not a claimed PySmith customer deployment. All field stories.
The desk is the product. The decision stays human.
If this operating loop is the one you already run, request preview access. We will not invent a return on investment for you.