Agent Transfer Protocol (ATP) is a protocol for auditable agent-to-agent work. It defines a signed transaction loop for capability discovery, contract negotiation, leased context access, settlement, and verifiable receipts.
Whitepaper: ATP Protocol
Install dependencies:
python3 -m pip install cryptography fastapi uvicornReceipt Zero visual dedupe also requires Pillow:
python3 -m pip install PillowRun the local demo:
python3 atp_demo.pyExpected output:
ATP transaction complete: runs/atp_photo_001/
Receipt hash: <hash>
Receipt valid: True
Event chain valid: True
Lease guard passed: True
Original files unchanged: True
Offline verification valid: True
Run Receipt Zero against NASA Artemis II public images:
python3 atp_demo.py receipt-zero --limit 100The demo creates:
runs/atp_photo_001/
├── public-keys.json
├── capability-card.json
├── envelopes.jsonl
├── transcript.jsonl
├── contract.json
├── leases.json
├── lease-access-log.jsonl
├── verification.json
├── artifacts/
│ ├── manifest.json
│ ├── album-plan.json
│ └── duplicate-candidates.csv
└── receipt.json
Verify a completed run using only the generated artifact tree:
python3 atp_demo.py verify runs/atp_photo_001Expected output:
Offline verification valid: True
Runbook: docs/receipt-zero.md
ERC-8004 alignment profile: docs/erc-8004-atp-profile.md