Aberrant tryptophan metabolism in HCC results in kynurenine accumulation, which mediates CD8+ T cell exhaustion and compromises ICB sensitivity. Here, CD8A is linked to hepatocellular carcinoma.