ai-core-sdk
[DEPRECATED] SAP AI Core SDK
What it is and what it does
The SAP AI Core SDK is a Python client library for interacting with SAP AI Core, a cloud-based machine learning platform. It provides programmatic access to lifecycle and administration APIs, allowing you to execute training and inference pipelines as batch jobs, deploy trained models as web services, manage resource groups and object stores, and log metrics during workflow execution. The SDK is designed for use in development environments like Jupyter notebooks and supports configuration via code, environment variables, or profile files.
This package is no longer maintained and has been superseded by sap-ai-sdk-core. The last version (2.6.2) retains support for AICore Content Packages, a capability that will be removed in the successor package. It depends on ai-api-client-sdk for API communication and click for command-line utilities. New projects should use sap-ai-sdk-core instead.
Use it for:
- Execute batch training jobs to preprocess data or train machine learning models on SAP AI Core infrastructure.
- Deploy a trained model as a web service endpoint for serving inference requests with high performance.
- Register and manage custom Docker registries, Git repositories, and object stores for training data and model artifacts.
- Log and track metrics during workflow execution in both local development and production environments.
- Manage resource groups and credentials for multi-tenant or multi-account SAP AI Core deployments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python methods to manage scenarios, workflows, and resources in SAP AI Core, including pipeline execution, model deployment, and metric logging.
No. This package is deprecated and no longer maintained. The publisher explicitly directs users to sap-ai-sdk-core as the replacement. Unless you are maintaining legacy code that cannot be migrated, install sap-ai-sdk-core instead. If you must use this version, be aware that security updates and bug fixes are unlikely.
Install
ai-core-sdk on PyPI
pip
pip install ai-core-sdkuv
uv add ai-core-sdkpoetry
poetry add ai-core-sdkInstalling ai-core-sdk
Before you install
Low install friction with only two runtime dependencies. However, the package is marked as aging (457 days since last release) and explicitly deprecated in favor of sap-ai-sdk-core, signaling that active maintenance has ended.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT with unclear SPDX classification. Review the license terms directly before use in commercial or redistributed contexts.
Quickstart
from ai_core_sdk.ai_core_v2_client import AICoreV2Client
client = AICoreV2Client(
base_url=AI_API_BASE,
auth_url=AUTH_URL,
client_id=CLIENT_ID,
client_secret=CLIENT_SECRET,
resource_group=resource_group_id
)
scenarios = client.scenario.query()
Requires SAP AI Core tenant credentials (base URL, auth URL, client ID, client secret) from a Service Key.
Verify before relying
- Whether sap-ai-sdk-core is a drop-in replacement or requires code migration for existing deployments.
- Current support status and security patch timeline for version 2.6.2.
- Whether AICore Content Packages functionality is still usable or deprecated alongside the main SDK.
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 — ai-api-client-sdk, click |
| Maintenance | aging — 457 days since the last release |
| First released | |
| Downloads | 180,077/month — #10,154 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ai_core_sdk-2.6.2-py3-none-any.whl
Keywords: SAP AI Core SDK, SAP AI Core API, SAP AI Core
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
sap-ai-sdk-coreProvides Python client access to SAP AI Core…
unclear · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
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
generative-ai-hub-sdkProvides Python access to generative AI models…
unclear · top 15,000 on PyPI
sap-ai-sdk-genAccess generative AI models from SAP AI Core…
unclear · top 15,000 on PyPI
matricePython SDK for building machine learning…
permissive · top 5,000 on PyPI
azureml-pipeline-coreProvides core pipeline infrastructure for Azure…
unclear · top 15,000 on PyPI
metaflowMetaflow is a framework for building,…
permissive · top 5,000 on PyPI
azure-mgmt-hanaonazureProvides a Python client library to manage SAP…
unclear · top 5,000 on PyPI