We developed a multi-instance deep learning framework called EAMil to diagnose systemic lupus erythematosus (SLE) and rheumatoid arthritis (RA) with high accuracy using T cell receptor (TCR) sequencing data. By integrating PrimeSeq feature extraction, ESMonehot encoding, and an improved gated attention mechanism, it achieved state-of-the-art performance, achieving AUC of 98.95% for SLE and 97.76% for RA. EAMil successfully identified disease-related genes with over 90% agreement with conventional differential analysis and effectively distinguished disease-specific TCR genes. It stratified disease severity and lesion sites in SLE patients using the SLEDAI score, and showed robustness in classifying multiple disease categories while effectively controlling for confounding factors such as age and gender. This interpretable immune receptor analysis framework provides new insights into autoimmune disease detection and classification with broad potential clinical applications across the spectrum of immune-mediated diseases.