How can you entrust a company’s logic and memory to an external model without losing sovereignty, security and trade secrets? In his analysis of SAP AI Core, Maxime Chatelain describes an orchestration infrastructure in which the model acts as an executor within a parameterised framework, and where sensitive data never passes through the LLM in clear text.
Isolated workspaces
SAP AI Core is based on a multi-tenant model. Shared resources are defined at account level; execution takes place in isolated Resource Groups. Deployments, configurations and secrets are confined there: a configuration created in one group cannot be invoked by another. What is generated for finance does not contaminate human resources.
The orchestration contract
The orchestration API frames each call with a configuration that the author breaks down into five modules.
| Module | What it defines |
|---|---|
| Model (LLM) | The chosen model and its parameters: temperature, number of tokens |
| Templating | The prompt structure, with variables defined before data is injected |
| Grounding | Grounding in company data through RAG, using the SAP HANA vector engine |
| Filtering and masking | Blocking non-compliant content and pseudonymising personal data |
| Prompt Registry | Prompt versioning and lifecycle management |
A symmetrical seven-step pipeline
- Translation of the request into the model’s pivot language.
- Masking of personal data.
- Input filtering, to block malicious injections.
- Execution by the LLM.
- Output filtering.
- Unmasking of pseudonymised entities.
- Translation of the response into the user’s language.
One limitation is acknowledged: SAP does not sanitise user inputs, so as not to corrupt business logic. Protection against application vulnerabilities such as XSS remains the responsibility of the architect consuming the API.
A combination with Zcube memory
Axis-Lobster positions its Zcube as a complement: it handles long-term memory and orchestration, and decides when to call on SAP AI Core, which provides secure execution, HANA grounding and access to models. Since then, SAP has added a batch API and an inference observability service to AI Core.
Key takeaway. Choose the engine, structure the input, supply the context, secure the data, version everything: engineering takes back control of the tool.
SAP Business AI capabilities: SAP AI Core, generative AI hub orchestration service, grounding on SAP HANA Cloud, masking, content filtering, Prompt Registry.

