skillfed

ai-core-sdk

[DEPRECATED] SAP AI Core SDK

ai-core-sdk v2.6.2 180.1K downloads/30d#10,154 on PyPI
License unclear SAP DEVELOPER LICENSE AGREEMENT AGING released

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

uv

uv add ai-core-sdk

poetry

poetry add ai-core-sdk

Installing 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

Development Status :: 7 - InactiveIntended 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.9Topic :: Software Development :: Libraries :: Python Modules

Tags

SAP AI Core Python SDKmachine learning pipeline managementmodel deployment and inferenceAI workflow orchestrationSAP cloud AI integrationbatch job executionresource group management
deprecatedsap-integrationmlops

More Python Modules packages