Crafting safe human-centric agents with risk intelligence