Controlling automated traffic agents