Skip to main content

agent_principal_name

Function agent_principal_name 

pub fn agent_principal_name(principal: &str) -> Option<String>
Expand description

The readable name of an agent:<id> principal, without the kind label: the id, or the localized unknown-agent name when it is empty. None for any principal that is not an agent. For surfaces that already mark the actor as software, such as an agent badge.