Cornell computer scientists will lead the development of safety protocols to shore up AI agents and the code they produce.