The invention relates to a polypeptide and a gold nanobody capable of targeting HIV envelope protein gp120. The artificial antibody is composed of gold nanoparticles and a designed polypeptide sequence. The prepared gold nanobody can enhance the binding strength of the drug to the target, that is, when the concentration of virus gp120 in the body is very low, it can still maintain a high binding strength with it. At the same time, gold nanoantibodies have the characteristics of small particle size, excellent dispersion, and good stability. They can reach places that ordinary drugs cannot reach, and can bind to viruses more strongly. Therefore, this artificial antibody has broad application prospects in the field of biomedicine. .