Beyond the Chatbot: Understanding SAP’s Architecture for Agentic AI
From the publisher’s feed, collected in the ZeroLabs newsroom.
The first generation of enterprise AI was largely concerned with making information easier to access. A user could ask a question in natural language, retrieve information from a knowledge base, summarize a document, or generate a piece of text. The architecture behind these systems was relatively straightforward: an application accepted a request, an AI model interpreted it, relevant context was retrieved, and the model generated a response.That architecture begins to change when the AI system is expected to do something rather than simply say something.Consider a relatively ordinary enterprise request: a procurement employee discovers that a supplier delivery is going to be late and wants to understand which customer orders might be affected. In a traditional system, answering that question may require navigating several applications, retrieving supplier information, checking inventory, examining production schedules, identifying affected orders, and perhaps contacting another team. An AI assistant that merely summarizes the relevant information is useful, but it does not fundamentally change the workflow.An agentic system approaches the problem differently. The user can express an objective, and the system can determine which capabilities are required, retrieve the appropriate business context, invoke tools, coordinate specialized agents, and potentially execute actions across enterprise systems. The challenge is no longer simply producing a good answer. It is coordinating computation, data, permissions, tools, identity, and business processes safely enough that an AI system can participate in actual enterprise work.This is the problem that makes the architecture behind SAP’s AI strategy particularly interesting.Core arhitecture for AI agents built on SAP business AI / refer SAP learningSAP’s reference architecture for Agentic AI & AI Agents describes an ecosystem built around the SAP Business AI Platform, with Joule providing the central AI experience and orchestration layer, custom and SAP-provided agents performing specialized work, and open standards such as A2A and MCP connecting agents and tools across organizational and platform boundaries. Around those capabilities sit the less visible but essential components of enterprise architecture: identity, authentication, governance, observability, business context, and lifecycle management.The result is not simply an LLM embedded inside an enterprise application. It is an attempt to create an architectural layer through which AI agents can interact with business processes.From answering questions to executing workThe conceptual distinction between an assistant and an agent is useful here.An assistant primarily helps a person accomplish something by providing information or generating content. An agent is expected to perform a sequence of actions toward an objective. That difference introduces state, tools, decision-making, permissions, and responsibility into the architecture.Imagine a finance employee asking an AI system to investigate an unusual invoice. The system might need to retrieve the invoice, identify the supplier, examine historical transactions, compare purchasing patterns, consult company policies, and determine whether the transaction should be escalated. None of these individual operations is particularly exotic. The complexity comes from combining them into a reliable workflow.The model therefore cannot be the entire system.A language model can reason over information and decide what it wants to do, but it does not inherently possess access to the enterprise’s transactional systems. It needs tools. Those tools need authentication. Authentication needs identity. The actions need authorization. The information needs trustworthy business context. The execution needs observability. And the resulting system needs governance.This is why enterprise agent architecture increasingly resembles distributed systems architecture rather than conventional chatbot architecture.The model is one component within a larger system.SAP’s architecture places the SAP Business AI Platform at the center of this environment. The platform combines capabilities for building AI applications and agents, grounding them in business context and data, and governing their lifecycle. SAP describes these three areas as Build, Contextualize and Reason, and Govern.That separation is significant because it recognizes that intelligence alone is not enough. An enterprise agent that produces an impressive response but operates on stale data, has excessive permissions, or cannot be audited is not necessarily a useful production system.Joule as an orchestration layerAt the user-facing level, SAP’s architecture centers on Joule.It is tempting to think of Joule simply as SAP’s conversational AI interface, but the architecture described by SAP goes beyond that interpretation. Joule Work is positioned as a workspace in which users express goals and AI coordinates the work necessary to accomplish them across SAP and non-SAP systems.This creates a useful separation between intent and implementation.A user should not necessarily need to know which application contains the required information, which API needs to be called, or which sequence of operations has to occur. They express what they want to accomplish, while the orchestration layer determines how that objective can be fulfilled.Behind Joule Work are Joule Assistants and Joule Agents. Assistants coordinate AI capabilities around roles and business processes, while agents perform more specific multi-step tasks. The architecture also describes the Joule Orchestrator, or agent harness, as the reasoning and orchestration engine responsible for routing requests to agents and loading the tools and skills necessary to execute them.The distinction matters because orchestration is itself becoming a systems problem.Suppose an employee asks, “Find the delayed orders that could affect our most important customers and prepare the information I need for the account team.”There is no single function called find_delayed_orders_and_prepare_customer_brief.The system may need to discover the relevant data, reason about dependencies, invoke several capabilities, and combine their results. Some operations may be sequential, while others could potentially happen in parallel. Some may require human approval before the workflow continues.The orchestrator therefore becomes the mechanism that turns a high-level intent into an executable process.This is fundamentally different from asking a model to generate a paragraph.Building agents is becoming its own development disciplineOnce agents become part of enterprise software, developers need a structured way to build them.SAP’s answer is Joule Studio, an AI-native development environment for creating custom agents, applications and workflows. The reference architecture describes two development paths: a low-code flow using a browser-based visual builder and a pro-code flow using an IDE, the Joule Studio CLI, and a coding agent connected through MCP.Both approaches follow the same broader methodology: intent, requirements, specification, code generation, testing, and deployment.The emphasis on intent is interesting because it changes where development begins.Traditional software development often starts with an implementation question: Which APIs do we need? What database tables are involved? Which service should own the logic?An intent-oriented process starts one level higher: What outcome are we trying to achieve, and what should the system be capable of doing?That does not eliminate traditional engineering. An agent still needs reliable tools, security boundaries, testing, deployment mechanisms, and runtime infrastructure. Instead, it adds another layer of abstraction in which the desired behavior becomes part of the development process.For enterprise AI, that abstraction can be particularly useful because business processes are often more stable and meaningful than the individual technical operations used to implement them.The enterprise does not have one agentOne of the most important architectural assumptions in SAP’s approach is that organizations will not necessarily build every agent in the same place.A company may have an agent created in Joule Studio, another developed internally using a specialized framework, another supplied by a partner, and another running on an external AI platform. Some may interact with SAP systems while others operate primarily on non-SAP systems.This makes interoperability more than a convenience.It becomes an architectural requirement.SAP’s reference architecture explicitly supports a Bring Your Own Agent model. Developers can build pro-code agents using the SAP Cloud SDK for AI, with Python or TypeScript and frameworks including LangGraph, AG2, CrewAI, Smolagents, Google ADK and Pydantic AI. These agents can run in a customer-managed BTP environment and connect with Joule through the A2A protocol.The implication is that SAP’s AI ecosystem is not necessarily a closed collection of proprietary agents. It is designed to accommodate agents built using different frameworks and runtimes.That leads directly to two standards that appear throughout the architecture: A2A and MCP.A2A and MCP solve different problemsThe easiest way to understand the distinction is to think about the direction of communication.A2A, or Agent2Agent, is concerned with communication between agents.MCP, or Model Context Protocol, is concerned with connecting AI systems to tools and capabilities.Consider an agent responsible for investigating a supply-chain disruption. It might need to delegate a financial analysis to another agent while simultaneously calling tools that retrieve inventory or order information.The first interaction is agent-to-agent collaboration.The second is agent-to-tool interaction.A standardized protocol for each makes it possible to construct larger systems without requiring every component to understand every other component’s proprietary interface.SAP’s architecture describes A2A as the preferred mechanism for multi-agent collaboration and MCP for semantic tool connectivity. Third-party AI platforms can consume Joule Agents through the Agent Gateway using A2A, while external MCP clients can access SAP business capabilities through the MCP Gateway in SAP Integration Suite.This is an important architectural direction.The future enterprise AI stack is unlikely to consist of one model, one agent framework, and one vendor. It will more likely resemble the rest of enterprise infrastructure: heterogeneous systems connected through standards.Interoperability therefore becomes a prerequisite for composability.The Agent Gateway is where architecture meets realityOpen protocols solve the problem of communication, but communication alone does not make an enterprise integration secure.An agent needs to discover another capability, authenticate, establish whether it is permitted to call that capability, and potentially propagate the identity and context of the user on whose behalf it is acting.This is where the Agent Gateway becomes important.In SAP’s architecture, the Agent Gateway serves as a central integration layer responsible for the discovery and execution of agentic resources. It also handles authentication, principal propagation, policy enforcement, and tenancy.This is similar to a principle found throughout distributed systems: the component that provides connectivity should not necessarily leave every individual application responsible for implementing security and policy independently.Without such a layer, each agent could end up carrying its own authentication logic, authorization model, routing rules, and integration mechanisms. At small scale that may be manageable. At enterprise scale it quickly becomes difficult to govern.Centralized infrastructure does not eliminate complexity, but it gives organizations a place to enforce common rules.That becomes especially important as the number of agents grows.Identity becomes more complicated when software starts actingThere is a subtle architectural problem that becomes unavoidable once agents can perform actions:Whose authority does an agent have?In traditional enterprise software, the answer is usually straightforward. A human user authenticates, the system determines their permissions, and the application performs actions within that user’s authorization context.Agents introduce another actor into the system.An agent might operate on behalf of a person, inheriting some portion of that person’s context. Or it might operate autonomously with its own technical identity.SAP’s reference architecture describes both models. In the user-context model, an agent acts within a user’s context but is subject to agent-specific permission constraints. In the autonomous model, the agent operates with a dedicated technical identity, tokens, and an audit trail. The effective permission is the intersection of user and agent permissions and is enforced through the Agent Gateway.This distinction will become increasingly important as enterprises move from informational AI to operational AI.Asking an AI system to summarize an invoice is one thing.Allowing it to approve the invoice is another.The technical capability may be similar-a tool call followed by a response-but the security implications are radically different.The architecture therefore has to treat agents as actors rather than simply treating them as another type of application.Governance becomes infrastructureThere is another consequence of having potentially large numbers of agents: organizations need to know what they have.An enterprise may eventually have agents created by different teams, partners, business units and platforms. Some will access sensitive data. Some will invoke external tools. Some will operate autonomously. Others will require human approval.At that scale, agent discovery and governance become infrastructure problems.SAP’s architecture includes SAP LeanIX AI Agent Hub, described as a vendor-agnostic command center for discovering and governing AI agents, LLMs and MCP servers across the enterprise. It maintains a structured registry of AI assets and provides capabilities around evaluation, verification, identity and access control, and observability.This is an important reminder that an agent is not simply source code deployed somewhere.It is an enterprise asset.Organizations need to understand who owns it, what it can access, which models it uses, what tools it can invoke, and whether those dependencies are approved.The same principle applies to MCP servers. If an MCP server exposes an operation that can affect a business system, the organization needs to know that the server exists and whether it is trusted.In the reference architecture, only verified MCP servers are permitted to be called in production.This is the sort of operational detail that rarely appears in demonstrations of agentic AI but becomes critical in production.Observability changes when behavior is probabilisticTraditional software observability often focuses on metrics such as latency, throughput, errors and resource utilization.Agents introduce another dimension: behavior.A conventional service might execute a predictable sequence of operations. An agent may choose different tools depending on what it observes. It may make different decisions for superficially similar requests. A failure might therefore be caused not by infrastructure being unavailable, but by the agent choosing an inappropriate action.SAP’s architecture includes agent behavior monitoring and mining through SAP Signavio, covering behavioral tracing, process conformance analysis, performance benchmarking and business impact measurement.That suggests an important evolution in observability.For agentic systems, it may not be enough to ask:Did the request succeed?We may also need to ask:What did the agent do?Why did it take that path?Which tools did it call?Did the resulting behavior conform to the intended business process?Did the action actually improve the business outcome?The last question is particularly important.A technically successful agent execution can still be a business failure.The role of BTPThe architecture also separates SAP-managed capabilities from customer-managed workloads.The customer’s own SAP Business Technology Platform environment can host self-managed agents and integrations. These can connect to the SAP Business AI Platform using A2A and MCP.This separation gives organizations flexibility over where components run.Managed runtimes can simplify operational concerns, while customer-managed environments provide more direct control over application code and deployment.That tradeoff is familiar from cloud architecture.The more infrastructure a platform manages for you, the less operational work your team needs to perform, but the less direct control you may have over the runtime. Conversely, running your own components gives you greater control but also makes your organization responsible for more of the system.Agentic architectures inherit the same tradeoffs.The important difference is that the unit being deployed is no longer simply an application service. It may be a system capable of making decisions and invoking other capabilities.The architecture extends beyond SAPPerhaps the most consequential part of the architecture is that it does not stop at the SAP boundary.The reference architecture describes external AI platforms and clients-including Google Cloud, Microsoft Azure, AWS, IBM Cloud and others-participating through open standards. External agents can consume Joule Agents, while Joule can orchestrate external A2A-compliant agents. External MCP clients can also connect to SAP business capabilities through the MCP Gateway in SAP Integration Suite.This reflects a broader reality of enterprise technology.SAP systems are rarely the only systems an organization operates.A large company might have SAP managing core business processes while customer engagement happens elsewhere, analytics runs on another platform, infrastructure spans multiple clouds, and specialized AI applications are developed internally.An AI architecture that assumes everything lives inside one platform would therefore be difficult to apply to real enterprises.Interoperability allows the AI layer to cross those boundaries.The goal is not necessarily to replace every existing system. It is to allow agents to coordinate work across them.What changes when agents become part of the enterprise architecture?The deeper lesson from this architecture is that agentic AI is not primarily a model-selection problem.The model matters, but it is only one part of the system.The harder engineering questions appear around the model.Where does the agent get its context?Which tools can it use?How does it discover those tools?Which other agents can it communicate with?How does it authenticate?What identity does it operate under?Which actions require approval?How is its behavior observed?How is it evaluated?Who governs it?Where does it run?How does it integrate with systems that were never designed for AI agents?These questions are remarkably similar to questions that infrastructure engineers have been solving for decades: service discovery, authentication, authorization, distributed communication, observability, policy enforcement, lifecycle management and interoperability.The difference is that an agent introduces a probabilistic decision-making component into the middle of those systems.That makes the architecture more complicated, but it also makes it more interesting.A new layer over enterprise softwareIf we step back from the individual products and protocols, SAP’s architecture can be understood as an attempt to create a new layer over enterprise software.The underlying business applications still exist. Databases still exist. APIs still exist. Identity systems still exist. Business processes still exist.What changes is how people interact with those systems.Instead of navigating through every application manually, a user can express an outcome. The AI layer can interpret that intent, reason about the required work, coordinate specialized agents, invoke the necessary tools, and return an outcome.The architecture provides the connective tissue required to make that possible.Joule provides the interaction and orchestration experience. Agents provide specialized capabilities. A2A enables agent-to-agent collaboration. MCP connects agents to tools. BTP provides an environment for customer-managed development and integrations. The Agent Gateway provides a controlled integration layer. Identity establishes who or what is acting. Governance and observability provide the mechanisms required to operate the resulting ecosystem responsibly.The most interesting part is that none of these components is sufficient by itself.An excellent model without access to business context is limited.An agent with powerful tools but excessive permissions is dangerous.A collection of agents without interoperability becomes another collection of silos.An open agent ecosystem without governance becomes difficult to operate.And an enterprise AI platform without integration into actual business processes risks becoming another interface rather than a transformation of how work gets done.The architecture therefore matters precisely because it treats these concerns as parts of the same system.The larger engineering problemWe are still early in the transition from AI that generates information to AI that participates in processes.Much of the public discussion around AI naturally focuses on model capabilities: reasoning, context windows, benchmarks, multimodality and coding performance. Those capabilities are important, but enterprise deployment introduces a different constraint.An enterprise does not merely need an intelligent model.It needs an intelligent system that can operate within the boundaries of an organization.That system must understand the organization’s processes, work with its data, interact with its software, respect its security model, and remain observable and governable as it operates.That is why the architecture surrounding an agent may ultimately matter as much as the model powering it.SAP’s agentic AI reference architecture is interesting to me for precisely this reason. It provides a view of what happens when AI is treated not as a feature attached to enterprise software, but as another participant in the enterprise’s software architecture.I’m still working through these systems myself, and that is what I want to explore in this series: not just what the individual SAP AI components are, but how they fit together when you start thinking about AI as infrastructure for doing business.This is the beginning of that exploration.Originally published at https://x.com on September 3, 2026.Beyond the Chatbot: Understanding SAP’s Architecture for Agentic AI was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.