A mining simulation by a bunch of AI agents performs a set of tasks depending on their statistics and attributes. This is achieved using the Utility theory algorithm and Finite State Machines for decision-making and execution of the mechanics.