AI Agents Should Be Trained Like Medical Students