I would feel more comfortable if the agent wrote the software to do the surgery rather than did it itself, so that it can be vetted before deployment. And if a complication arose, to stop and defer to the surgeon (would that work?)
If only we had accurate models they could train on.