Skip to main content

AUMP Examples

Reference examples for the Agentic User Mandate Protocol.

This repo proves the next layer above conformance: a runnable buyer/seller agentic marketplace flow that uses AUMP to evaluate actions before messages, offers, commitments, disclosures, and checkout handoffs.

What This Proves

The marketplace example runs these deterministic scenarios:

  • A buyer agent offers 3 USD for 19 ping pong balls under a delegated mandate.
  • The offer is sent as an A2A-shaped message with mandate metadata.
  • A seller agent receives the A2A message and records evidence.
  • The buyer accepts the deal only after an MCP-shaped aump.evaluate_action call returns allowed.
  • A 7 USD offer is denied by the mandate budget.
  • A protected reservation-price disclosure is denied.
  • A UCP checkout-ready handoff returns requires_escalation.
  • Evidence is appended for material steps.

The flow imports the sibling aump-conformance package and runs the canonical conformance suite first. If the contract fails, the marketplace proof fails.

Workspace Requirement

For development, this repo expects the Python SDK and conformance repos to be cloned as siblings:

projects/
  conformance/
  examples/

When installed from PyPI, the example uses packaged demo data and the bundled conformance fixture corpus from aump-conformance.

Run

uv sync
uv run aump-examples marketplace

Expected summary:

AUMP marketplace proof
conformance: 29/29 passed
offer message: allowed
accept ping pong balls: allowed
over-budget offer: denied
private disclosure: denied
checkout handoff: requires_escalation
evidence events: 6
proof: passed

Write the full transcript:

uv run aump-examples marketplace --json --output transcript.json

Test

uv run ruff check .
uv run pytest

Metadata

Release files for aump-examples 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aump-examples 0.1.0
File Size Uploaded
aump_examples-0.1.0.tar.gz 53.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aump-examples 0.1.0
File Interpreter ABI Platform
aump_examples-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.8 kB

Release files / aump_examples-0.1.0.tar.gz

Download URL aump_examples-0.1.0.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff390f921067d5367d08f1a541089903dbacfe1460bfe80885fe5710745c397
BLAKE2b-256 checksum
How to use checksums
bb88d32a0a9327531978323c8d5b9cacbb7e052e02301d57da0af4df6d6a7893
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

Release files / aump_examples-0.1.0-py3-none-any.whl

Download URL aump_examples-0.1.0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a855ebe55d40612a264061b8af80065d5c36121888a01df5d33ed99781b211db
BLAKE2b-256 checksum
How to use checksums
30ea823ba9c296543894227eefec8e67f4eca81759fe09932dcc36427ed7aff6
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page