4013 Background: Accurate prediction of response and survival outcomes with anti-PD-1/PD-L1 immune checkpoint inhibition (ICI) remains a significant challenge in gastro-esophageal cancers. In this study, we use an artificial intelligence (AI)-based single-cell analysis of digitized whole-slide H&E images (WSIs) to predict objective response and survival benefit of ICI in two independent cohorts of gastro-esophageal cancer patients. Methods: WSIs were obtained from 82 ICI-treated advanced gastroesophageal cancer patients (gastric, esophageal, and gastro-esophageal junction adenocarcinoma and squamous cell carcinoma) at Stanford University for discovery, and 189 ICI-treated advanced gastric adenocarcinoma patients at Southern Medical University for external validation. Deep learning models were deployed for automated tumor area detection and segmentation of cell nuclei within WSIs. We developed a fully automated cell annotation approach by leveraging multiplex immunofluorescence and trained a deep learning model to classify nuclei into four cell types from H&E (tumor cells, lymphocytes, neutrophils, and macrophages). A total of 66 features were computed to quantify cell composition and cell-cell interactions within the tumor microenvironment. Treatment outcomes were assessed using progression-free survival (PFS) and best objective response per the Response Evaluation Criteria in Solid Tumors (v1.1), with statistical significance reported at the 95% confidence level. Results: In the training cohort, a spatial feature characterizing lymphocyte and neutrophil interaction had the strongest association with PFS (hazard ratio = 0.44, 95% CI 0.24-0.79, P = 0.0046). In the validation cohort, the spatial biomarker positive population had significantly improved PFS compared to the spatial biomarker negative population (hazard ratio = 0.41, 95% CI 0.27-0.61, P < 0.0001; median time to event: 19 months vs 9 months). For predicting objective response in the validation cohort, a multivariate model combining the spatial features achieved AUROC = 0.81 compared to AUROC = 0.65 for PD-L1 CPS (P = 0.0014), while combining the multivariate model with PD-L1 CPS achieved AUROC = 0.84. Conclusions: A single-cell computational pathology approachidentifies spatial biomarkers with predictive utility for determining ICI treatment outcomes in advanced gastro-esophageal cancer. Further validation of these findings is being pursued in additional cohorts.