How to run AI agents on SAP S/4HANA and enterprise systems: a decoupled intelligence layer

Short answer

Do not put the agents inside SAP. Put a governed intelligence layer above SAP S/4HANA, CRM and ITSM: agents reason and orchestrate in that layer and reach the enterprise systems only through governed tools (Model Context Protocol) with role-based access, policy controls, human approval for consequential actions and a full audit trail. SAP and the other enterprise systems keep their data, rules and controls. This is the architecture Sebastian Thomas led as Chief Information & AI Officer (CAIO) of DETASAD in Saudi Arabia, where AI agents work across SAP S/4HANA, Microsoft Dynamics 365 and ServiceNow in production.

The decoupled intelligence layer, from the enterprise systems up
LayerWhat it doesAt DETASAD
Enterprise systemsHold the transactional data and run the transactionsSAP S/4HANA (finance, sales, procurement, projects, HR), Microsoft Dynamics 365, ServiceNow
Governed toolsEvery read or write an agent makes is a permissioned, logged tool callModel Context Protocol (MCP) tools with role-based access, policy controls and session context
ContextGives agents the facts they need, limited to what the user may seeA data lakehouse plus enterprise retrieval (RAG) over SharePoint, OneDrive and Teams, with access-control sync and PII safeguards
Reasoning and orchestrationPlans, routes and coordinates agents and modelsHybrid, model-agnostic routing: frontier models for reasoning-heavy work, open-weight models on in-house GPUs for high-volume and data-sovereign work
GovernanceKeeps autonomy under human controlHuman-in-the-loop approval, safe deployment, rollback and a full audit trail

Why decouple intelligence from the transactional systems

Enterprise systems are built to be correct, not to reason. When intelligence, reasoning and orchestration are decoupled from them, the same agents can work across SAP, CRM and ITSM at once, the model behind them can change without touching the ERP, and every action still carries the permissions and audit trail of the system it touches.

  • Enterprise systems keep their integrity: AI works above SAP, CRM and ITSM, never as a shadow copy of them.
  • Governance lives in the "can", not the "should": what an agent may do is set by architecture, not by its prompt.
  • Route intent, not prompts: the right request, to the right model, with the right context and permissions, into the right system.
  • The model can change; the enterprise control plane does not.

What the agents do in practice

Some agents answer, some draft, some act, and some prepare actions for human approval. At DETASAD this covers natural-language access for the CEO and leadership team to SAP S/4HANA, Dynamics 365, ServiceNow and Teams conversations; recruitment orchestration; proposal generation with verified knowledge retrieval and pricing; bid go/no-go assessment; workforce and field-force productivity; and an enterprise growth assistant that improves itself under human governance.

Frequently asked questions

Do the AI agents write to SAP directly?
No. Agents reach SAP S/4HANA and the other enterprise systems only through governed tools with role-based access, policy controls and an audit trail, and consequential actions are prepared for human approval.
Which AI models run the agents?
A hybrid, model-agnostic mix: frontier models for reasoning-heavy executive workflows, and open-weight models on in-house GPU infrastructure for high-volume, cost-sensitive and data-sovereign work.
How is this different from an AI assistant built into one product?
A product's own assistant works inside that product. A decoupled intelligence layer works across SAP, CRM and ITSM with one set of permissions, one audit trail and one place to change models.
Who designed this approach?
Sebastian Thomas, Chief Information & AI Officer (CAIO) of DETASAD in Saudi Arabia, who led the development of its governed enterprise AI ecosystem.

Related