Intelligent agent - Wikipedia
In artificial intelligence, an intelligent agent ( IA) is anything which perceives its environment, takes actions autonomously in order to achieve goals, and may improve its performance with learning or may use knowledge.
https://en.wikipedia.org/wiki/Intelligent_agent