ai-api-client-sdk
[DEPRECATED] AI API Client SDK
What it is and what it does
This is a Python client library for SAP's AI API, allowing developers to programmatically query and manage AI Core resources—scenarios, executables, and configurations—through Python objects and method calls rather than raw HTTP requests. It abstracts authentication and API communication, letting you work with AI Core using familiar Python patterns.
The package is now deprecated and no longer maintained; SAP explicitly directs users to sap-ai-sdk-base instead. It depends on three lightweight libraries (aenum, pyhumps, requests) and supports Python 3.9 through 3.12. While it carries no known security vulnerabilities, its aging status and explicit deprecation mean it should be treated as end-of-life for new projects.
Use it for:
- Query available AI scenarios and executables in an SAP AI Core environment from Python scripts.
- Create and manage training configurations by binding parameters to executables programmatically.
- Inspect executable metadata (parameters, types) to dynamically build deployment pipelines.
- Integrate SAP AI Core operations into Python-based MLOps or orchestration workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python methods and data structures to access SAP's AI API, enabling queries and management of scenarios, executables, and configurations in AI Core environments.
No. The package is explicitly deprecated and no longer maintained. SAP directs all users to migrate to sap-ai-sdk-base. While it has low install friction and no known vulnerabilities, starting a new project with a deprecated package introduces technical debt and abandonment risk. Use sap-ai-sdk-base for new work; only install this if maintaining legacy code that cannot yet migrate.
Install
ai-api-client-sdk on PyPI
pip
pip install ai-api-client-sdkuv
uv add ai-api-client-sdkpoetry
poetry add ai-api-client-sdkInstalling ai-api-client-sdk
Before you install
Low install friction with three lightweight runtime dependencies. However, the package is marked as aging (457 days since last release) and explicitly deprecated in favor of sap-ai-sdk-base, signaling that active maintenance has ended.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT (non-SPDX, proprietary). The unclear license treatment means you should review SAP's terms directly before using this in commercial or redistributed contexts.
Quickstart
pip install ai-api-client-sdk
from ai_api_client_sdk.ai_api_v2_client import AIAPIV2Client
client = AIAPIV2Client(
base_url=AI_API_URL,
auth_url=AUTH_URL,
client_id=CLIENT_ID,
client_secret=CLIENT_SECRET,
resource_group=RESOURCE_GROUP
)
scenarios = client.scenario.query()
Requires Python >=3.9 and valid SAP AI Core credentials (base_url, auth_url, client_id, client_secret, resource_group).
Verify before relying
- Whether sap-ai-sdk-base is a drop-in replacement or requires code changes for existing deployments.
- Current state of SAP's maintenance and support timeline for this deprecated package.
- Whether the proprietary SAP license permits use in open-source or commercial projects without additional agreement.
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 | 3 — aenum, pyhumps, requests |
| Maintenance | aging — 457 days since the last release |
| First released | |
| Downloads | 181,248/month — #10,133 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ai_api_client_sdk-2.6.1-py3-none-any.whl
Keywords: 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-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
ai-core-sdkProvides Python methods to manage scenarios,…
unclear · top 15,000 on PyPI
sap-ai-sdk-coreProvides Python client access to 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
sap-ai-sdk-genAccess generative AI models from SAP AI Core…
unclear · top 15,000 on PyPI
hana-mlConnects Python to SAP HANA to build machine…
unclear · top 15,000 on PyPI
looker-sdkProvides a Python client library for…
permissive · top 5,000 on PyPI
sap-cloud-sdkProvides a unified Python SDK for interacting…
permissive · top 15,000 on PyPI
pyodatapyodata is a Python client library that…
permissive · top 15,000 on PyPI
azure-kusto-dataQuery and interact with Microsoft Azure Kusto…
permissive · top 5,000 on PyPI