sap-ai-sdk-gen
SAP Cloud SDK for AI (Python): generative AI SDK
Decision gist · record as of 2026-08-14
Yes, if you are building on SAP AI Core infrastructure and need Python access to generative models. The SDK is actively maintained, has low install friction, and supports current Python versions. The proprietary license requires verification of terms for your use case. No known security vulnerabilities as of the fact sheet date.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires SAP AI Core credentials and configuration; see help.sap.com documentation for setup details.
- Low friction installation with a pure-Python wheel.
- Actively maintained with a recent release.
License · maintenance · safety
SAP DEVELOPER LICENSE AGREEMENT (unclear) — Licensed under SAP DEVELOPER LICENSE AGREEMENT (proprietary, not SPDX-identified). Verify terms directly with SAP before use in production or distribution.
last release 2026-07-23 (22 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 430,863 downloads/mo, #6,724 on PyPI
Alternatives
Verify before relying
pip install sap-ai-sdk-gen
# or with all model provider support:
pip install "sap-ai-sdk-gen[all]"
from sap_ai_sdk_gen import GenerativeAIHub
# Configure via SAP AI Core credentials and call model methods- Exact scope of model providers and orchestration service capabilities beyond OpenAI, Amazon, Google.
- Whether LangChain integration is automatic or requires additional configuration steps.
- Support for streaming, batch processing, or other advanced generative patterns.
- Rate limits, quota management, or cost tracking features within the SDK.
What it is and what it does
This is SAP's official Python SDK for accessing generative AI models hosted in SAP AI Core. It abstracts away the complexity of connecting to multiple model providers—OpenAI, Amazon, and Google—by offering a single interface, with optional LangChain integration for seamless embedding into larger AI workflows. The SDK wraps native provider SDKs and an orchestration service, so you can switch between models or providers without rewriting your application code.
The package is designed for developers building generative AI applications on SAP infrastructure. It handles authentication, request routing, and response parsing. Installation is flexible: a minimal install includes OpenAI support by default, while extras like `[all]` or `[google, amazon]` add provider-specific dependencies. Configuration and usage details are documented on help.sap.com.
Use it for
- Build chatbots or question-answering systems that route requests to SAP-hosted generative models.
- Integrate multiple LLM providers into a single application without provider-specific code.
- Use LangChain agents and chains with SAP AI Core models as the underlying inference engine.
- Prototype generative AI features on SAP infrastructure before deploying to production.
- Orchestrate complex AI workflows that combine multiple model providers through SAP's service.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on SAP AI Core infrastructure and need Python access to generative models.
The SDK is actively maintained, has low install friction, and supports current Python versions. The proprietary license requires verification of terms for your use case. No known security vulnerabilities as of the fact sheet date.
Install
sap-ai-sdk-gen on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained with a recent release. Supports current Python versions (3.9–3.14).
Requires SAP AI Core credentials and configuration; see help.sap.com documentation for setup details.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT (proprietary, not SPDX-identified). Verify terms directly with SAP before use in production or distribution.
Quickstart
pip install sap-ai-sdk-gen
# or with all model provider support:
pip install "sap-ai-sdk-gen[all]"
from sap_ai_sdk_gen import GenerativeAIHub
# Configure via SAP AI Core credentials and call model methods
Verify before relying
- Exact scope of model providers and orchestration service capabilities beyond OpenAI, Amazon, Google.
- Whether LangChain integration is automatic or requires additional configuration steps.
- Support for streaming, batch processing, or other advanced generative patterns.
- Rate limits, quota management, or cost tracking features within the 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 | 16 packagesh11langchain-communitypandasclicklangchainsetuptoolshttpxdacitepydanticsap-ai-sdk-corepackagingoverloadinglangchain-classiclangchain-openaiopenailangcodes |
| Maintenance | Actively maintained 22 days since the last release |
| First released | |
| Downloads | 430,863 / month, #6,724 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: Windows :: Windows 10Operating System :: Microsoft :: Windows :: Windows 7Operating System :: Microsoft :: Windows :: Windows 8Operating System :: Microsoft :: Windows :: Windows 8.1Operating System :: Microsoft :: Windows :: Windows Server 2008Operating 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_gen-7.2.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 › “SAP AI Core generative models”
- sap-ai-sdk-genAccess generative AI models from SAP AI Core through a unified Python…
- generative-ai-hub-sdkProvides Python access to generative AI models through SAP AI Core,…
- sap-ai-sdk-coreProvides Python client access to SAP AI Core APIs for managing…
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 generative-ai-hub-sdk · sap-ai-sdk-base · sap-cloud-sdk · langchain-google-vertexai · ai-api-client-sdk · hana-ml · ai-core-sdk · oci-openai · sap-ai-sdk-core · openrouter