algovoi-keystone-adk
Carry an AlgoVoi keystone decision into a Google ADK run. The decision's content-addressed
execution_ref is stamped into the ADK session state under algovoi.keystone.* (never inside an
ADK reserved field), so anyone reading the run's events recomputes it offline with only JCS
(RFC 8785) and SHA-256 and confirms the action is consistent with the decision that authorized it.
from algovoi_keystone_adk import keystone_before_agent_callback, verify_trace_execution_ref
agent = LlmAgent(
...,
before_agent_callback=keystone_before_agent_callback(
decision_ref="sha256:2a444c62...", action_type="payment", scope="bilateral",
outcome="COMMITTED", executed_at_ms=1716460800000,
),
)
# after a run, the keystone metadata is in the session state:
verify_trace_execution_ref(session.state) # True iff execution_ref recomputes
keystone_state_update(...) returns the dict if you prefer to merge it into a State /
tool_context.state yourself. The callback only touches callback_context.state, so there is no
version coupling. Apache-2.0.
Metadata
Release files for algovoi-keystone-adk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| algovoi_keystone_adk-0.1.0.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| algovoi_keystone_adk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / algovoi_keystone_adk-0.1.0.tar.gz
| Download URL | algovoi_keystone_adk-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d4bd27e34e24186460dce2382722d06adfd71172c98d55ce7c4017f731aa5f8
|
|
BLAKE2b-256 checksum How to use checksums |
e5b2ea224cb6e593388b912afede4c23e7264add6410dffb240642bfd54e5c74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / algovoi_keystone_adk-0.1.0-py3-none-any.whl
| Download URL | algovoi_keystone_adk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22b2e8473249a11646342aecbe62fd0e839e6902ec98660d2d03bb74184a1fd4
|
|
BLAKE2b-256 checksum How to use checksums |
5d96acd4572b4cd9d3cdd2c7ae3cf5ab75da1df77c0371879a29d2e18eb2f934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for algovoi-keystone-adk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.