Algorithmic personhood seems like a pretty good path forward for all the inevitable legal questions this will stir up. You could prosecute the individual instance of the algorithm when it breaks a law, and if that&#x27;s successful charge its employer for something like negligent training or negligent hiring.