skillfed

sap-ai-sdk-core

SAP Cloud SDK for AI (Python): Core SDK

sap-ai-sdk-core v3.3.0 194.6K downloads/30d#9,826 on PyPI
License unclear SAP DEVELOPER LICENSE AGREEMENT Active released

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-core

uv

uv add sap-ai-sdk-core

poetry

poetry add sap-ai-sdk-core

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Tags

SAP AI Core client SDKmachine learning pipeline executionmodel deployment managementML workflow orchestrationSAP cloud AI integrationmetrics tracking SDKbatch inference jobs
sap-integrationml-orchestrationcloud-sdk

More Python Modules packages