atlas-pca-crewai
CrewAI guard for Proof-Carrying Authority (PCA): make every CrewAI 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 CrewAI 1.15.26. It covers a real BaseTool and @tool, and a real Crew kickoff driven by a scripted offline LLM: a tool call runs only under a valid proof, and is refused (never executed) without one, with a tampered proof, or for the wrong audience. 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-crewai
This installs atlas-pca>=0.4.0,<0.5 as a dependency.
Use
Entry points: pca_tool / guard_crew / PcaToolGuard.
from atlas_pca_crewai import pca_tool
See the module docstrings in atlas_pca_crewai 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-crewai 0.4.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_crewai-0.4.0.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atlas_pca_crewai-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / atlas_pca_crewai-0.4.0.tar.gz
| Download URL | atlas_pca_crewai-0.4.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
889334c6560cc8bfda3155d58fc4482df86c1ee83240d290f8eb8f5c73a7551e
|
|
BLAKE2b-256 checksum How to use checksums |
05f275535683c7f0b2e56a4e4954e2356791dec889d3106f5473c36582ce245d
|
| 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_crewai-0.4.0-py3-none-any.whl
| Download URL | atlas_pca_crewai-0.4.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6f6ddf201f2a8d5293b8c7f61844f3fa65d0da8d8f352cf0de51fa670dd43bb
|
|
BLAKE2b-256 checksum How to use checksums |
020a816692543b16e798ae1982aee6c9a0db4ee2a84a0ab24d8195ba5ad5dafb
|
| 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}
|