Skip to main content

Command Palette

Search for a command to run...

Intelligent Agents

Updated
•2 min read•View as Markdown

1. Core Definition

An agent perceives its environment via sensors and acts upon it via actuators.

  • Agent Function: The abstract mapping from percept sequences to actions (what it does).

  • Agent Program: The concrete implementation of the function (how it does it).

2. Rationality & Performance

A rational agent chooses the action that maximizes its expected performance measure based on its percepts and prior knowledge.

  • Rationality is defined by the performance measure (the goal).

  • Bounded Rationality: Agents make the best decision within practical limits (time, computation).

3. PEAS Framework (Task Specification)

  • Performance Measure: The criterion for success.

  • Environment: The world the agent operates in.

  • Actuators: How the agent acts.

  • Sensors: How the agent perceives.

4. Environment Properties (The Design Driver)

PropertyKey QuestionImplication
Fully/Partially ObservableCan the agent see everything it needs to?Partial → needs internal state/memory.
Deterministic/StochasticIs the next state predictable?Stochastic → must handle uncertainty.
Episodic/SequentialDo actions have long-term consequences?Sequential → requires planning.
Static/DynamicDoes the world change while the agent thinks?Dynamic → must act in real-time.
Discrete/ContinuousAre states/actions finite or infinite?Continuous → requires complex math.

5. Agent Architectures (From Simple to Smart)

  1. Simple Reflex: IF percept THEN action. Fails if environment is partially observable.

  2. Model-Based Reflex: Maintains an internal state to handle partial observability.

  3. Goal-Based: Has a goal. Uses model to plan and find a sequence of actions.

  4. Utility-Based: Has a utility function. Optimizes outcomes when goals are conflicting or uncertain. Most general/powerful.

6. Learning Agents (The Path to Autonomy)

A meta-architecture that improves from experience.

  • Performance Element: The "actor" (e.g., a utility-based agent).

  • Critic: Provides feedback on performance.

  • Learning Element: Makes improvements based on feedback.

  • Problem Generator: Suggests exploratory actions to gain new knowledge.