AgentShield
How it works
All use cases Snowflake Cortex security Gemini Enterprise security Bedrock AgentCore security Azure AI Foundry security OpenRouter security AI gateway LLM security RAG security MCP server security Coding agents Customer service agents AI agent governance AI compliance Government Financial services Enterprise agents AI firewall Agentic AI security AI agent monitoring AI-SPM Agent hardening Tools compared Agent access control Agent identity AI data leak prevention Human in the loop Agent sandboxing AI penetration testing AI agent guardrails Healthcare Legal Insurance Multi-agent security Zero trust for agents Threat modeling AI runtime security MCP gateway LangChain security Claude agent security OpenAI agent security OpenClaw security Hugging Face security Cursor AI security n8n security Copilot Studio security LiteLLM security Gemini CLI security GitHub Copilot security Microsoft 365 Copilot security Kiro security Codex security Microsoft Agent 365 security OpenAI Agent Builder security Microsoft Agent Framework security Google ADK security Flowise security NeMo Agent Toolkit security Zendesk AI agents security ChatGPT workspace agents security Amazon Quick Suite security Oracle AI Agent Studio security Pydantic AI security Mastra AI security Dify AI security Notion Custom Agents security Zapier MCP security Gemini Enterprise Agent Platform security OpenAI Agents API security Claude Managed Agents security Copilot Cowork security ServiceNow AI agents security watsonx Orchestrate security SAP Joule security Security
Pricing Blog FAQ Contact Sign in

SAP Joule Security and Governance for Joule Agents and Joule Studio Custom Agents

SAP now ships more than 200 Joule agents that read and act across S/4HANA, SuccessFactors, Ariba and Concur, and Joule Studio lets your own developers build custom agents with MCP, A2A, LangChain or embedded n8n. SAP's security model is identity first: an agent works within the requesting user's identity and the agent's permitted scope. This page answers what that model stops before an action runs, and what you still have to decide yourself.

OWASP LLM Top 10 Immutable audit trail Never trains on your data

Direct answer

SAP Joule security rests on identity. Joule agents run within the requesting user's identity and the agent's permitted scope through SAP Cloud Identity Services, and SAP keeps customer data out of foundation model training. That stops an agent from reaching data the user cannot reach. It does not decide whether a specific purchase order, vendor change or payment the agent proposes should happen, so custom agents that write to business systems still need argument rules and a second approver.

Try it live

Watch AgentShield block an attack in real time.

Pick a scenario and drive the inspection lane yourself. No signup needed.

Threat Console
Interactive demo · 0 blocked in this session

Run a request

Runs the live engine on your text. Nothing is stored, no account needed.

Inspection lane

INSPECTING
⌖ untrusted input

Policy trace

High-risk action held for approval

Audit trail

The risk

A US distributor gives its AP clerks a custom Joule Studio agent that reads supplier emails and updates vendor bank details through an MCP tool. The clerks are allowed to change bank details, so the agent is too. One supplier email carries an instruction to update the remit-to account before the next payment run. Every identity check passes, because the clerk could have made that change. Nobody else sees it until the payment lands in the wrong account.

How AgentShield handles it

Keep SAP's controls for what they do well: Cloud Identity Services for who the agent acts as, role-based authorizations in the backend, and Generative AI Hub filtering and masking for what goes into and out of the model. Put AgentShield in front of the MCP servers and external tools that your custom Joule Studio agents and connected third-party agents call. Each call is checked against rules on the tool and its arguments, risky calls such as bank detail changes or payments above a threshold wait for a named approver, and every decision lands in an audit trail outside the SAP tenant.

Procurement controller reviewing printed purchase orders at a plant office desk with the factory floor behind

The controls

The controls that secure which Joule agent and Joule Studio tool calls run, under whose identity, and who approves the risky ones.

What Joule agents do and which SAP control covers each action

Joule is SAP's AI copilot and agent layer across its cloud applications. SAP-delivered Joule agents handle tasks like dispute resolution, cash collection and procurement steps inside SAP systems. Joule Studio adds a skill builder, an agent builder, and pro-code development in VS Code or Cursor with LangChain, Pydantic AI, LlamaIndex and embedded n8n. Agents connect to SAP and non-SAP systems through MCP and the Agent-to-Agent (A2A) protocol.

The useful way to read SAP's security model is by the moment each control acts. Most of them act on who is asking or on the text going to the model. Fewer act on the business action itself.

What the agent doesSAP control that appliesWhen it actsWhat it does not decide
Receives a request from a userSAP Cloud Identity Services, the user's identity and the agent's permitted scopeBefore the agent startsWhether this particular request is a sensible one for the user to make
Sends text to a modelGenerative AI Hub content filtering (Azure Content Safety, Llama Guard) and data maskingBefore and after the model call, where the developer configured itHostile instructions that read as normal business text
Reads or changes data in an SAP backendBackend authorizations of the user the agent acts forAt the backend callWhich values are acceptable inside an action the user is allowed to take
Calls a non-SAP tool or MCP server from a custom agentThe destination's credentials, the MCP server's own auth, MCP Gateway in Integration Suite where you deploy itAt connection and per requestPer-argument rules and a second approver for risky calls
Hands work to or from a third-party agentA2A with Cloud Identity Services App2App trust and named user contextAt the agent boundaryWhat the other agent does with the result once it has it

Read the right-hand column as scope, not as a list of SAP failures. Identity and backend authorizations are the correct foundation, and SAP built them well. The open question sits at the moment an agent proposes a specific write with specific values.

What SAP shipped for Joule agents and Joule Studio in 2026

If your last security review of Joule was in 2025, most of what follows is new. Dates come from SAP's own news pages.

DateWhat SAP announcedWhy it matters for security
November 2025Joule Studio agent builder, general availability set for December, with A2A support. MCP support for SAP HANA CloudYour own teams can now build agents that act, not just answer
May 12, 2026 (Sapphire)SAP Business AI Platform, Joule Assistants coordinating over 200 specialized agents, two-way agent interoperability with external frameworks, Claude among the foundation modelsAgents from Microsoft and Google ecosystems can exchange work with Joule
May 13, 2026New Joule Studio with a managed runtime, NVIDIA OpenShell sandboxing each agent with configurable policies, pro-code support and embedded n8nRuntime isolation per agent. Isolation limits where an agent runs, not which business actions it takes
October 7, 2026 (SAP Connect)Joule Work rolling out to all customers, more than 200 Joule agents live, a target of 400+ by year endAgent count is growing faster than most review processes

At SAP Connect, SAP described the governance it wants every agent to have: "every agent should have a verified owner, a risk tier, and scoped access rights", along with "human-in-the-loop approval, human-on-the-loop monitoring, and human-in-command override authority." That is the right list. For SAP-delivered agents inside SAP applications, SAP provides much of it. For custom agents calling tools outside SAP, the approval and the risk tier are yours to build.

SAP's own architecture guidance also says policy enforcement for agent tool and MCP calls is planned for the second half of 2026, and that some A2A components are not yet generally available. Check the current status with your SAP account team before you assume a control exists in your tenant.

Joule agents act with the user's permissions, and that is both the strength and the gap

SAP's reference architecture says each Joule interaction is "governed by the user's identity and the agent's permitted scope." For the Microsoft 365 Copilot path, SAP's documentation says a request is processed in the scope of that user's identity and permissions, with the same permission checks as using Joule directly. Agents also get their own identities in the Identity Directory.

This is the correct default, and it closes the worst class of agent failure: an agent with a service account that can see everything. A Joule agent cannot read payroll the user cannot read.

What it cannot do is tell a legitimate action from a manipulated one when both are inside the user's authority. Permission checks answer "may this user change vendor bank details?" They do not answer "should this change, to this account, triggered by this email, happen now?" That second question is where prompt injection does its damage, because the attacker does not need new permissions. They borrow the ones your user already has.

Agent actionIdentity check resultThe question still open
Update a supplier's remit-to bank accountAllowed, the AP clerk has the roleDid the change come from a verified request or from text inside an inbound email?
Release a purchase order for 480,000 USDAllowed, the buyer's release limit covers itShould an agent-proposed release that size wait for a second person?
Change an employee's direct deposit in an HR systemAllowed for an HR partnerWas the request authenticated by the employee, or summarized from a ticket?
Export a customer list to an outside address through a connected toolAllowed if the tool's credential permits itIs the destination one your data policy approves?

Each row is a case where SAP did its job and the risk is still open. That is the reason to add an action-level gate, and only on the handful of actions where it matters. Our human approval for AI agents page explains how to choose those actions without drowning reviewers.

Generative AI Hub filters screen text, not ERP actions

Custom agents built on SAP AI Core usually run model calls through the Generative AI Hub orchestration service. It offers useful controls, and they are worth turning on.

  • Content filtering with Azure Content Safety (hate, sexual, violence and self-harm thresholds, plus a prompt shield flag) or Llama Guard 3.
  • Data masking through SAP Data Privacy Integration, with anonymization that removes sensitive values and pseudonymization that lets you restore them afterward.
  • Grounding on your own documents, which keeps answers tied to approved content.

Two limits are worth knowing. The filters are configured per orchestration call, so a developer who skips them gets none. And content categories like hate or violence say nothing about a polite, well-formed instruction to change a bank account. A prompt shield helps with obvious jailbreak patterns. It is not built to know that remit-to changes from inbound email should never run without a callback.

Use the filters for what they are designed for, and put a separate rule on the tool call itself. Our prompt injection protection page shows how instructions hidden in documents and emails are caught before they turn into actions.

Securing custom Joule Studio agents, MCP tools and third-party agents

The highest-risk Joule surface for most US enterprises is not SAP's own agents. It is the custom agents your teams build in Joule Studio, and the outside agents you connect, because those call tools SAP does not govern.

SurfaceHow it connectsWhat SAP securesWhat you still own
Joule Studio pro-code agentsLangChain, Pydantic AI, LlamaIndex or embedded n8n, deployed to the managed runtimeRuntime isolation and identity for the agentWhich tools the code exposes and what values it passes to them
MCP servers outside SAPMCP from the agent to your CRM, ticketing, payment or file systemsNothing at the call level unless you route through a gatewayTool scope, credentials, argument rules, approval
MCP Gateway in SAP Integration SuiteCustomer-managed gateway with OIDC auth, rate limiting and payload protectionAuthentication, throttling and payload checksBusiness rules on arguments and a named second approver
Bring your own agent over A2AJoule acts as an A2A client with App2App trust, text messages only todayThe trust relationship and named user contextThe outside agent's own tool calls and credentials

The practical design is simple. Keep identity in SAP Cloud Identity Services. Route every MCP call from a custom agent that can write, pay or grant access through one enforcement point that holds the real credentials. Write rules on the arguments that matter, such as amount, payee, destination domain and record type. Hold anything that matches for a named approver, and keep the record somewhere the agent cannot edit. Our MCP gateway page shows where that point sits in front of a server.

If the same MCP servers are also used by agents on other platforms, one policy point beats one rule set per platform. We cover the same pattern for watsonx Orchestrate security and ServiceNow AI agents security.

SAP Joule pricing and where the security pieces sit

SAP's AI pricing page, read on October 14, 2026, says Base AI is included in every SAP cloud subscription at no extra cost and needs no AI Units. Joule agents are priced on AI Units per action, and all SAP-delivered agents in 2026 are priced at 0.02 AI Units per agent action. AI Units are bought annually and expire after 12 months. Running custom-built agents in a productive Joule Studio runtime is free through the end of 2026, after which it is billed on consumption through the BTP Enterprise Agreement.

SAP does not publish a dollar price per AI Unit, so the number on your order form is a negotiation. The security budget lines that sit outside it are usually an identity review of agent scopes, Generative AI Hub filtering on custom agents, and an action gate for the custom agents that write outside SAP. We break the numbers down in our SAP Joule pricing and AI Units guide.

SAP Joule security checklist for US enterprise teams

  1. Inventory agents and owners. List every SAP-delivered agent you enabled and every custom Joule Studio agent, each with a named owner and a risk tier, as SAP itself recommends.
  2. Review the roles behind agent users. An agent inherits the user's authority, so broad roles become broad agents. Fix role sprawl before you scale agents.
  3. Turn on filtering and masking for custom agents. Configure Generative AI Hub content filtering and data masking on every orchestration call, not just the first one.
  4. List the write tools. For each custom agent, list the MCP tools and APIs that change records, move money, send data out or grant access.
  5. Gate those tools on arguments. Rules on amount, payee, destination and record type, with a named approver for matches. Read-only calls run without delay.
  6. Keep credentials out of the agent. The enforcement point holds the real token. The agent never sees it.
  7. Record decisions outside the tenant. Who approved what, with which values, and what the agent did next, retained on your schedule for SOX and internal audit.
  8. Check data handling settings. Decide on Joule memory and the 365-day conversation log option deliberately, and keep regulated personal data out of prompts, as SAP's own guidance asks.

When to buy nothing, use SAP controls, or add AgentShield

Your situationRecommendationWhy
You use Joule to answer questions and draft, with no custom agentsBuy nothing. Review roles and data settingsIdentity and SAP's own controls cover read and draft use
You only run SAP-delivered agents inside SAP applicationsUse SAP controls and your existing approval workflowsThe actions stay inside SAP authorizations and SAP workflow
You need an inventory of agents and ownersStart with SAP's agent catalog and your identity directoryInventory comes before policy
Custom agents only call SAP APIs through standard rolesTighten roles and use SAP workflow approvalsThe backend already enforces the rule set you need
Custom Joule Studio agents call MCP tools that pay, change vendors or grant access outside SAPAdd AgentShield as the gateway behind those toolsArgument rules, a named second approver and evidence outside the tenant
Joule, Copilot and other platform agents share the same MCP serversAdd AgentShield as one policy point for those serversOne rule set and one audit trail instead of one per platform

Four of six rows end without a purchase from us. If you run custom agents in financial processes, our financial services AI agents page covers the SOX evidence side, and the tool permissions page shows how argument rules are written.

FAQ

Common questions about sap joule security.

Is SAP Joule secure?

SAP Joule has a strong identity foundation. Agents act within the requesting user's identity and the agent's permitted scope through SAP Cloud Identity Services, backend authorizations still apply, and SAP keeps customer data out of foundation model training. The remaining risk is actions a user is allowed to take but should not take on a manipulated request, which custom agents need argument rules and approvals for.

Does SAP Joule use my data to train models?

SAP says it keeps customer data from being used to train foundation models. SAP's Joule documentation also says submitted data may be analyzed for Joule's continuous improvement after anonymization, and that conversation history is kept for 7 days by default. Read both statements together when you answer a vendor risk questionnaire.

Do Joule agents act with the user's permissions?

Yes. SAP describes each Joule interaction as governed by the user's identity and the agent's permitted scope, and requests through Microsoft 365 Copilot are checked with the same permissions as using Joule directly. An agent cannot reach data the user cannot reach, but it can take any action the user is allowed to take.

What is SAP Joule governance?

It is the set of controls that decide which Joule agents exist, who owns them, what they may access and how their actions are reviewed. SAP recommends a verified owner, a risk tier and scoped access rights for every agent, plus human approval, monitoring and override authority. Identity and roles come from SAP, while approval rules for custom agent tool calls are yours.

How much does SAP Joule cost?

Base AI is included in every SAP cloud subscription with no AI Units required. Joule agents consume AI Units per action, and SAP-delivered agents in 2026 are priced at 0.02 AI Units per action. AI Units are bought annually and expire after 12 months. SAP does not publish a dollar price per AI Unit, so the final cost depends on your contract.

Can Joule connect to Microsoft Copilot and other AI agents?

Yes. Joule works as a custom engine agent in Microsoft 365 Copilot, and SAP supports the Agent-to-Agent protocol so Joule can call outside agents using Cloud Identity Services App2App trust. SAP's architecture notes that some A2A components are not yet generally available, so confirm what is live in your tenant before relying on it.

Does Joule Studio support MCP?

Yes. SAP says Joule Studio uses MCP and A2A to connect agents across SAP and non-SAP landscapes, and SAP Integration Suite includes a customer-managed MCP Gateway with OIDC authentication, rate limiting and payload protection. Rules on the business values a tool call carries, and who approves it, are still your design decision.

Does AgentShield work with SAP Joule?

Yes, for tools that custom Joule Studio agents and connected agents call through MCP or APIs outside SAP. Point those calls at an AgentShield gateway endpoint that holds the real credential. Each call is checked against tool and argument rules, risky calls wait for a named approver, and every decision is recorded outside the SAP tenant. SAP-internal actions stay with SAP controls.

More use cases

Secure your sap joule security.