Skip to content

About

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for SAP AI Core, SAP Generative AI Hub, and Orchestration Service.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

REUSE status Ask DeepWiki

SAP Cloud SDK for AI (Python)

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for SAP AI Core, SAP Generative AI Hub, and Orchestration Service.

This repository contains three packages, formerly known as the AI API Client SDK (sap-ai-sdk-base), AI Core SDK (sap-ai-sdk-core), and Generative AI Hub SDK (sap-ai-sdk-gen).

Installation

Install the SDK with support for all model providers:

pip install "sap-ai-sdk-gen[all]"

Install the default package (OpenAI support):

pip install sap-ai-sdk-gen

Install selected extras:

pip install "sap-ai-sdk-gen[google,amazon]"

Development

This project uses uv for dependency management and provides a Makefile for common tasks.

Setup

Install all packages and extras:

make install

Code Quality

make format          # auto-format code with Ruff
make format-check    # check formatting without modifying files
make lint            # run Pylint (errors only) across all packages
make license-check   # list third-party license information

Testing

Run unit tests for all packages:

make test

Run integration tests for all packages:

make test-integration

Run tests for a single package (base, core, or gen):

make test-pkg pkg=core
make test-pkg-integration pkg=core

Sample Code Server

Start the local sample-code server (requires a sample-code/.env file):

make sample-code-server

Documentation

For user-facing documentation, see the AI SDK docs.

To generate API reference docs locally:

make docs

Support, Feedback, Contributing

This project is open to feature requests, suggestions, and bug reports via GitHub issues.

Contribution and feedback are welcome. For contribution details, see CONTRIBUTING.md.

Security / Disclosure

If you find a potential security issue, please follow the process in Security Policy.

Please do not create public GitHub issues for security-related reports.

Code of Conduct

By participating in this project, you agree to abide by the Code of Conduct.

Licensing

Copyright 2026 SAP SE or an SAP affiliate company and ai-sdk-python contributors.

See LICENSE for license information. Detailed third-party licensing information is available via the REUSE tool.

About

SAP Cloud SDK for AI is the official Software Development Kit (SDK) for SAP AI Core, SAP Generative AI Hub, and Orchestration Service.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages