Introduction. The development and spread of robots, artificial intelligence systems and complex automated information systems are associated with the problem of causing harm by their decisions and actions, as well as the problem of legal liability for this harm. Theoretical analysis. One of the main functions of legal liability is general and private prevention. When applied to robots, it requires them to be reprogrammed, retrained, or eliminated.