Artificial intelligence designs computer systems able to perform and automate tasks normally requiring human intelligence or human supervision, such as visual perception, speech recognition, decision-making, and vehicle guidance. The impact of this development is transformational. The EU-funded TEACHING project addresses the challenge by integrating Artificial Intelligence with fundamental concepts of security and dependability while including feedback from the AI-human-CPSoS interactions. TEACHING aims to develop a human-aware CPSoS for autonomous safety-critical applications, based on a distributed, energy-efficient and dependable Artificial Intelligence. TEACHING is expected to fundamentally impact the development of autonomous safety-critical systems, providing means to improve their safety, dependability and overall acceptability.