feat(extensibility): add extensibility module#102
Merged
Conversation
telemetry and ORD support Co-authored-by: Max Heidinger <max.heidinger@sap.com> Co-authored-by: Udit Marolia <udit.marolia@sap.com> Co-authored-by: Gregor Hollmig <gregor.hollmig@sap.com> Co-authored-by: Sophia Abiezzi <sophia.abiezzi@sap.com> Co-authored-by: Rishi Kunnath <rishi.kunnath@sap.com> Co-authored-by: Lucas Vianna <lucas.vianna@sap.com> Co-authored-by: Gabriel Silva <gabriel.silva02@sap.com> Co-authored-by: Arup Sengupta <arup.sengupta@sap.com>
tiagoek
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add the extensibility module to the SAP Cloud SDK for Python. This module enables SAP AI agents to be extended at runtime with third-party tools (delivered via MCP servers) and custom instructions. It communicates with UMS via GraphQL to retrieve the active extension's contribution, and provides helpers to declare extensible capabilities in the agent's A2A card for discovery.
Key capabilities:
get_extension_capability_implementation()andcall_hook()operationsType of Change
How to Test
Unit tests — run all extensibility and telemetry extension tests:
uv run pytest tests/extensibility/ tests/core/unit/telemetry/test_extensions.py -m "not integration" -qLocal mode — set
CLOUD_SDK_LOCAL_EXTENSIBILITY_FILEto a JSON file path (seelocal_extensibility_example.jsonfor the schema) and verify the client loads extensions from disk:Full test suite — confirm no regressions across the entire SDK:
uv run pytest tests/ -m "not integration" -qChecklist
user-guide.md) in the module directoryAdditional Notes
a2a-sdkpackage is an optional dependency — install withpip install sap-cloud-sdk[extensibility]. The module raises a clearImportErrorat import time if the extra is missing.extensions.py) are re-exported fromsap_cloud_sdk.core.telemetryfor convenient access and provide extension context propagation via OpenTelemetry baggage.