pub fn declare(agent: &Agent) -> Result<()>
Record agent, replacing an earlier record of the same name.
agent