AI-driven environments