A 17-year-old has pleaded guilty in the murder of a Border Patrol agent shot eight times in head, neck and torso in July.