... detect collisions between two agents?

Set up a callback method using the "handle-collisions" method in the class Real.