A sea slug’s decision to approach or avoid potential prey has been simulated in a virtual environment called Cyberslug. In the future the software, described in a paper published in eNeuro, may provide a foundation for the development of more realistic artificial intelligence systems.