Skip to main content

Reference AUMP agentic marketplace examples

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aump_examples-0.1.0.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aump_examples-0.1.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file aump_examples-0.1.0.tar.gz.

File metadata

  • Download URL: aump_examples-0.1.0.tar.gz
  • Upload date:
  • Size: 53.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aump_examples-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ff390f921067d5367d08f1a541089903dbacfe1460bfe80885fe5710745c397
MD5 3facd1a7fd75573edf06ae347f86457b
BLAKE2b-256 bb88d32a0a9327531978323c8d5b9cacbb7e052e02301d57da0af4df6d6a7893

See more details on using hashes here.

Provenance

The following attestation bundles were made for aump_examples-0.1.0.tar.gz:

Publisher: publish.yml on Agentic-User-Mandate-Protocol/examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aump_examples-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aump_examples-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aump_examples-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a855ebe55d40612a264061b8af80065d5c36121888a01df5d33ed99781b211db
MD5 211aa30b0672d601fdc189769832b68f
BLAKE2b-256 30ea823ba9c296543894227eefec8e67f4eca81759fe09932dcc36427ed7aff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for aump_examples-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Agentic-User-Mandate-Protocol/examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page