In this study, we identified the diagnostic and prognostic value of AGTRAP in HCC, the mechanisms that might affect the development of HCC, and its association with immune infiltration and T-cell exhaustion. This evidence concerns the gene AGTRAP and hepatocellular carcinoma.