Structure of an AI Agent
The job of AI is to create an agent program which aims to perform the agent function. The structure of an intelligent agent is made of an agent program and architecture.
AI Agent = Architecture + an Agent program
Architecture = known as machinery that an agent executes on.
Agent program: How implementation of agent function is done.