An AI agent is a computer program or system that can perceive its environment, process…
Explain in detail the components of Profile, Memory, Planning, and Action components.