Introduction to Artificial Intelligence and Intelligent Agent Architectures
Foundations and Overview of Artificial Intelligence
Academic Context and Attribution:
- Course: Introduction to AI and Applications (, Module 1).
- Course Material Authors: Dr Roopashree S, Dr. Venkata Madhava Ram Tatabhatla, and Prof. Asha.
Definitions of Artificial Intelligence:
- Core Definition: AI is the science and engineering of making intelligent machines, especially intelligent computer programs. It constitutes the branch of computer science dedicated to engineering machines and software capable of executing tasks that typically necessitate human intelligence.
- John McCarthy's Definition (2004): Formally defined AI as "the science and engineering of making intelligent machines, especially intelligent computer programs."
- Research Perspective: AI represents a collection of algorithms or step-by-step instructions enabling a computational architecture to make rational decisions and take actions without being explicitly programmed for every discrete scenario.
- Layman's Perspective: AI corresponds to intelligence demonstrated by machines simulating human actions—programming artificial systems to learn from past experiences, adjust to novel environmental inputs, and perform human-like tasks.
Core Capabilities of AI Systems:
- Reasoning, learning, and autonomous decision-making.
- Integrating formal logic, advanced algorithms, and data structures to emulate human cognitive faculties.
- Acting and thinking both humanely and rationally.
Foundational Historical Benchmark:
- In 1950, British mathematician and computer scientist Alan Turing published the seminal paper "Computing Machinery and Intelligence", posing the foundational question: "Can machines think?"
- This inquiry introduced the Turing Test, an operational benchmark designed to ascertain whether a machine can exhibit conversational behavior indistinguishable from that of a human being.
Real-World Applications:
- Chess-Playing Computers: Systems that evaluate millions of combinatorial moves and strategies per second to challenge and defeat elite human grandmasters.
- Self-Driving Cars: Autonomous vehicular platforms utilizing integrated sensor suites (cameras, LIDAR, sonar) to perceive dynamic physical environments, execute navigation decisions, and operate safely without human intervention.
- Deep Learning Subsystems: Advanced subsets of machine learning that emulate the neural architectures of the human brain to process sensory data, images, and speech.
- Natural Language Processing (NLP): Computational linguistic models enabling systems to parse, comprehend, and generate human vernacular.
- Virtual Assistants: Conversational agent software such as Apple Siri, Amazon Alexa, and Google Assistant that execute voice-command interpretation, information retrieval, and scheduled tasks.
Operational Mechanics and Core Processes of AI
Operating Principle:
- AI operates by ingesting massive volumes of unstructured or structured data (text, numerical datasets, images), extracting latent patterns, correlations, and trends, and deploying statistical models to execute predictions or actions.
- Email Spam Filter Example: An automated classifier evaluates thousands of sample messages labeled as "spam" or "non-spam", progressively refining its statistical boundaries to classify incoming mail accurately.
The Three Triadic Processes of AI:
- Learning:
- The initial computational phase where an algorithm extracts statistical structures and relationships from training data and encodes them into internal model parameters.
- Includes supervised learning, unsupervised learning, and reinforcement learning paradigms.
- Example: Image recognition models learning to discriminate between cats and dogs via exposure to thousands of labeled visual examples.
- Reasoning:
- The cognitive phase where the system applies structured rules or logical inference to stored knowledge to select optimal actions or algorithms.
- Inductive Reasoning: Deriving generalized rules or probabilistic principles from specific observations and empirical examples.
- Deductive Reasoning: Deriving logically necessary, specific conclusions from known universal premises or axiomatic facts.
- Example: A routing engine like Google Maps computing the fastest trajectory based on historical traffic flow, real-time sensor updates, and route constraints.
- Self-Correction:
- The feedback-driven refinement loop where the model monitors errors or suboptimal outputs and alters internal weights or algorithmic parameters to increase predictive accuracy.
- Example: Speech recognition systems on Siri or Alexa adjusting phonetic models based on misheard user queries and acoustic variations.
Advantages and Limitations of Artificial Intelligence
Key Advantages:
- High Performance with Detailed Data: High-throughput processing of intricate datasets; for instance, medical diagnostic systems parsing thousands of clinical records to identify disease etiologies faster than human practitioners.
- Reduced Processing Time: Automation of time-intensive, repetitive workloads; for instance, multi-threaded customer service chatbots resolving concurrent user queries without latency.
- Consistency and Accuracy: AI operates free from physical fatigue, emotional bias, and cognitive lapses, maintaining high precision in anomaly detection (e.g., radiological scans).
- Availability: Continuous operational capability without functional degradation, proving indispensable in automated manufacturing, infrastructure monitoring, and cloud services.
- Resource Optimization: Granular operational optimization, such as autonomous logistics platforms minimizing fuel expenditure and routing delays.
- Automation of Complex Processes: Offloading cognitively demanding, high-risk tasks in critical industrial setups without human error.
- Predictive Maintenance and Reduced Downtime: Prognostic evaluation of industrial hardware telemetry, forecasting mechanical failures before catastrophic breakdowns occur.
- Innovation and Quality Improvement: Accelerated computer-aided design (CAD) generating optimized engineering solutions and high-quality prototypes.
Key Disadvantages and Challenges:
- High Cost of Development and Maintenance: Massive initial and recurring capital investments in high-performance computing hardware (GPUs/TPUs), data acquisition, continuous retraining, and specialized personnel.
- Need for Technical Expertise: Rigorous mathematical, machine learning, and data engineering competencies are mandatory for robust implementation.
- Shortage of Skilled Professionals: Worldwide talent constraints in AI engineering restrict technology diffusion, particularly in developing economies.
- Dependence on Data Quality: Susceptibility to data corruption, noise, and sampling bias; biased training distributions lead directly to biased operational decisions (e.g., algorithmic discrimination in automated hiring platforms).
- Limited Generalization and Creativity: Narrow domain applicability; systems cannot dynamically transfer learned capabilities outside their training distribution or apply human common sense (e.g., an algorithmic medical diagnosis engine cannot execute financial equity forecasting).
Historical Chronology and Evolution of AI

1943 – The First Neural Network Model:
- Warren McCulloch and Walter Pitts authored "A Logical Calculus of the Ideas Immanent in Nervous Activity".
- Formulated the first mathematical model of an artificial neuron, proving that simple networked computational threshold units could compute arbitrary logical functions, establishing the basis for Artificial Neural Networks (ANNs).
1950 – The Turing Test:
- Alan Turing proposed the imitation game benchmark in "Computing Machinery and Intelligence" to determine if an artificial agent can exhibit human-level conversational intelligence.
1955–1956 – The Dartmouth Conference and Coining of "AI":
- John McCarthy (recognized as the Father of Artificial Intelligence) organized the Dartmouth Summer Research Project on Artificial Intelligence in 1956, formally establishing AI as an academic discipline.
- Early symbolic reasoning systems emerged shortly thereafter, including the Logic Theorist and the General Problem Solver (GPS).
1966 – ELIZA:
- Developed by Joseph Weizenbaum, ELIZA was one of the earliest Natural Language Processing chatbots, designed to simulate a Rogerian psychotherapist using pattern matching and script substitution.
1970s–1980s – The AI Winter:
- Following initial inflated optimism, severe algorithmic limitations and computational bottlenecks caused private and governmental funding collapses, leading to an extended pause in AI development.
1997 – IBM Deep Blue Defeats Garry Kasparov:
- IBM's Deep Blue supercomputer defeated the reigning World Chess Champion, Garry Kasparov, utilizing massively parallel custom hardware, Alpha-Beta search trees, and real-time evaluation of millions of moves per second.
2011 – Siri and IBM Watson:
- Apple integrated Siri into the iPhone 4S as an intelligent personal assistant.
- IBM Watson defeated human champions Ken Jennings and Brad Rutter on the quiz show Jeopardy!, showcasing advanced question-answering over unstructured text databases.
2014 – Amazon Alexa:
- Commercial release of ambient smart-home assistant Alexa, establishing ambient voice-controlled computing in domestic environments.
2016 – Tay Chatbot & AlphaGo:
- Microsoft's conversational bot Tay had to be taken offline within hours of deployment on Twitter due to generating toxic, racist, and sexist remarks learned from unconstrained public user interactions.
- DeepMind's AlphaGo defeated world Go champion Lee Sedol, combining Deep Convolutional Neural Networks and Monte Carlo Tree Search (MCTS) trained via Reinforcement Learning.
2017 – AlphaGo Milestones:
- Google DeepMind further demonstrated superhuman mastery in complex game domains with iterations like AlphaGo Master.
2018 – Ethics Guidelines and Transformer Language Models:
- The European Commission established formal High-Level Expert Group guidelines for trustworthy and ethical AI.
- Transformer-based architectures and early Generative Pre-trained Transformer (GPT) models revolutionized Natural Language Understanding (NLU).
2023 Onward – Generative AI Epoch:
- Large Language Models (LLMs) like OpenAI's ChatGPT popularized widespread conversational AI, multi-modal synthesis, and creative reasoning systems.
Theoretical Foundations: Logic, Probability, and Cognitive Science
The Tripartite Theoretical Basis:
- AI relies on three foundational disciplines: Logic (deterministic reasoning), Probability (uncertainty management), and Cognitive Science (human-centric modeling).
Logic in AI:
- Definition: The formal study of correct reasoning, yielding a structured, symbolic syntax to encode environmental truth values and infer new facts.
- Knowledge Representation: Captures facts about the world in machine-interpretable formal syntax:
- Logical Inference: Automated derivation of new assertions from explicit premises:
- Premise 1: Socrates is a human ().
- Premise 2: All humans are mortal ().
- Inferred Conclusion: Socrates is mortal ().
- Systemic Transparency: Symbolic logical steps provide an auditable execution trace, essential for safety-critical domains like law and medicine.
- Chaining: Progressive linking of multiple rules to produce complex deductions:
- Rule 1: If it rains, the ground becomes wet.
- Rule 2: If the ground is wet, the road is slippery.
- Fact: It rains.
- Deduction: The road is slippery.
- Case Study – Smart Door Security System:
- Unlocking the door requires two verified boolean conditions: Face Recognized () and Security Code Correct ().
- Boolean Function:
- Truth Table:
Probability in AI:
- Definition: The mathematical calculus of uncertainty, mapping event plausibility to real values within the bounded continuum .
- Handling Imperfection: The real world contains sensory noise, partial visibility, and medical ambiguities (such as false positives and false negatives), rendering binary logic insufficient.
- Probabilistic Diagnosis Example:
- If of a population has influenza, a patient presenting with pyrexia (fever) cannot be deterministically classified. A probabilistic classifier assigns confidence levels:
- Decision Making Under Uncertainty – Weather Assistant:
- Given prior probabilities:
- On cloudy days, rain probability is ().
- On clear days, rain probability is ().
- Rational Action: If the current observation is cloudy, the agent recommends carrying an umbrella because the threshold exceeds the risk tolerance.
Cognitive Science in AI:
- Definition: An interdisciplinary study comprising Psychology, Neuroscience, Linguistics, Philosophy, Anthropology, and Computer Science aimed at analyzing the cognitive structures of the mind.
- Artificial Neural Networks: Directly inspired by biological neurobiology, where artificial synapses update scalar weights based on error backpropagation, analogous to synaptic plasticity.
- Reinforcement Learning: Emulates psychological conditioning where biological organisms optimize behaviors in response to environmental rewards and punishments.
- Human-AI Collaboration: Informs the generation of empathetic dialogue, emotional intelligence, and cognitive transparency for human users.
Integration of the Foundations in Complex Systems:
- Autonomous Vehicle:
- Logic: Enforces hard rules (e.g., If red light halt).
- Probability: Resolves sensory uncertainty (e.g., likelihood an obstacle is a pedestrian).
- Cognitive Science: Predicts erratic human driver behavior and configures ergonomic driver-alert interfaces.
- Clinical Diagnostic Assistant:
- Logic: Applies formal clinical contraindication rules.
- Probability: Synthesizes patient vitals and lab results to infer Bayesian disease likelihoods.
- Cognitive Science: Formats clinical explanations in interpretable medical frameworks for doctors.
Taxonomy and Classification of Artificial Intelligence

Classification Based on Capabilities:
- Weak or Narrow AI:
- Systems programmed and trained to perform a singular, strictly defined computational task.
- Lacks consciousness, independent intentionality, or cross-domain generalization.
- Operates via pattern recognition, data-driven optimization, and bounded parameter spaces.
- Examples: Apple Siri, Amazon Alexa, Google Translate, Netflix recommendation engine.
- Strong or General AI (Artificial General Intelligence - AGI):
- Theoretical machine intelligence displaying cognitive capabilities equivalent to human intellect.
- Can autonomously reason, adapt across disparate domains, exhibit creativity, transfer learned concepts, and utilize common sense.
- Conceptual Examples: HAL 9000 (2001: A Space Odyssey), J.A.R.V.I.S. (Iron Man), ongoing advanced alignment research initiatives (e.g., OpenAI).
- Artificial Superintelligence (ASI):
- A theoretical evolutionary tier beyond AGI where machine intelligence surpasses aggregate human intellect across every domain, including scientific research, social skills, and strategic planning.
Classification Based on Functionalities:
- Reactive Machines:
- The most primitive architectural class; reacts exclusively to present inputs without internal memory or historical data storage.
- Cannot learn from past operational errors or store prior states.
- Example: IBM Deep Blue computes move evaluations from the current chessboard configuration without recalling prior tournament games.
- Limited Memory:
- Maintains transient, short-term data representations of past states to inform real-time decision loops.
- Continuously refines parameters through dynamic environmental interaction, though observations are not stored indefinitely in a lifelong experiential library.
- Example: Self-driving vehicles tracking the historical positions, velocities, and trajectories of surrounding vehicles over recent seconds.
- Theory of Mind:
- Advanced theoretical systems capable of modeling the psychological profiles, beliefs, desires, intent, and emotional states of human interlocutors to inform rational behavior.
- Self-Awareness:
- The zenith of AI functionality; theoretical systems possessing subjective metacognition, self-referential consciousness, and an internal understanding of their own existence.
Agent Concepts, Structures, and the Vacuum-Cleaner World

Definitions:
- Agent: An entity that perceives its surrounding operational environment via physical or virtual sensors and acts upon that environment via physical or virtual actuators.
- Environment: The external problem space that provides percept streams () to the agent and absorbs actuator outputs ().
- Percept: The perceptual input of an agent at any specific temporal instant.
- Percept Sequence: The comprehensive chronological history of all percepts the agent has received since initialization.
Embodied Agent Types:
- Human Agent: Eyes, ears, tactile dermis, olfactory, and gustatory organs function as sensors; hands, legs, vocal cords, and musculoskeletal structures serve as actuators/effectors.
- Robotic Agent: Digital video cameras, LIDAR, infrared range finders, and ultrasonic arrays function as sensors; electric servomotors, pneumatic joints, and robotic grippers operate as actuators.
- Software Agent: Receives network packets, system flags, and digital bitstreams as perceptual inputs; issues file writes, network calls, and screen outputs as actions (e.g., automated email spam filters).
The Formal Agent Function:
- An abstract mathematical mapping from arbitrary percept sequences to deterministic or stochastic actions:
- Where is the set of all possible percept sequences and is the set of all possible actions.
The Agent Program:
- The practical computational algorithm executing on physical hardware (the architecture) implementing the agent function:
- While the agent function theoretically maps over historical percept sequences (), the agent program accepts only the current percept as immediate input and maintains internal state structures if prior history is required.
The Vacuum-Cleaner World Prototype:

- Environment Specification: A discrete world consisting of two discrete spatial cells, Square and Square .
- Percepts: Tuple specifying current location and local contamination status: , where and .
- Available Actions: .
- Agent Function Logic: If the current square is Dirty, execute ; otherwise, move to the adjacent square.

- Partial Agent Function Tabulation:
Environmental Taxonomies
Discrete vs. Continuous:
- Discrete: The state space, sensory inputs, and action sets are countable and clearly separated (e.g., Chess board configurations, turn sequences).
- Continuous: Spatial, temporal, or control variables vary along real-valued continua (e.g., self-driving vehicular steering angles, continuous velocity adjustments).
Known vs. Unknown:
- Known: The environmental transition mechanics and outcomes of every action are fully known to the agent (e.g., formal game engines).
- Unknown: The agent lacks prior models of action transitions, requiring exploratory interactions via reinforcement learning.
Fully Observable vs. Partially Observable:
- Fully Observable: The agent's sensors grant complete access to the global state of the environment at all times (e.g., standard Chess).
- Partially Observable: The agent suffers from sensory noise, occlusion, or missing instrumentation (e.g., blind spots in automotive driving, Kriegspiel chess).
Static vs. Dynamic vs. Semi-Dynamic:
- Static: The environment remains unchanged while the agent is deliberating (e.g., crossword puzzles).
- Dynamic: The environment changes continuously while the agent calculates its next action (e.g., navigating highway traffic).
- Semi-Dynamic: The physical environment does not alter dynamically, but the agent's performance evaluation decreases with computation time (e.g., competitive chess played with a time clock).
Single-Agent vs. Multi-Agent:
- Single-Agent: An agent acts alone without other decision-making entities affecting its performance metric (e.g., solitary vacuum-cleaning robot).
- Multi-Agent: Multiple competitive or cooperative decision-making entities operate within the shared domain (e.g., multi-car traffic negotiations, competitive chess).
Accessible vs. Inaccessible:
- Accessible: Equivalent to fully observable; the agent has complete, noiseless access to environmental state variables.
- Inaccessible: State telemetry is noisy, occluded, or incomplete, requiring statistical estimation (e.g., global atmospheric weather modeling).
The Principle of Rationality and the PEAS Framework
The Concept of Rationality:
- A rational agent selects an action that maximizes its expected performance measure, conditional on the perceived sequence history and its built-in knowledge.
- Omniscience vs. Rationality: Rationality is not omniscience. An omniscient agent knows the actual outcome of its actions and acts with perfect foresight; a rational agent maximizes expected success based on available information.
Designing Objective Performance Measures:
- Performance measures must evaluate the actual state of the environment, not the agent's internal activity.
- Vacuum Cleaner Example: If performance is measured by "amount of dirt collected in an 8-hour shift", a rational agent can maximize this score by repeatedly cleaning dirt, dumping it back out, and cleaning it again. An effective performance measure instead rewards "having a clean floor" (e.g., awarding points for clean squares over time, while penalizing power usage and noise).
The Four Determinants of Rationality:
- The formal performance measure establishing operational success criteria.
- The agent's prior knowledge of its operational domain.
- The set of actions available to the agent.
- The complete percept sequence logged to date.
The PEAS Framework:
- Used to specify an agent's task environment through four parameters: Performance measure, Environment, Actuators, and Sensors.

- PEAS Decomposition – Automated Taxi Driver:
- Performance Measure: Safe transit, speed, compliance with traffic statutes, passenger comfort, minimizing operational wear and fuel usage, maximizing economic profits.
- Environment: Urban roads, rural lanes, 12-lane superhighways, traffic participants, pedestrians, domestic/stray animals, road maintenance works, emergency vehicles, potholes, varying weather (e.g., Southern California sunshine vs. Alaskan snow), local traffic conventions (right-hand vs. left-hand drive).
- Actuators: Throttle/accelerator pedal control, electronic steering column, pneumatic/hydraulic braking, turn signals, horn, cabin passenger display screen, synthetic voice system.
- Sensors: Contour video cameras, ultrasonic rangefinders, sonar, LIDAR, GPS antenna, vehicle speedometer, accelerometers, wheel odometers, mechanical engine sensors, cabin passenger interface/microphone.
Intelligent Agent Program Architectures
General Agent Equation:
- The architecture provides execution hardware and sensor/actuator interfaces, while the agent program provides decision logic.
Table-Driven Agent Architecture:
- Operates via a static lookup table mapping exhaustive histories of percept sequences to specific actions.
- Inherent Bottlenecks:
- Exponential Search Space Growth: Storing all combinatorial percept sequences requires astronomically large memory ( for a sequence of length ).
- Engineering Infeasibility: Human designers cannot write explicit actions for every potential circumstance.
- Zero Adaptability: Cannot generalize to unindexed states or adapt to environmental changes.
- Analogy: Early engineers used extensive physical lookup tables for square roots and trigonometric functions, which were eventually replaced by concise algorithms (such as Newton's method). Modern AI similarly uses algorithmic reasoning rather than exhaustive tables.
Simple Reflex Agents:

Operates solely on the current percept using Condition-Action Rules (If-Then statements):
Example: If car-in-front-is-braking Initiate-Braking.
Limitations: Fails in partially observable environments; lacking memory, agents can become trapped in infinite loops (e.g., a blind vacuum cleaner moving back and forth between two clean squares).
Randomization Workaround: Introducing stochastic action choices can help agents escape deterministic loops, though it does not provide true goal-oriented optimality.
- Model-Based Reflex Agents:

Manages partial observability by maintaining an internal state that tracks unobserved aspects of the world.
Integrates two internal models:
- World Dynamics: Knowledge of how external systems change independently over time.
- Action Effects: Knowledge of how the agent's own actions alter environmental states.
Execution Cycle:
- Receive new percept from sensors.
- Update internal state using previous state, latest percept, and world dynamics.
- Match condition-action rule against updated internal state.
- Dispatch selected action to actuators.
- Goal-Based Agents:

Combines state estimation with explicit goal representations describing target objectives.
Implements search and planning algorithms to simulate and evaluate future action sequences before execution.
Highly flexible: adapting behavior to a new destination requires updating the goal variable rather than rewriting individual condition-action rules.
- Utility-Based Agents:

Evaluates actions using a real-valued utility function (), providing a graded measure of performance rather than a binary goal evaluation.
Enables trade-off resolution among competing outcomes (e.g., balancing speed, route risk, and passenger comfort).
Expected Utility (): Under environmental uncertainty, it averages utilities weighted by outcome probabilities, choosing the action that maximizes expected utility:
Comparative Routing Scenario:
Route A (Fast but risky):
Route B (Moderate speed, safe):
Route C (Very safe, slow):
Decision: Selects Route B to optimize the balance of safety and travel efficiency.
Comparative Summary: Goal-Based vs. Utility-Based Agents:
Evaluation Metric: Goal-based agents use binary evaluations (goal met vs. not met); utility-based agents calculate continuous, real-valued utility scores.
Uncertainty Handling: Goal-based agents struggle to trade off risks; utility-based agents weigh outcomes using probabilistic expectations.
Decision Quality: Goal-based decisions identify acceptable paths; utility-based decisions compute optimal paths.
- Learning Agents:

Separates the operational decision loop from continuous behavioral improvement.
Four Core Functional Modules:
- Performance Element: The operational agent (reflex, model, goal, or utility-based) selecting real-time actions from percepts.
- Critic: Evaluates the behavior of the performance element against an external performance standard, providing an objective feedback signal.
- Learning Element: Modifies rules and predictive models in the performance element to improve future scores.
- Problem Generator: Proposes exploratory, non-standard actions to discover new strategies and prevent convergence on local optima.
Automated Taxi Implementation:
Performance element drives the vehicle based on current sensor inputs.
Critic records hard braking, passenger discomfort, or route delays.
Learning element updates braking rules to account for wet road conditions.
Problem generator tests novel routes under different traffic patterns to find faster trajectories.
Comparative Reference Across Agent Classes:
Reflex Agent: Instantaneous reactions using if-then rules; no internal memory.
Model-Based Agent: Uses internal world models and state tracking to handle partial observability.
Goal-Based Agent: Evaluates candidate actions against target end-states using search and planning.
Utility-Based Agent: Balances multi-objective trade-offs using continuous preference metrics.
Learning Agent: Adapts and optimizes all architectural modules over time using environmental feedback.
Problem-Solving Agents, Problem Formulation, and Search Spaces
Problem-Solving Agents:
- A specialized class of goal-based agents operating in atomic, static, discrete, and deterministic environments.
- Plans multi-step action sequences using systematic search algorithms across an abstract state space before executing actions.
Stages of Problem-Solving:
- Goal Formulation: Establishing explicit goal criteria based on current percepts.
- Problem Formulation: Defining states, actions, transition models, and path costs.
- Search: Computationally evaluating candidate action paths from the start state to the goal.
- Execution: Executing the chosen sequence of actions in the physical environment.
The Five Formal Components of Problem Definition:
- Initial State: The formal state description where the agent begins search (e.g., ).
- Actions: The set of valid operators executable from a given state, formally designated as:
- Example: .
- Transition Model: The successor function defining the state resulting from action in state :
- Example: .
- Goal Test: A boolean predicate determining whether a given state satisfies goal conditions:
- Explicit goal: .
- Implicit goal: .
- Path Cost Function: A cost function that assigns a positive numerical weight to an action sequence, evaluated as the sum of step costs:
- Optimal solutions achieve the goal with the minimum cumulative path cost.
Search Algorithms:
- Uninformed (Blind) Search: Operates without problem-specific distance estimates to the goal (e.g., Breadth-First Search, Depth-First Search, Uniform-Cost Search).
- Informed (Heuristic) Search: Uses domain-specific heuristic functions () to prioritize promising search paths (e.g., Greedy Best-First Search, Search).
The Vacuum-Cleaner World Formal Problem Specification:

- State Space Derivation: 2 spatial squares ( and ) with 2 possible cleanliness conditions ( or ) yields a finite state space of size:
- Initial State: Any of the 8 possible states.
- Actions: Available moves: .
- Transition Model: moves the agent left (or self-loops if already at the left boundary); moves the agent right; cleans the current square.
- Goal Test: Both Square and Square are Clean.
- Path Cost: Each action incurs a uniform step cost of , so the total path cost equals the sequence length.