skillfed

ai-api-client-sdk

[DEPRECATED] AI API Client SDK

ai-api-client-sdk v2.6.1 181.2K downloads/30d#10,133 on PyPI
License unclear SAP DEVELOPER LICENSE AGREEMENT AGING released

What it is and what it does

This is a Python client library for SAP's AI API, allowing developers to programmatically query and manage AI Core resources—scenarios, executables, and configurations—through Python objects and method calls rather than raw HTTP requests. It abstracts authentication and API communication, letting you work with AI Core using familiar Python patterns.

The package is now deprecated and no longer maintained; SAP explicitly directs users to sap-ai-sdk-base instead. It depends on three lightweight libraries (aenum, pyhumps, requests) and supports Python 3.9 through 3.12. While it carries no known security vulnerabilities, its aging status and explicit deprecation mean it should be treated as end-of-life for new projects.

Use it for:

  • Query available AI scenarios and executables in an SAP AI Core environment from Python scripts.
  • Create and manage training configurations by binding parameters to executables programmatically.
  • Inspect executable metadata (parameters, types) to dynamically build deployment pipelines.
  • Integrate SAP AI Core operations into Python-based MLOps or orchestration workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python methods and data structures to access SAP's AI API, enabling queries and management of scenarios, executables, and configurations in AI Core environments.

No. The package is explicitly deprecated and no longer maintained. SAP directs all users to migrate to sap-ai-sdk-base. While it has low install friction and no known vulnerabilities, starting a new project with a deprecated package introduces technical debt and abandonment risk. Use sap-ai-sdk-base for new work; only install this if maintaining legacy code that cannot yet migrate.

Install

ai-api-client-sdk on PyPI

pip

pip install ai-api-client-sdk

uv

uv add ai-api-client-sdk

poetry

poetry add ai-api-client-sdk

Installing ai-api-client-sdk

Before you install

Low install friction with three lightweight runtime dependencies. However, the package is marked as aging (457 days since last release) and explicitly deprecated in favor of sap-ai-sdk-base, signaling that active maintenance has ended.

License in practice

Licensed under SAP DEVELOPER LICENSE AGREEMENT (non-SPDX, proprietary). The unclear license treatment means you should review SAP's terms directly before using this in commercial or redistributed contexts.

Quickstart

pip install ai-api-client-sdk

from ai_api_client_sdk.ai_api_v2_client import AIAPIV2Client

client = AIAPIV2Client(
    base_url=AI_API_URL,
    auth_url=AUTH_URL,
    client_id=CLIENT_ID,
    client_secret=CLIENT_SECRET,
    resource_group=RESOURCE_GROUP
)
scenarios = client.scenario.query()

Requires Python >=3.9 and valid SAP AI Core credentials (base_url, auth_url, client_id, client_secret, resource_group).

Verify before relying

  • Whether sap-ai-sdk-base is a drop-in replacement or requires code changes for existing deployments.
  • Current state of SAP's maintenance and support timeline for this deprecated package.
  • Whether the proprietary SAP license permits use in open-source or commercial projects without additional agreement.

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 3 — aenum, pyhumps, requests
Maintenance aging — 457 days since the last release
First released
Downloads 181,248/month — #10,133 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ai_api_client_sdk-2.6.1-py3-none-any.whl

Keywords: SAP, AI, Core

Development Status :: 7 - InactiveIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Tags

SAP AI API clientSAP AI Core SDKAI API Python clientSAP scenario managementAI executable query
deprecatedsap-ecosystemai-core

More Python Modules packages