To become fully pervasive, artificial intelligence (AI) needs resources at the edge of the network. The cloud provides the processing needed for big data, but edge computing is close to where data live, and crucial to their timely, flexible, secure management. EU-funded AI-SPRINT builds powerful tools for AI applications in computing continua which allow a finely-tuned tradeoff between performance and AI model accuracy, putting security and privacy early in the design stage. The project provides programming models, specialised building blocks, and mechanisms for automatic deployment and dynamic reconfiguration. All this enables flexible and secure AI applications, benefiting developers, integrators, cloud providers, and end-users. AI-SPRINT will be demonstrated in real-world use cases: farming 4.0 maintenance and inspection, and personalised healthcare.