BAAIWorm, a computational model of C. elegans, integrates a biophysically detailed neural network with a three-dimensional biomechanical body, simulating behavior within an interactive environment.