A Global Framework for AI Safety