The EU should ban all research on offensive autonomous weapons on its territory, and seek international agreements.