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.1, 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.1,<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.1
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.1.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atlas_pca_crewai-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / atlas_pca_crewai-0.4.1.tar.gz
| Download URL | atlas_pca_crewai-0.4.1.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf8fa3917af7f61e5f1de1d3341528eb677f180fc6102e826e5c4553c9a83cfb
|
|
BLAKE2b-256 checksum How to use checksums |
fd1d71378a3f8b9775071561cc8cf6114922ec47067b088170ad540039ffd994
|
| 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.1-py3-none-any.whl
| Download URL | atlas_pca_crewai-0.4.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88d735427e2343710ad941f4e0e0e9daeae0b18f94ab58c12734572a53e709b3
|
|
BLAKE2b-256 checksum How to use checksums |
3ee197be68f7d9e7cffe3ab20b1e4ca1e658e82582b96f3f31a70ac393a4e389
|
| 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}
|