Conventional greenhouses, while boosting crop yields, face critical sustainability challenges due to high energy consumption and resource inefficiency, particularly in developing nations where manual management prevails. This research addresses these limitations by designing a comprehensive AI-IoE system architecture to create a smart, resource-efficient, and sustainable operational model for eco-friendly greenhouses. The development methodology involved a systematic process of requirements analysis, integrated hardware and software design, prototype assembly, and functional testing. The system utilizes an ESP32 microcontroller as its central control unit, integrating a suite of six sensors comprising light intensity, temperature, humidity, pH, Total Dissolved Solids (TDS), and CO₂ to monitor critical environmental parameters in real-time. This integration utilizes the extensive dataset for AI based predictive analysis, enabling the intelligent forecasting of environmental trends and proactive resource management. The research resulted in a complete system blueprint, including a detailed electronic circuit design, a production-ready Printed Circuit Board (PCB) layout, defined operational control logic, and an intuitive web-based dashboard for remote monitoring and management. This integrated AI-IoE architecture provides a tangible solution that surpasses previous fragmented approaches by offering holistic environmental control. The findings present a significant contribution to precision farming, establishing a scalable and efficient framework to enhance greenhouse productivity and ecological sustainability.