--- id: sap-ai-sdk-core version: "3.3.0" license: SAP DEVELOPER LICENSE AGREEMENT license_treatment: unclear maintenance: active --- # sap-ai-sdk-core — SAP Cloud SDK for AI (Python): Core SDK License: unclear · Maintenance: active · Downloads: 194.6K/mo ## 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 above — 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 pip install sap-ai-sdk-core uv add sap-ai-sdk-core 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_current - Install friction: low - Maintenance: active - Downloads: 194.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags SAP AI Core client SDK, machine learning pipeline execution, model deployment management, ML workflow orchestration, SAP cloud AI integration, metrics tracking SDK, batch inference jobs, sap-integration, ml-orchestration, cloud-sdk [View on SkillFed](https://skillfed.io/packages/sap-ai-sdk-core) · [View on PyPI](https://pypi.org/project/sap-ai-sdk-core/)