A desktop is a tool, and the last thing I want from my tools is intelligence. Tools need to be predictable. My desktop should respond to my commands the exact same way every time so I can use it without conscious thought.
If you want to introduce AI to a desktop, the best way is to add an interface for automating that desktop and add a separate AI agent that can use that interface. This also benefits accessibility tools that can use the same automation interface.