Identifying the Agents Layer in Gen AI Landscape
Short answer
D The component belongs to the Agents layer because it autonomously reasons about steps and uses external tools like the order system and shipping API to achieve a specific business goal.
Question
Key Takeaways
The component described belongs to the Agents layer because it autonomously reasons through steps and utilizes external tools like the order system and shipping API to complete a multi-step return process. Agents differ from Models, which only provide reasoning, and Platforms, which provide development tooling.
Expert Analysis
An agent is software that works toward a goal by observing its inputs, reasoning about the next step, and using the tools available to it, such as the order system and the shipping API in this scenario. The model layer supplies the reasoning ability but does not call business systems on its own, the platform layer provides APIs and deployment tooling, and the infrastructure layer provides compute and storage.
To correctly categorize the described component, we must dissect the specific operational behaviors outlined in the retailer's use case: taking a request, reasoning about steps, calling external systems (order system, shipping API), and making iterative decisions until a goal (complete return) is achieved. This workflow is the textbook definition of an AI Agent within the generative AI landscape. Unlike static models or passive platforms, an agent is defined by its autonomy and its ability to orchestrate actions across different systems to achieve a complex, multi-step objective.
Option D, Agents, is the correct classification because the component exhibits three critical characteristics of agentic behavior: goal-orientation, tool use, and autonomous planning. The scenario explicitly states the component "reason[s] about the steps needed" and "decide[s] what to do next." This indicates the presence of a planning loop where the system evaluates its current state against a desired outcome and selects actions accordingly. Furthermore, the component interacts with external endpoints—the order system and shipping API. In the gen AI architecture, agents act as the orchestrator that bridges the gap between high-level natural language instructions and low-level system operations. They utilize foundation models for reasoning but rely on their own capability to execute function calls (tool use) to interact with the real world. Without this agentic layer, the model would remain isolated within the data center, unable to trigger business logic or retrieve live data from enterprise systems.
Option A, Infrastructure, is incorrect because the infrastructure layer refers to the underlying physical or virtual resources that support the AI stack, such as GPUs, TPUs, servers, and storage networks. While the agent certainly runs on infrastructure, the logical function of processing returns and calling APIs is a software application layer, not the hardware abstraction layer. Confusing the runtime environment with the application logic is a common pitfall; however, the question asks for the layer of the component performing the business logic, not the layer providing the compute power.
Option B, Models, is incorrect because foundation models are primarily designed for pattern recognition, generation, and semantic understanding. While they provide the "brain" or reasoning capability referenced in the scenario, a raw model does not inherently possess the agency to initiate network calls to external business systems like shipping APIs. Models output text or embeddings; they do not execute side effects or manage state across multiple disparate systems. The scenario describes a system that goes beyond mere generation to take action, which requires the agent wrapper around the model.
Option C, Platforms, is incorrect because the platform layer serves as the enablement layer for developers. It provides the necessary APIs, SDKs, monitoring tools, and deployment pipelines to build and manage AI applications. While the platform might host the agent or provide the libraries used to call the shipping API, the platform itself is the environment, not the active entity performing the return processing logic. The distinction here is between the toolset (platform) and the worker (agent). The component described is actively working toward a goal, which places it squarely in the agent layer.
The decisive constraint in this question is the phrase "decide what to do next until the return is complete." This implies a control flow mechanism that persists across multiple interactions and tool invocations. Only the agent layer encapsulates this control loop. The other layers are either passive resources (Infrastructure), passive intelligence providers (Models), or passive development environments (Platforms). Therefore, identifying this component as an Agent relies on recognizing the shift from static prediction to dynamic, goal-directed execution.
Exam Strategy
When analyzing gen AI components, focus on whether the system takes autonomous action to achieve a goal. If the description includes iterating through steps, calling external APIs, or managing state to resolve a complex task, it is an Agent. If it only generates content or predicts outcomes based on input, it is a Model. If it provides the underlying compute, it is Infrastructure. If it offers the developer tools to build these systems, it is a Platform.
Related Analysis
Practice All GAIL Questions
Access 73 questions with complete answers and detailed explanations.
View Full GAIL Practice Test →