Google ADK callback handlers for Sigil Python SDK
Project description
Sigil Python Framework Module: Google ADK
sigil-sdk-google-adk provides callback handlers that map Google ADK invocation/session events into Sigil generation recorder lifecycles.
Installation
pip install sigil-sdk sigil-sdk-google-adk
pip install google-adk
Quickstart
from sigil_sdk import Client
from sigil_sdk_google_adk import with_sigil_google_adk_plugins
client = Client()
runner_config = with_sigil_google_adk_plugins(None, client=client, provider_resolver="auto")
# Runner(..., **runner_config)
Callback-field wiring
from sigil_sdk import Client
from sigil_sdk_google_adk import with_sigil_google_adk_callbacks
client = Client()
agent_config = with_sigil_google_adk_callbacks(None, client=client, provider_resolver="auto")
# LlmAgent(..., **agent_config)
Conversation mapping
Primary mapping is ADK session identity:
conversation_id/session_id/group_idthread_id- fallback
sigil:framework:google-adk:<run_id>
Metadata and lineage
- Required:
sigil.framework.run_type - Optional:
sigil.framework.run_id,sigil.framework.parent_run_id,sigil.framework.thread_id,sigil.framework.event_id,sigil.framework.component_name,sigil.framework.retry_attempt
Provider resolver
Resolver order: explicit provider option -> callback payload -> model prefix inference -> custom.
Troubleshooting
- Provide stable ADK
session_idto avoid fragmented conversations. - If model aliases are custom, set explicit
provideron the handler. - Always call
client.shutdown()during teardown.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sigil_sdk_google_adk-0.1.2.tar.gz.
File metadata
- Download URL: sigil_sdk_google_adk-0.1.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a28d950562d65ed0ffe7c21a040506654e516fd1bc0368ad2a5bd38ac63b589f
|
|
| MD5 |
c45f77befda42b7ddd3b41705fc17915
|
|
| BLAKE2b-256 |
7628ba3d6fbcdac5a7f516d4aba28bef73b8abf482f4ae86902a13544fbe648c
|
Provenance
The following attestation bundles were made for sigil_sdk_google_adk-0.1.2.tar.gz:
Publisher:
python-sdks-publish.yml on grafana/sigil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigil_sdk_google_adk-0.1.2.tar.gz -
Subject digest:
a28d950562d65ed0ffe7c21a040506654e516fd1bc0368ad2a5bd38ac63b589f - Sigstore transparency entry: 1172371617
- Sigstore integration time:
-
Permalink:
grafana/sigil@e2aeb6ca1666db8ce76776d321aa9445bf442da6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/grafana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdks-publish.yml@e2aeb6ca1666db8ce76776d321aa9445bf442da6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file sigil_sdk_google_adk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sigil_sdk_google_adk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a2131782f52e138df4e7168c0db21ed6b2b22dff300d4acfceef69a9a38e3e5
|
|
| MD5 |
4dbc97fb665204b7d166147b8fafb4f3
|
|
| BLAKE2b-256 |
18c2cc5b465365dc4d98fb7ea5f8a8e17d2e5b04f7845fd2d9faac9a5b8a9de8
|
Provenance
The following attestation bundles were made for sigil_sdk_google_adk-0.1.2-py3-none-any.whl:
Publisher:
python-sdks-publish.yml on grafana/sigil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigil_sdk_google_adk-0.1.2-py3-none-any.whl -
Subject digest:
7a2131782f52e138df4e7168c0db21ed6b2b22dff300d4acfceef69a9a38e3e5 - Sigstore transparency entry: 1172371664
- Sigstore integration time:
-
Permalink:
grafana/sigil@e2aeb6ca1666db8ce76776d321aa9445bf442da6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/grafana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdks-publish.yml@e2aeb6ca1666db8ce76776d321aa9445bf442da6 -
Trigger Event:
workflow_dispatch
-
Statement type: