generative-ai-hub-sdk
[DEPRECATED] generative AI hub SDK
What it is and what it does
This is a deprecated SDK that wraps generative AI model providers (OpenAI, Amazon, Google) to offer unified Python access through SAP AI Core. It supports direct provider SDKs, LangChain integration, or orchestration via SAP's service. The package depends on pydantic, click, ai-core-sdk, dacite, packaging, openai, httpx, and overloading to manage its multi-provider abstraction.
The package is no longer maintained and SAP explicitly recommends switching to sap-ai-sdk-gen. While it still installs cleanly and has received no known security vulnerabilities, its age (457 days since last release) and inactive status mean it will not receive bug fixes, security patches, or updates to support new model capabilities or API changes from its wrapped providers.
Use it for:
- Access OpenAI, Amazon, or Google generative models through a single Python interface integrated with SAP AI Core.
- Build LangChain applications that leverage SAP AI Core's model orchestration and provider abstraction.
- Migrate legacy code that uses this SDK—though new projects should adopt sap-ai-sdk-gen instead.
- Prototype generative AI workflows within SAP environments before committing to a maintained SDK.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python access to generative AI models through SAP AI Core, wrapping native SDKs from OpenAI, Amazon, and Google, with optional LangChain integration.
No. This package is explicitly deprecated and no longer maintained. SAP directs users to sap-ai-sdk-gen as the replacement. While it installs without friction and has no known vulnerabilities, the lack of maintenance means it will not receive updates for API changes, new models, or security issues. Install only if you are maintaining legacy code that already depends on it; do not use for new projects.
Install
generative-ai-hub-sdk on PyPI
pip
pip install generative-ai-hub-sdkuv
uv add generative-ai-hub-sdkpoetry
poetry add generative-ai-hub-sdkInstalling generative-ai-hub-sdk
Before you install
Low install friction with a pure-Python wheel, but the package is deprecated and no longer maintained—457 days have passed since the last release. SAP recommends migrating to sap-ai-sdk-gen instead.
License in practice
Licensed under SAP DEVELOPER LICENSE AGREEMENT (non-standard, proprietary). The license treatment is unclear; review SAP's terms before use in commercial or redistributed contexts.
Quickstart
pip install generative-ai-hub-sdk
from generative_ai_hub_sdk import Client
# Requires SAP AI Core credentials and configuration
# See https://help.sap.com/doc/generative-ai-hub-sdk/CLOUD/en-US/index.html
Requires SAP AI Core credentials and configuration; refer to official SAP documentation for setup details.
Verify before relying
- Whether the deprecated status and lack of maintenance will affect long-term compatibility with SAP AI Core or model provider APIs.
- Specific migration path and feature parity between this package and the recommended sap-ai-sdk-gen replacement.
- Whether the unclear proprietary license permits use in open-source or commercial projects without additional agreements.
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 | 8 — pydantic, overloading, click, ai-core-sdk, dacite, packaging, openai, httpx |
| Maintenance | aging — 457 days since the last release |
| First released | |
| Downloads | 131,200/month — #11,601 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: generative_ai_hub_sdk-4.12.4-py3-none-any.whl
Keywords: SAP generative AI hub SDK, SAP AI Core API, 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-genAccess generative AI models from SAP AI Core…
unclear · top 15,000 on PyPI
ai-core-sdkProvides Python methods to manage scenarios,…
unclear · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
sap-ai-sdk-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
google-generativeaiProvides a Python client library for calling…
permissive · top 5,000 on PyPI
langchain-google-vertexaiConnects LangChain applications to Google…
permissive · top 1,000 on PyPI
oci-openaiProvides OpenAI-compatible Python clients for…
unclear · top 15,000 on PyPI
sap-cloud-sdkProvides a unified Python SDK for interacting…
permissive · top 15,000 on PyPI
sap-ai-sdk-coreProvides Python client access to SAP AI Core…
unclear · top 15,000 on PyPI
openrouterA Python SDK for accessing 400+ AI models…
permissive · top 5,000 on PyPI