atlas-pca-agent-framework
Microsoft Agent Framework guard for Proof-Carrying Authority (PCA): make every Agent Framework 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.3.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 Microsoft Agent Framework 1.21.0 (agent-framework-core). It covers a real Agent with a scripted offline chat client and the framework's function-invocation layer: pca_tool and pca_function_middleware allow with a valid proof and refuse a missing, tampered, wrong-audience or insufficient-capability one without running the tool. 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-agent-framework
This installs atlas-pca>=0.3.0,<0.4 as a dependency.
Use
Entry points: pca_tool / pca_function_middleware.
from atlas_pca_agent_framework import pca_tool
See the module docstrings in atlas_pca_agent_framework 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.
Links
- Source: https://github.com/Atlas-Authorization/pca-python
- Specification and docs: https://github.com/Atlas-Authorization/pca
License: MIT
Metadata
Release files for atlas-pca-agent-framework 0.3.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 | |
|---|---|---|---|
| atlas_pca_agent_framework-0.3.0.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atlas_pca_agent_framework-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / atlas_pca_agent_framework-0.3.0.tar.gz
| Download URL | atlas_pca_agent_framework-0.3.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
384593be1322a48f333eba201c28c103ba02cc4828927dddd03862c0ea423868
|
|
BLAKE2b-256 checksum How to use checksums |
9fa54494a2a5784c911344b1b3a2b0d005971cd10bc4d5120928455cd7e6b0ca
|
| 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_agent_framework-0.3.0-py3-none-any.whl
| Download URL | atlas_pca_agent_framework-0.3.0-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca029df7b9820cdd6d2012fa54b072d61e76dcb5b0c145cd5c9cf087003ddc6a
|
|
BLAKE2b-256 checksum How to use checksums |
c2dd82f974b255547d4e2c16015d13f942738181a260c2abe4ade7396ecab434
|
| 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}
|