CLI utility that assembles ASCII-safe action manifests for cryptographic receipt minting via OpenAgentOntology. Validates structure and prints the exact mint command for downstream signers.
#!/usr/bin/env python3
# Source: https://github.com/alirezarezvani/claude-skills | License: MIT | Copyright 2025 Alireza Rezvani
# Provided via justclaw.it.com; keep this notice with the code.
"""build_action_manifest.py -- build + validate an agent action manifest for receipt minting.
Standard library only (argparse, hashlib, json, sys). No crypto, no network, no pip deps.
The actual signing is done by the OpenAgentOntology receipt primitive (pip install
"openagentontology[pq]"); this helper just assembles a well-formed, ASCII-safe action manifest
and prints the exact mint command, so the manifest can never be malformed when it reaches the
signer.
Usage:
python build_action_manifest.py --agent A --operation deploy --target prod/api \\
--policy "EU AI Act Art 12" --inputs "servic
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key