Python SDK and validator for the Agentic User Mandate Protocol
Project description
aump-py
Python SDK and validator for the Agentic User Mandate Protocol.
This package provides:
- bundled AUMP v0.1 JSON Schemas;
- mandate schema and semantic validation;
- evidence event schema validation;
- evidence event semantic validation against mandate reference, retention, and required event policy;
- deterministic
allowed,denied, andrequires_escalationaction evaluation; - MCP, A2A, and UCP/AP2 bridge validation helpers;
- a small in-process runtime for examples and agent applications;
- a CLI for schema validation and action evaluation.
Install In This Workspace
uv sync
Global Install Smoke
After the package is published, the CLI should work with either uv tool or
standard Python installers:
uv tool install aump
aump --help
CLI
Validate a mandate:
uv run aump validate mandate ../conformance/fixtures/mandates/marketplace-buyer.valid.json
Validate an evidence event:
uv run aump validate evidence-event ../conformance/fixtures/events/deal-accepted.valid.json
Validate evidence semantics against a mandate:
uv run aump validate-evidence \
--mandate ../conformance/fixtures/mandates/marketplace-buyer.valid.json \
--event ../conformance/fixtures/events/deal-accepted.valid.json
Evaluate an action:
uv run aump evaluate-action \
--mandate ../conformance/fixtures/mandates/marketplace-buyer.valid.json \
--action ../conformance/fixtures/actions/accept-ping-pong.allowed.json
Python
from aump import evaluate_action
from aump.policy import parse_datetime
result = evaluate_action(mandate, action, now=parse_datetime("2026-04-25T18:00:00Z"))
assert result["decision"] in {"allowed", "denied", "requires_escalation"}
Test
The tests prefer the sibling conformance/fixtures corpus when this workspace
is cloned end to end. CI falls back to the pinned
tests/fixtures/conformance snapshot so this repo can validate itself.
uv run ruff check .
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aump-0.1.0.tar.gz.
File metadata
- Download URL: aump-0.1.0.tar.gz
- Upload date:
- Size: 67.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d90b3763f92b7d0360c97b8b67bdc4678df8a20293fe63ee55505ae77dad34b
|
|
| MD5 |
4f957fcdc4ce016174813a7d1bd23ca2
|
|
| BLAKE2b-256 |
6ea5bd6da2c6ad1c5d0f7f3e67aea74082e7ec753524369adf68331e0fae4482
|
Provenance
The following attestation bundles were made for aump-0.1.0.tar.gz:
Publisher:
publish.yml on Agentic-User-Mandate-Protocol/aump-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aump-0.1.0.tar.gz -
Subject digest:
7d90b3763f92b7d0360c97b8b67bdc4678df8a20293fe63ee55505ae77dad34b - Sigstore transparency entry: 1386111641
- Sigstore integration time:
-
Permalink:
Agentic-User-Mandate-Protocol/aump-py@8e24035a6d84037adfbddfa23f95422a4a2cb349 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Agentic-User-Mandate-Protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e24035a6d84037adfbddfa23f95422a4a2cb349 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aump-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aump-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f6c3259bd5ac59df945477a369df9bbfd164de87fdd346ccf909324d963e7b0
|
|
| MD5 |
7887bb63c97df00af63e8d04b610ade8
|
|
| BLAKE2b-256 |
1802d1d133ec724df9c9226e1b6dbdc37a6715ede7361b701ebe14265a263c5a
|
Provenance
The following attestation bundles were made for aump-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Agentic-User-Mandate-Protocol/aump-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aump-0.1.0-py3-none-any.whl -
Subject digest:
9f6c3259bd5ac59df945477a369df9bbfd164de87fdd346ccf909324d963e7b0 - Sigstore transparency entry: 1386111783
- Sigstore integration time:
-
Permalink:
Agentic-User-Mandate-Protocol/aump-py@8e24035a6d84037adfbddfa23f95422a4a2cb349 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Agentic-User-Mandate-Protocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8e24035a6d84037adfbddfa23f95422a4a2cb349 -
Trigger Event:
release
-
Statement type: