Ethical encounters with autonomous agents