Glossary term
What is agent architecture?
What is agent architecture?
Agent architecture defines the organizational structure and interaction of components within software agents or intelligent control systems, commonly referred to as cognitive architectures in intelligent agents. These components typically handle perception, reasoning, learning, and action, and the choice of architecture is driven by an application's real-time response requirements, task complexity, environmental dynamics, and desired autonomy. The main types are:
-
Reactive Architectures — No internal symbolic model of the world; agents map situations directly to actions in a stimulus-response manner. This makes them simple, fast, and computationally tractable, but limited to immediate tasks without long-term planning.
-
Deliberative Architectures — Also called intentional agents, these maintain an explicit symbolic model of the world and use it to reason about beliefs, goals, and intentions, including hypotheses about future states. This enables more complex, forward-looking behavior at the cost of slower response times.
-
Hybrid Architectures — Combine reactive and deliberative elements, arranging an agent's subsystems into a layered hierarchy so reactive behavior handles immediate stimuli while a deliberative layer handles planning. The 3T architecture — reactive, sequencing, and deliberative layers — is a common example, and layers typically interact both horizontally and vertically.
-
Layered Architectures — A structural pattern (often used to implement hybrid designs) where higher layers use more abstract representations and lower layers handle concrete, immediate perception and action, each operating at a different level of abstraction.
-
Cognitive Architectures — Designed to model human cognition, often in service of artificial general intelligence research, aiming to replicate how humans think and process information.
These frameworks typically include knowledge bases, objectives, and occasionally libraries of plans, tailored to the application's needs. Symbolic architectures rely on logic, offering robustness but limited flexibility; connectionist architectures, based on neural networks, provide adaptability; and evolutionary architectures, driven by evolutionary algorithms, are highly flexible and potent but complex to engineer.
Agent architecture forms the core on which agents function, integrating the software agent program with sensors and actuators found in systems like autonomous vehicles or surveillance cameras. The agent program actualizes the agent function, which maps percept sequences to actions.
What are the trade-offs between reactive, deliberative, and hybrid architectures?
Each architecture involves a distinct set of trade-offs, and none scales to complex environments without limitations.
Reactive architectures are simple to design and implement, respond quickly to environmental stimuli, tolerate failure gracefully, and consume comparatively few system resources. Because they coordinate perception and action directly, they can handle fairly complex tasks without an internal state, and by repositioning relative to the environment they can select for favorable sensory patterns and exploit emergent behavior from sensory-motor loops. Their weaknesses stem from the same source: no long-term goals or non-local information, difficulty debugging behavior that lacks a clear design methodology, no representation of overall system behavior, and emergent behavior that becomes harder to engineer as the system grows. They also struggle with multi-step tasks that require access to external data, APIs, or tools.
Deliberative architectures, such as the Belief-Desire-Intention (BDI) model, use symbolic reasoning to plan toward optimal solutions and reason about future states, which suits tasks that require genuine AI methods rather than fixed responses. The trade-off is a deliberation cycle whose duration is largely out of the developer's control, making these architectures slower to re-plan in rapidly changing environments.
Hybrid architectures merge the responsiveness of reactive systems with the foresight of deliberative ones, typically giving the reactive layer precedence for immediate response while the deliberative layer handles longer-horizon planning. This balance comes at the cost of added design and implementation complexity, and can sometimes reduce conceptual clarity.
These architectures underpin distributed artificial intelligence by providing the structures agents use to perceive, reason, and act within their environment, and an agent's architecture is closely tied to the environment and tasks it's designed for.
How do they handle uncertainty and adapt to changing objectives?
Handling uncertainty and adapting to changing objectives typically draws on the same reactive, deliberative, and hybrid distinctions, often combined with learning.
Deliberative agents maintain a symbolic representation of the world, and their beliefs, goals, and intentions let them re-plan as objectives change, though they can be too slow to keep pace with rapidly changing environments. Reactive agents instead rely on direct perception-to-action mappings and feedback control, which suits dynamically changing, non-deterministic environments with incomplete information but is less suited to long-horizon reasoning. Uncertainty itself is often handled by quantifying it — through probabilistic or fuzzy approaches, for example — so it can be reasoned about explicitly; autonomous vehicles are a common case where several such methods are combined. Hybrid approaches extend this further: a hybrid model for multiagent teamwork, for instance, integrates Partially Observable Markov Decision Processes (POMDPs) with BDI architectures to operate in a constantly changing and unpredictable world.
Learning-based approaches add another layer of adaptation. Reinforcement learning and instance-based learning let agents adjust behavior based on experience — for example, weighting recent experience more heavily (recency) or discarding irrelevant information (decay) — and meta-learning lets agents learn how to adapt quickly to new tasks. Agents can also adapt through online adaptation, adjusting behavior in real time based on context, or by aligning and reformulating their norms and objectives as the environment changes.
More terms
Continue exploring the glossary.
Glossary term
What is online machine learning?
It's time to build
Collaborate with your team on reliable Generative AI features.
Want expert guidance? Book a 1:1 onboarding session from your dashboard.