Herein, this study designs a biomimetic hydrogel system to reprogram tumor immune microenvironment from an immune‐excluded to the immune‐inflamed landscape via mechanically remodeling the tumor physical microenvironment and blocking IDO1/Kyn/AhR pathways, showing reduced post‐surgical cancer recurrence and metastasis. Here, IDO1 is linked to cancer.