code: def get_grounded_agent(gene_name):
      
      db_refs = {'TEXT': gene_name}
      if gene_name in hgnc_map:
          gene_name = hgnc_map[gene_name]
      hgnc_id = hgnc_client.get_hgnc_id(gene_name)
      if hgnc_id:
          db_refs['HGNC'] = hgnc_id
          up_id = hgnc_client.get_uniprot_id(hgnc_id)
          if up_id:
              db_refs['UP'] = up_id
      agent = Agent(gene_name, db_refs=db_refs)
      return agent
docs: Return a grounded Agent based on an HGNC symbol.