The current shells aren't deterministic either. Everything depends on history, context, environment.
Early AI shells will ask for confirmation like "ansible --check" or "terraform plan". Running commands in a disposable virtual environment will inspire confidence. When they are trusted enough, direct execution.
Soon after you're able to say "Set up a k8s cluster for me!" you'll decide you don't need k8s anymore, you'll just introduce your AI model to your data-lake and be done. The days of thinking about how many nodes do I need, which immutable linux distro, t5g vs m4.xlarge are almost gone.
Read the lyrics to Graham Nash's "Teach Your Children", substituting "model" for "children" as necessary. :-)
I'm not saying that what you describe is impossible, but we're clearly far from the point where AI can be trusted to do something like that unsupervised (which is a necessity for any kind of scripting). So declaring that "command line is dead" is rather premature.
Improving the existing command line for humans is a waste of effort. It's an heirloom activity already, unless you forbid the use of LLM AI.
It's inefficient for even the simplest AI model to use a CLI, so API's are the future. But using API's to create a k8s cluster are pretty primitive too. The nearish future is things like unikernels running LLM's and rule-based logic engines and data-lakes. LLM's can help you create rule-based logic engines and data-lakes, so win-win.
Window desktops are dead. MacOS is a zombie with lipstick. Linux desktops are like playing an electronic harpsichord. Linux servers and Windows servers are dead too. Who cares? CEO's ask "How many widgets did we sell this quarter and will I get a bonus?" Regular people ask "When is my next dental appointment, how do I get wine stains out of my rug, what's good on TV? " [There are more important questions but people probably won't ask their device and expect a useful answer]
All of these things current LLM AI can answer with 90% accurancy, which is better than human accuracy. General AI is not necessary for pretty significant changes in the status quo. The IT sector's only future purpose is to help train models, IMHO. And future means now, not in 10/20/50/ years.
LLMs are great until they start to hallucinate on subjects where you don't know enough to catch them. We're nowhere near solving that problem yet, and you're painting a hopelessly optimistic picture. Here, now, CLI is still in heavy use, and it's not going away wihin the next few years.
Early AI shells will ask for confirmation like "ansible --check" or "terraform plan". Running commands in a disposable virtual environment will inspire confidence. When they are trusted enough, direct execution.
Soon after you're able to say "Set up a k8s cluster for me!" you'll decide you don't need k8s anymore, you'll just introduce your AI model to your data-lake and be done. The days of thinking about how many nodes do I need, which immutable linux distro, t5g vs m4.xlarge are almost gone.
Read the lyrics to Graham Nash's "Teach Your Children", substituting "model" for "children" as necessary. :-)