Oniro is a distributed operating system for mobile/IoT devices envisioned by Huawei and other partners. In such a scenario, our project aims at designing a middleware for dispatching workloads on a distributed architecture composed of several IoT, mobile and edge devices. The project focuses on intelligent orchestration of the workload in a dynamically changing ecosystem.