Inclusion Criteria:
1. Sign a written informed consent form and voluntarily join this study;
2. Age 18-75 years old, male or female;
3. Pathologically confirmed adenocarcinoma of the rectum;
4. Clinically staged as II\~III stage by MRI (according to the 8th edition of AJCC);
5. Tumor lower edge distance from the anal margin ≤10cm;
6. Able to undergo surgical resection;
7. Able to swallow pills normally;
8. ECOG PS 0-1;
9. No prior anti-tumor therapy for rectal cancer, including radiotherapy, chemotherapy, surgery, etc.;
10. Planning to undergo surgical treatment after completing neoadjuvant therapy;
11. No contraindications for surgery;
12. Normal major organ function, including:
1. Blood routine examination (no blood or blood products transfusion within 14 days before the first treatment, no use of G-CSF or other hematopoietic stimulating factors for correction):
* Neutrophil count ≥1.5×109/L
* Platelet count ≥100×109/L
* Hemoglobin ≥90 g/L
2. Blood biochemistry:
* Total bilirubin ≤1.5×ULN
* ALT ≤ 2.5×ULN, AST ≤ 2.5×ULN,
* Serum creatinine ≤1.5×ULN, or creatinine clearance rate ≥50 mL/min (Cocheroft-Gault formula)
3. Coagulation function:
* International normalized ratio (INR) ≤ 1.5×ULN
* Activated partial thromboplastin time (APTT) ≤ 1.5×ULN
* Female subjects of childbearing potential should have a negative serum pregnancy test within 72 hours before the start of study drug administration, and effective contraception should be used during the trial period and for at least 3 months after the last dose (such as intrauterine devices, contraceptive pills, or condoms); for male subjects with female partners of childbearing potential, effective contraception should be used during the trial period and for 3 months after the last dose.
Exclusion Criteria:
1. History of allergy to monoclonal antibodies, PD-1 monoclonal antibodies, capecitabine, or oxaliplatin;
2. History of receiving or currently receiving any of the following treatments:
1. Any surgery, radiotherapy, chemotherapy, targeted therapy, immunotherapy, etc., for tumors;
2. Use of immunosuppressive drugs or systemic steroid therapy to achieve immunosuppression (dose \>10mg/day prednisone or equivalent) within 2 weeks before the first use of the study drug; inhalation or local use of steroids and adrenal cortical hormone replacement therapy with a dose \>10mg/day prednisone or equivalent is allowed in the absence of active autoimmune diseases;
3. Receipt of attenuated live vaccines within 4 weeks before the first use of the study drug;
4. Underwent major surgery or had severe trauma within 4 weeks before the first use of the study drug;
3. Active autoimmune diseases or history of autoimmune diseases, including but not limited to: interstitial pneumonia, enteritis, hepatitis, pituitary inflammation, vasculitis, nephritis, hyperthyroidism, hypothyroidism (considered for inclusion after hormone replacement therapy); psoriasis or childhood asthma/allergies that have completely resolved and do not require any intervention in adulthood may be considered for inclusion, but patients requiring bronchodilators for medical intervention are not eligible for inclusion;
4. History of immunodeficiency, including HIV positive, or acquired or congenital immunodeficiency diseases, or history of organ transplantation or allogeneic bone marrow transplantation;
5. Presence of poorly controlled clinical symptoms or diseases of the heart, including but not limited to: (1) NYHA class II or above heart failure, (2) unstable angina pectoris, (3) myocardial infarction within the past year, (4) clinically significant supraventricular or ventricular arrhythmias that have not been clinically intervened or poorly controlled after clinical intervention;
6. Severe infection (CTCAE \> grade 2) within 4 weeks before the first use of the study drug, such as severe pneumonia requiring hospitalization, septicemia, complications of infection, etc.; baseline chest imaging suggests active pulmonary inflammation, presence of symptoms and signs of infection within 14 days before the first use of the study drug or requiring oral or intravenous antibiotic therapy, except for prophylactic use of antibiotics;
7. Active pulmonary tuberculosis infection found through medical history or CT examination, or a history of active pulmonary tuberculosis infection within the past year before enrollment, or a history of active pulmonary tuberculosis infection more than 1 year ago but without proper treatment;
8. Active hepatitis B (HBV DNA ≥ 2000 IU/mL or 104 copies/mL), hepatitis C (HCV antibody positive, and HCV RNA higher than the lower limit of detection of the assay);
9. Diagnosed with other malignant tumors within 5 years before the first use of the study drug, unless they have a low risk of metastasis or death (5-year survival rate \> 90%), such as adequately treated basal cell carcinoma or squamous cell skin cancer or carcinoma in situ of the cervix, may be considered for inclusion;
10. Pregnant or lactating women;
11. Judged by the investigator to have other factors that may lead to premature termination of the study, such as having other serious diseases (including mental illnesses) requiring concomitant treatment, alcoholism, drug abuse, family or social factors, factors that may affect the safety or compliance of the subject.