Agent is something that has been used in programming for ages, even before llms. It's simething you learn about in first years in CS