This document describes the high-level architecture of the Identity Monetization Auto Governance Exchange Protocol (IMAGXP).
The system is composed of three distinct participants:
- Agent (The Consumer): A machine attempting to read content.
- Publisher (The Provider): A web server hosting content.
- Broker (The Clearing House): A financial intermediary (Optional in v1.0, Core in v1.1).
sequenceDiagram
participant Agent
participant Broker
participant Publisher
Agent->>Broker: 1. Deposit Funds ($)
Broker->>Agent: 2. Issue "Visa" (JWT Token)
Agent->>Publisher: 3. Request Content + Visa (Headers)
Publisher->>Broker: 4. Verify Visa (JWKS Fetch)
Broker->>Publisher: 5. Confirm Validity
Publisher->>Agent: 6. Serve HQ Content
- Identity Manager: Manages Private Keys (
.env) and rotates them. - IMAGXP Fetcher: A wrapper around
fetch()that signs every outgoing request. - Discovery Engine: Checks
robots.txtor headers to detect IMAGXP compatibility.
- Middleware: Intercepts requests at the Edge (Cloudflare/Vercel).
- Policy Engine: Evaluates requests based on:
- Identity: Is the signature valid? (Crypto)
- Solvency: Is the payment valid? (Broker)
- Ethics: Is the purpose allowed? (Training/RAG)
- Logger: Signing-grade audit trails for dispute resolution.
- OIDC Provider: Issues standard OpenID Connect tokens.
- Ledger: An immutable database of transactions (Debits/Credits).
- Key Authority: Hosts the Public Keys (
jwks.json) used by Publishers to verify tokens.
- DNS: We rely on HTTPS/DNSSEC to prove that
openai.comowns the keys atopenai.com/.well-known/.... - Signatures: We rely on NIST-standard ECDSA (P-256) for non-repudiation.
- Replay Attacks: Mitigated via
timestamp+ strict 5-minute window. - Spoofing: Mitigated via Asymmetric Cryptography (Private Key never leaves Agent server).
- DDOS: Mitigated via Edge Caching of Identity Verification results.
- Language Agnostic: While the reference SDK is TypeScript, the protocol relies only on HTTP/JSON.
- Zero-Trust: Publishers assume all traffic is aggressive until cryptographically proven otherwise.