skillfed

sap-ai-sdk-gen

SAP Cloud SDK for AI (Python): generative AI SDK

sap-ai-sdk-gen v7.2.0 430.9K downloads/30d#6,724 on PyPI
License unclear SAP DEVELOPER LICENSE AGREEMENT Active released

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

Access generative AI models from SAP AI Core through a unified Python SDK that wraps OpenAI, Amazon, and Google model providers via LangChain or direct orchestration.

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

pip

pip install sap-ai-sdk-gen

uv

uv add sap-ai-sdk-gen

poetry

poetry add sap-ai-sdk-gen

Installing sap-ai-sdk-gen

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).

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

Requires SAP AI Core credentials and configuration; see help.sap.com documentation for setup details.

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 — h11, langchain-community, pandas, click, langchain, setuptools, httpx, dacite, pydantic, sap-ai-sdk-core, packaging, overloading, langchain-classic, langchain-openai, openai, langcodes
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)

Evidence: sap_ai_sdk_gen-7.2.0-py3-none-any.whl

Keywords: SAP AI Core, SAP generative AI SDK, SAP Generative AI Hub

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

Tags

SAP AI Core generative modelsLLM access SAP cloudOpenAI Amazon Google unified SDKgenerative AI hub PythonSAP generative AI integration
sap-integrationllm-orchestrationmulti-provider

More Python Modules packages