sap-ai-sdk-core
SAP Cloud SDK for AI (Python): Core SDK
What it is and what it does
This is the official Python SDK for SAP AI Core, a managed service for training and deploying machine learning models on SAP's cloud infrastructure. It provides a client library to interact with SAP AI Core's public APIs, enabling you to execute batch pipelines for model training or inference, deploy trained models as web services, manage resource groups and object stores, and log metrics during workflow execution.
The SDK depends on sap-ai-sdk-base and click, and supports Python 3.9 through 3.14 across Linux, macOS, and Windows. It was recently rebranded but maintains backward compatibility with existing code. Credentials are managed via keyword arguments, environment variables, or a profile configuration file, allowing flexible deployment across local development and production environments.
Use it for:
- Execute batch training pipelines on SAP AI Core to preprocess data or train models without managing infrastructure.
- Deploy a trained machine learning model as a managed web service to handle inference requests at scale.
- Register and manage external Docker registries, Git repositories, and object stores for training data and model artifacts.
- Log and track training metrics consistently across local and production workflow executions.
- Manage resource groups and object store secrets to organize and secure ML workloads across multiple SAP subaccounts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python client access to SAP AI Core APIs for managing machine learning workflows, including pipeline execution, model deployment, resource configuration, and metrics tracking.
Yes, if you are working with SAP AI Core. The SDK is actively maintained, has low install friction, and provides the official API access needed to orchestrate ML workflows on SAP's platform. However, verify that the proprietary SAP DEVELOPER LICENSE AGREEMENT terms are acceptable for your use case, and confirm you have valid SAP AI Core credentials before adoption.
Install
sap-ai-sdk-core on PyPI
pip
pip install sap-ai-sdk-coreuv
uv add sap-ai-sdk-corepoetry
poetry add sap-ai-sdk-coreInstalling sap-ai-sdk-core
Before you install
Low install friction with only 2 runtime dependencies. Actively maintained with a recent release 137 days ago. Supports current Python versions (3.9 through 3.14).
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT (proprietary, not SPDX-identified). Verify terms align with your use case before adopting in production or commercial contexts.
Quickstart
pip install sap-ai-sdk-core
from sap_ai_sdk_core import AICoreV2Client
client = AICoreV2Client(
base_url="https://your-ai-core-url",
auth_url="https://your-auth-url",
client_id="your-client-id",
client_secret="your-client-secret",
resource_group="your-resource-group"
)
Requires SAP AI Core tenant credentials (base URL, auth URL, client ID, client secret) from your SAP subaccount Service Key.
Verify before relying
- Whether the proprietary SAP DEVELOPER LICENSE AGREEMENT permits redistribution or use in open-source projects.
- Whether metrics persistence in local environments is now available (description notes it was not available at time of writing).
- Support status and SLA for the rebranded package versus the former AI Core SDK.
- Exact module and class names available in the public API surface.
Package facts
| License | SAP DEVELOPER LICENSE AGREEMENT (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — sap-ai-sdk-base, click |
| Maintenance | actively maintained — 137 days since the last release |
| First released | |
| Downloads | 194,620/month — #9,826 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sap_ai_sdk_core-3.3.0-py3-none-any.whl
Keywords: SAP AI Core, SAP AI Core API
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
ai-core-sdkProvides Python methods to manage scenarios,…
unclear · top 15,000 on PyPI
sap-cloud-sdkProvides a unified Python SDK for interacting…
permissive · top 15,000 on PyPI
sap-ai-sdk-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
hana-mlConnects Python to SAP HANA to build machine…
unclear · top 15,000 on PyPI
azure-ai-mlProvides a Python client library for…
permissive · top 5,000 on PyPI
sap-ai-sdk-genAccess generative AI models from SAP AI Core…
unclear · top 15,000 on PyPI
generative-ai-hub-sdkProvides Python access to generative AI models…
unclear · top 15,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
azureml-pipelineBuilds, optimizes, and manages machine learning…
unclear · top 15,000 on PyPI