sap-ai-sdk-base
SAP Cloud SDK for AI (Python): Base Client
Decision gist · record as of 2026-08-14
Yes, if you are developing against SAP's AI API and need a Python client abstraction. The package has low install friction, active maintenance, and broad Python version support. However, verify that PYSEC-2023-315 does not affect your use case, and review the proprietary license terms carefully before committing to it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires valid SAP AI API credentials (base_url, auth_url, client_id, client_secret, resource_group) to instantiate and authenticate the client.
- Low install friction with three lightweight runtime dependencies (aenum, pyhumps, requests).
- Marked as active maintenance with a recent release 137 days ago.
License · maintenance · safety
SAP DEVELOPER LICENSE AGREEMENT (unclear) — Licensed under SAP DEVELOPER LICENSE AGREEMENT with unclear treatment. Review the license terms directly before use, particularly if integrating into proprietary or open-source projects, as the non-standard license may impose restrictions.
last release 2026-03-30 (137 days)
1 known vulnerabilities (OSV.dev, 2026-08-14) · 192,758 downloads/mo, #9,858 on PyPI
Alternatives
Verify before relying
pip install sap-ai-sdk-base
from sap_ai_sdk_base 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()- Whether PYSEC-2023-315 affects version 3.4.0 or has been patched.
- Whether the Base SDK is sufficient for your use case or if runtime-specific SDKs are also needed.
- Exact import paths and available client classes beyond what the description excerpt shows.
What it is and what it does
sap-ai-sdk-base is a Python client for SAP's AI API that abstracts HTTP communication into Python objects and methods. It lets you query AI scenarios, find executables, inspect their parameters, and create configurations without writing raw REST calls. The SDK is runtime-agnostic, working with any AI API implementation but excluding runtime-specific features like secret management.
The package depends on three lightweight libraries: requests for HTTP communication, pyhumps for JSON field name conversion, and aenum for enumeration support. It targets Python 3.9 through 3.14 and is marked production-stable. The license is proprietary and non-standard, so review its terms before adopting it.
Use it for
- Query available AI scenarios and executables in your SAP AI environment to discover deployable models.
- Inspect executable parameters and their types to understand configuration requirements before deployment.
- Create and manage AI configurations by binding parameters to executables programmatically.
- Build Python applications that integrate with SAP AI implementations without writing HTTP client code.
- Automate AI model lifecycle tasks in CI/CD pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing against SAP's AI API and need a Python client abstraction.
The package has low install friction, active maintenance, and broad Python version support. However, verify that PYSEC-2023-315 does not affect your use case, and review the proprietary license terms carefully before committing to it in production.
Install
sap-ai-sdk-base on PyPI
Before you install
Low install friction with three lightweight runtime dependencies (aenum, pyhumps, requests). Marked as active maintenance with a recent release 137 days ago. Supports Python 3.9 through 3.14.
Requires valid SAP AI API credentials (base_url, auth_url, client_id, client_secret, resource_group) to instantiate and authenticate the client.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT with unclear treatment. Review the license terms directly before use, particularly if integrating into proprietary or open-source projects, as the non-standard license may impose restrictions.
Quickstart
pip install sap-ai-sdk-base
from sap_ai_sdk_base 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()
Verify before relying
- Whether PYSEC-2023-315 affects version 3.4.0 or has been patched.
- Whether the Base SDK is sufficient for your use case or if runtime-specific SDKs are also needed.
- Exact import paths and available client classes beyond what the description excerpt shows.
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 packagesaenumpyhumpsrequests |
| Maintenance | Actively maintained 137 days since the last release |
| First released | |
| Downloads | 192,758 / month, #9,858 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | 1 PYSEC-2023-315 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating 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 |
Evidence: sap_ai_sdk_base-3.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “AI API Python SDK”
- sap-ai-sdk-baseA Python client library for accessing SAP's AI API, providing methods…
- reka-apiProvides a Python client library for accessing the Reka API, with…
- google-generativeaiProvides a Python client library for calling Google's Gemini…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ai-api-client-sdk · sap-ai-sdk-core · ai-core-sdk · sap-ai-sdk-gen · generative-ai-hub-sdk · hana-ml · sap-cloud-sdk · google-nest-sdm · salesforce-cdp-connector · azure-mgmt-hanaonazure