--- id: sap-ai-sdk-gen version: "7.2.0" license: SAP DEVELOPER LICENSE AGREEMENT license_treatment: unclear maintenance: active --- # sap-ai-sdk-gen — SAP Cloud SDK for AI (Python): generative AI SDK License: unclear · Maintenance: active · Downloads: 430.9K/mo ## 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 above — 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 pip install sap-ai-sdk-gen uv add sap-ai-sdk-gen 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_current - Install friction: low - Maintenance: active - Downloads: 430.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags SAP AI Core generative models, LLM access SAP cloud, OpenAI Amazon Google unified SDK, generative AI hub Python, SAP generative AI integration, sap-integration, llm-orchestration, multi-provider [View on SkillFed](https://skillfed.io/packages/sap-ai-sdk-gen) · [View on PyPI](https://pypi.org/project/sap-ai-sdk-gen/)