Key Components of AI Agents
- (The University of Chicago, Alvin Wei-Cheng Wong)
- Overview
AI agents are autonomous systems that perceive their surroundings, process data using advanced models, retrieve historical experiences from memory, and execute physical or digital actions to achieve specific goals.
They stand out from standard chatbots by possessing both the intelligence to reason and the tools required to complete complex workflows.
These four core pillars form the foundation of how AI agents operate:
1. Perception:
Perception allows the agent to observe and interpret its surroundings.
- Inputs: Can process raw text, images, audio, or API payloads.
- Processing: Translates unstructured data into structured formats the model can understand.
- Function: Acts as the sensory system for the agent to detect changes.
2. Reasoning/Model:
This is the cognitive core that formulates plans and guides decision-making.
- The "Brain": Powered by foundation models like Large Language Models (LLMs) or neural networks.
- Planning: Breaks down complex, long-horizon objectives into smaller, manageable subtasks.
- Evaluation: Analyzes data, weighs options, and determines the best sequence of steps.
3. Action:
The action layer allows agents to move beyond just generating text and actually execute tasks.
- Software Tools: API integrations, web search utilities, code interpreters, and mathematical calculators.
- Actuators: Robotic limbs or hardware effectors to physically interact with the real world.
- Function: Directly alters the environment to carry out the agent's goals.
4. Memory:
Memory stores historical data, ensuring that the agent retains context across interactions and learns from outcomes.
- Short-Term Memory: Retains current chat history or immediate sensor input.
- Long-Term Memory: Stores accumulated knowledge, prior task outcomes, or user preferences, often using Vector Databases.
- Episodic Memory: Maintains a record of specific past experiences to guide future strategy.
[More to come ...]

