Distributed AI in metalworking