Kynurenine in the chronic stress state regulates tumour-reactive CD8+ T cell exhaustion by activating the AhR. Here, CD8A is linked to neoplasm.