The line about “understanding the aliens” reminds me of Ted Chiang’s short story The Evolution of Human Science (2000).
Highly recommend reading it. Very prescient for something written 26 years ago.
https://gwern.net/doc/fiction/science-fiction/2000-chiang.pd...
Ted Chiang is incredible, my favorite writer.
I also recommend "Exhalation", though that has nothing to do with AI.
Also his "Division by Zero":
https://web.archive.org/web/20111121100139/http://www.fantas...
https://en.wikipedia.org/wiki/Division_by_Zero_(short_story)