Inclusion Criteria:
1. Male or female participants aged 18 to 60 years, inclusive.
2. Meet DSM-5-TR criteria for major depressive disorder or bipolar I or II disorder, with a current major depressive episode. The first major depressive episode must have occurred before age 50 years. Participants with bipolar disorder must be taking at least one of the following mood stabilizers: lithium, valproate, or lamotrigine, alone or in combination, under the care of their treating clinician. Medication and dose must be documented and maintained during study treatment unless a clinically necessary change is documented and assessed by the investigator.
3. Previous adequate esketamine treatment with documented nonresponse, meeting all applicable requirements below:
* At least eight esketamine sessions administered twice weekly, either intravenously at a dose of at least 0.375 mg/kg per session or intranasally as Spravato at a dose of at least 56 mg per session. No maximum course duration of six weeks is imposed. Racemic ketamine does not qualify as the prior treatment.
* Nonresponse is defined as less than a 50% reduction in total depression severity score from the documented pre-course assessment to the documented end-of-course assessment obtained in routine clinical care. Acceptable instruments are the Montgomery-Asberg Depression Rating Scale (MADRS), Hamilton Depression Rating Scale, Beck Depression Inventory (original or second edition), Patient Health Questionnaire-9 (PHQ-9), Quick Inventory of Depressive Symptomatology (clinician-rated or self-report), or Inventory of Depressive Symptomatology. The same instrument and version must be used at both assessments; scores from different instruments or versions cannot be compared. The pre-course score is the last documented assessment before the first session. The end-of-course score is an assessment performed at the last session or within four weeks afterward; if several are available, the assessment closest to the last session is used.
* MADRS total score of at least 22 at screening and again at the Week 1 predose visit, with less than a 25% reduction from screening to baseline, calculated as 100 x (screening score - baseline score) / screening score. Negative reductions indicate worsening and are retained; both scores must remain at least 22. Both assessments are performed prospectively by an independent certified rater.
* The participant has remained in the same major depressive episode since the prior course, without an intervening period of remission, and has not initiated a new antidepressant, augmentation agent, electroconvulsive therapy, or other neuromodulation treatment between the end of that course and screening.
* Eligibility may be established through either of two entry pathways: (a) Interrupted treatment: the last esketamine session occurred no more than three months before the Week 1 predose visit. There is no minimum four-week washout requirement. (b) Persistent nonresponse during maintenance: after nonresponse to the qualifying course, the participant continued intravenous or intranasal esketamine maintenance and remains a nonresponder, irrespective of time since induction. The interruption interval in pathway (a) does not apply. The most recent documented depression assessment during maintenance must show less than a 50% reduction from the pre-induction score using the same instrument and version. The screening and Week 1 predose MADRS assessments must both be performed while the participant remains on the maintenance regimen.
* Participants entering through the maintenance pathway must have documented nonresponse at a dose of at least 56 mg per administration for intranasal esketamine or at least 0.375 mg/kg per session for intravenous esketamine. The maintenance dose, route, and administration interval must have remained unchanged for at least four weeks before Week 1. During the four-week study treatment period, maintenance is suspended and replaced by the study infusion schedule, without overlapping administrations.
* For both entry pathways, the first study infusion must occur at least two days after the last prior esketamine administration.
4. If oral antidepressants are prescribed, their doses have been stable for at least 4 weeks before enrollment. No new antidepressant therapy may be initiated during the study. Monoamine oxidase inhibitors are permitted with the same period of dose stability and intensified vital-sign monitoring, particularly blood pressure.
5. Clinically stable, as determined by medical history, physical and psychological examinations, 12-lead electrocardiogram (ECG), vital signs, and laboratory assessments, including complete blood count, liver enzymes, lipid panel, serum chemistry, and urinalysis. Baseline laboratory results and ECG from medical records may be accepted if obtained no more than 70 days before study treatment begins. This allowance does not replace mandatory infection screening, the complete blood count required before each sirolimus dose, predose baseline C-reactive protein testing, or pregnancy testing at the protocol-specified time points. A participant with a clinical abnormality may be included only if the investigator considers that the abnormality will not introduce additional risk or interfere with study objectives; specific exclusion criteria must still be satisfied.
6. Women of childbearing potential must agree to use a highly effective contraceptive method from informed consent until at least 3 months after the last dose of study medication. Acceptable methods are an intrauterine device, intrauterine system, contraceptive implant, combined injectable contraceptive, or hormonal oral contraceptive used together with a male condom with spermicide. Sexual abstinence is acceptable when consistent with the participant's usual and preferred lifestyle.
7. Men who are sexually active with partners of childbearing potential must agree to use condoms from informed consent until 3 months after the last dose. Their partners must be willing to use a highly effective contraceptive method from screening until 1 month after the last dose. Men must agree not to donate semen during the study and for 3 months after the last dose.
8. Agree to avoid prescription and nonprescription medications, herbal remedies, and dietary supplements during the study unless prescribed or approved by the study investigators.
9. Able to provide written informed consent, personally signed and dated, before any study-related procedure.
10. Fluent in Portuguese, with sufficient understanding to communicate adequately with the study investigators and study coordinator and to complete all study assessments.
Exclusion Criteria:
1. Any active or serious medical condition that could compromise participant safety, expose the participant to undue risk, or interfere with study objectives.
2. A condition related to HIV, hepatitis B, or hepatitis C that the study infectious disease physician considers a clinical contraindication to participation after individual review of medical history, clinical findings, serology, and additional tests when indicated. Screening includes a fourth-generation HIV immunoassay, HBsAg, total anti-HBc, and anti-HCV. A reactive result alone does not automatically exclude a participant. The eligibility decision and its rationale must be documented before the first study dose.
3. Active tuberculosis identified through clinical, radiographic, or additional evaluation, or another tuberculosis-related condition considered a contraindication by the study infectious disease physician. Screening uses a PPD tuberculin skin test instead of IGRA, with administration, induration in millimeters, and clinical interpretation documented. The PPD response alone does not automatically determine exclusion; eligibility is assessed individually before the first study dose.
4. A syphilis-related condition considered a clinical contraindication to participation by the study infectious disease physician. VDRL is the only routinely scheduled syphilis screening test. A reactive result alone does not automatically exclude a participant. Prior treatment history, clinical assessment, and additional tests when indicated are considered in the documented eligibility decision.
5. History of solid-organ or bone marrow transplantation.
6. History of epilepsy or a seizure disorder, except febrile seizures in childhood, or a history of severe traumatic brain injury, documented and clinically assessed by the investigator.
7. Malignancy within the past 5 years, except adequately treated basal cell carcinoma of the skin or cervical carcinoma in situ/dysplasia.
8. Use of prohibited concomitant medications or products, or use incompatible with the protocol restrictions. Strong CYP3A4/P-glycoprotein inhibitors (for example, ketoconazole, itraconazole, clarithromycin, ritonavir, or voriconazole), strong CYP3A4/P-glycoprotein inducers (for example, rifampin, rifabutin, carbamazepine, phenytoin, or St. John's wort), and other investigational products are prohibited. Initiating a new antidepressant or changing antidepressant doses during the study is prohibited. Grapefruit, grapefruit juice, and Seville oranges must be avoided. Live or live-attenuated vaccines are prohibited during the interval specified in exclusion criterion 17. Monoamine oxidase inhibitors are permitted with doses stable for at least four weeks and intensified monitoring, as specified in inclusion criterion 4. Chronic systemic corticosteroid use is prohibited during study treatment. Inhaled, topical/local, or occasional use does not automatically determine exclusion and requires individual clinical assessment. Scheduled benzodiazepine use is not permitted on esketamine session days. Management of regular users is planned individually without abrupt discontinuation; same-day use requires clinical review and may lead to postponement. Clinically necessary rescue treatment is permitted and documented. Medications explicitly permitted or required by the protocol, including lithium, valproate, or lamotrigine for participants with bipolar disorder, do not constitute an exclusion when the specified conditions are met.
9. Vital signs at the time of treatment outside any of the following limits without assessment and clearance by a healthcare professional: systolic blood pressure below 85 or above 145 mmHg; diastolic blood pressure below 55 or above 95 mmHg; or resting heart rate below 45 or above 100 beats per minute.
10. Current or past psychosis, including schizophrenia, schizoaffective disorder, or an episode with psychotic symptoms; a current manic, hypomanic, or mixed episode; a neurodegenerative disorder; or a personality disorder that, in the investigator's judgment, could interfere with study participation. Bipolar I or II disorder alone is not exclusionary when the inclusion criteria are met. Past manic or hypomanic episodes alone are not exclusionary. A history of a manic episode triggered by ketamine or esketamine is exclusionary, regardless of whether a current episode is present.
11. Current severe suicide risk, assessed by the responsible investigator, defined as a score of 4 or 5 on the Suicidal Ideation subscale of the Columbia-Suicide Severity Rating Scale (C-SSRS), or a score of at least 5 on MADRS item 10.
12. Current severe substance use disorder, or severe substance use disorder within the 6 months before enrollment, according to DSM-5-TR criteria, excluding nicotine and caffeine use disorders.
13. Positive urine pregnancy test or current breastfeeding. A pending or inconclusive result precludes study medication administration until clarified and clinically assessed; it is not automatically interpreted as confirmed pregnancy.
14. Known hypersensitivity or intolerance to esketamine, ketamine, sirolimus, or any excipient.
15. Heparin sensitivity or heparin-induced thrombocytopenia.
16. Current systemic infection or febrile illness.
17. Receipt or planned receipt of a live or live-attenuated vaccine within 4 weeks before, during, or within 4 weeks after the study treatment period.
18. Participation in another clinical study involving an active therapeutic intervention or an investigational device within 3 months before the first dose of study medication.
19. A clinically significant laboratory abnormality, including aspartate aminotransferase (AST) or alanine aminotransferase (ALT) above 2 times the upper limit of normal (ULN), or total bilirubin above 1.5 times ULN, within 2 weeks of the first administration of study medication.
20. Fasting triglycerides above 500 mg/dL or fasting total cholesterol above 350 mg/dL.