AI-driven distributed computing