atlas-pca-langgraph
LangGraph guard for Proof-Carrying Authority (PCA): make every LangGraph 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 LangGraph 1.2.14 with langchain-core 1.6.9. It covers a real ToolNode and StateGraph: proofs carried in the run config and in graph state, a real StructuredTool, and the interrupt()/Command(resume=...) step-up path (a tampered resume is refused, a valid one proceeds). 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-langgraph
This installs atlas-pca>=0.4.1,<0.5 as a dependency.
Use
Entry points: pca_tool / PcaToolNode / pca_guard_node.
from atlas_pca_langgraph import pca_tool
See the module docstrings in atlas_pca_langgraph 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-langgraph 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_langgraph-0.4.1.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atlas_pca_langgraph-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.4 kB
Release files / atlas_pca_langgraph-0.4.1.tar.gz
| Download URL | atlas_pca_langgraph-0.4.1.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb6d7f9fdee5cbb0d1496afa225763f09eb4f1f09e719ec017933b94462cb421
|
|
BLAKE2b-256 checksum How to use checksums |
940e19836a297925b544cb24500e01f48572fce47222af54cce843757721a633
|
| 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_langgraph-0.4.1-py3-none-any.whl
| Download URL | atlas_pca_langgraph-0.4.1-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4916136c73628236dec49df2789704286d6beae53ddc5f0f29689c8a90a54932
|
|
BLAKE2b-256 checksum How to use checksums |
197f52aab2071fee9503fb7e2cd118914e0dc76b1f7431ff09bf1d30eedf9f84
|
| 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}
|