DefendX is an AI-powered cybersecurity solution focused on safeguarding edge devices by detecting and mitigating security threats like unusual login activities, background-running malware, and abnormal traffic at routers. Leveraging cutting-edge technologies such as Llama, Phi3, and Streamlit, DefendX offers real-time anomaly detection and threat analysis tailored for edge environments. Llama's robust natural language processing and Phi3's advanced machine learning algorithms enable the model to efficiently recognize and respond to potential security breaches. Integrated with a user-friendly Streamlit interface, DefendX provides seamless interaction, allowing users to easily monitor and address threats while ensuring optimal device performance and data privacy.