Skip to main content

atlas-pca-google-adk

Google ADK guard for Proof-Carrying Authority (PCA): make every Google ADK tool call proof-carrying and policy-gated. A tool only runs when the agent carries a valid, in-plan, resource-correct proof for exactly that action. The adapter delegates all verification to atlas-pca and reimplements no cryptography.

Status: 0.4.0, unaudited.

What is tested

The default test suite runs without the framework, against the shared conformance proofs. A second suite, make test-real (needs the framework installed), runs against the real framework and is pinned to Google ADK 2.11.0. It covers a real LlmAgent run through a real Runner with a scripted offline model: proofs in session state, FunctionTool wrapping, before_tool_callback allow/deny (tampered proof, wrong audience), and the denied-tool path. Each denial test checks that the tool body never ran, and checks the refusal reason wherever the framework surfaces it.

Not covered: other framework versions (only the pinned one is exercised), live model providers (the models are scripted and offline), and any property of the underlying atlas-pca verifier beyond what it already documents. This package has not been independently audited.

Install

pip install atlas-pca-google-adk

This installs atlas-pca>=0.4.0,<0.5 as a dependency.

Use

Entry points: pca_tool / pca_before_tool_callback.

from atlas_pca_google_adk import pca_tool

See the module docstrings in atlas_pca_google_adk for the full API, and the PCA specification for the model. The verifier applies the full check order, including grant_ref_bound (the signed grant_ref must equal the root capability id), as of atlas-pca 0.2.0.

License: MIT

Metadata

Release files for atlas-pca-google-adk 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atlas-pca-google-adk 0.4.0
File Size Uploaded
atlas_pca_google_adk-0.4.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atlas-pca-google-adk 0.4.0
File Interpreter ABI Platform
atlas_pca_google_adk-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / atlas_pca_google_adk-0.4.0.tar.gz

Download URL atlas_pca_google_adk-0.4.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
18c2e2644e4206a61e0ad1f106074a0ac6f5d19c47c3e8772b76508dc925e55b
BLAKE2b-256 checksum
How to use checksums
19a8602f8bcbd425e46158a1c3f71c74cee7dafbf1a21fb832d3ac94d0c62fa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / atlas_pca_google_adk-0.4.0-py3-none-any.whl

Download URL atlas_pca_google_adk-0.4.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6f629eec1d70887b602537f712519eb5a2a97d800a1c4ba6dac8573c8c79e97
BLAKE2b-256 checksum
How to use checksums
d355fa5e2588e8175b93bdcd822cc3c63ff65222a2b3ee370fda8b11f1cfdd4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.4.1

2 release files

This release

0.4.0 This release

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page