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
Metadata
Release files for aump 0.1.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 | |
|---|---|---|---|
| aump-0.1.0.tar.gz | 67.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aump-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 88.8 kB
Release files / aump-0.1.0.tar.gz
| Download URL | aump-0.1.0.tar.gz |
|---|---|
| Size | 67.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d90b3763f92b7d0360c97b8b67bdc4678df8a20293fe63ee55505ae77dad34b
|
|
BLAKE2b-256 checksum How to use checksums |
6ea5bd6da2c6ad1c5d0f7f3e67aea74082e7ec753524369adf68331e0fae4482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.
Transparency logRelease files / aump-0.1.0-py3-none-any.whl
| Download URL | aump-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f6c3259bd5ac59df945477a369df9bbfd164de87fdd346ccf909324d963e7b0
|
|
BLAKE2b-256 checksum How to use checksums |
1802d1d133ec724df9c9226e1b6dbdc37a6715ede7361b701ebe14265a263c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 26, 2026.
Transparency log