Delivery of the anti-CD47 nanobody by tumor-colonizing bacteria increased activation of tumor-infiltrating T cells, resulting in tumor regression and suppression of metastases. Here, CD47 is linked to neoplasm.