code: func (srv *Instance) AgentMetadata(agent string) (agents.Metadata, bool) {
  	a, found := srv.agents.Get(agent)
  	if !found {
  		return agents.Metadata{}, false
  	}
  
  	return *a.Metadata(), true
  }
docs: // AgentMetadata looks up the metadata for a specific agent