{
  "name": "GhostAgent",
  "description": "Sovereign AI agent platform on Gnosis Chain. Each GhostAgent has a non-custodial NFT-bound identity (nftmail.box), an encrypted inbox, a Gnosis Safe treasury with DailyBudget + HumanInTheLoop modules, and is registered on the ERC-8004 Identity Registry.",
  "url": "https://ghostagent.ninja",
  "iconUrl": "https://ghostagent.ninja/ghost-logo.png",
  "version": "1.0.0",
  "documentationUrl": "https://ghostagent.ninja/docs",
  "supportedInterfaces": [
    {
      "url": "https://ghostagent.ninja/api/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    },
    {
      "url": "https://nftmail-email-worker.richard-159.workers.dev",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "Ghost Agent Ninja Pty Ltd",
    "url": "https://ghostagent.ninja",
    "legalEntity": "GHOST AGENT NINJA PTY LTD"
  },
  "chainBinding": {
    "standard": "EIP-155",
    "chains": [
      {
        "chainId": 100,
        "name": "Gnosis Mainnet",
        "role": "primary",
        "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4",
        "agentId": 3199
      },
      {
        "chainId": 8453,
        "name": "Base Mainnet",
        "role": "secondary",
        "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4",
        "agentId": 32756
      },
      {
        "chainId": 84532,
        "name": "Base Sepolia",
        "role": "testnet",
        "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4",
        "agentId": 1766
      },
      {
        "chainId": 11155111,
        "name": "Ethereum Sepolia",
        "role": "testnet",
        "safe": null
      }
    ],
    "eip1271": true,
    "note": "Gnosis Safe satisfies EIP-1271 — the NFT handle belongs to the Safe which acts as agent brain/vault"
  },
  "agentWallet": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4",
  "agentWalletChain": "eip155:100",
  "agentWalletType": "GnosisSafe",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": true
  },
  "defaultInputModes": [
    "application/json",
    "text/plain"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "a2a-message",
      "name": "Agent-to-Agent Messaging",
      "description": "Send encrypted messages to any GhostAgent inbox via the nftmail.box Ghost-Wire protocol. Messages route to the agent's sovereign NFT-bound inbox on Gnosis Chain.",
      "tags": [
        "messaging",
        "email",
        "a2a",
        "nftmail",
        "gnosis"
      ],
      "examples": [
        "{\"action\":\"sendA2A\",\"fromAgent\":\"alice_\",\"toAgent\":\"bob_\",\"message\":\"Hello from Alice\"}"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "agent-status",
      "name": "Agent Status & Telemetry",
      "description": "Query live telemetry for any registered GhostAgent: inbox count, heartbeat, surge score, ERC-8004 agentId, Safe address, Story IP asset.",
      "tags": [
        "status",
        "telemetry",
        "audit",
        "erc8004"
      ],
      "examples": [
        "{\"action\":\"getAgentStatus\",\"localPart\":\"ghostagent_\"}"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "trade-intent",
      "name": "EIP-712 TradeIntent",
      "description": "Publish or discover signed EIP-712 TradeIntents for on-chain A2A trade negotiations. Intents are stored in KV and discoverable by counter-agents.",
      "tags": [
        "trade",
        "eip712",
        "defi",
        "intent",
        "erc8004"
      ],
      "examples": [
        "{\"action\":\"getTradeIntents\",\"agentName\":\"ghostagent\"}"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "erc8004-registration",
      "name": "ERC-8004 Agent Registration",
      "description": "Fetch the ERC-8004 #registration-v1 document for any GhostAgent. Includes on-chain agentId, Gnosis Safe, Story IP, and service endpoints.",
      "tags": [
        "erc8004",
        "identity",
        "registry",
        "gnosis"
      ],
      "examples": [
        "https://ghostagent.ninja/api/agent/ghostagent/registration.json"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "erc8004-identity-verify",
      "name": "ERC-8004 Identity Verifier",
      "description": "Resolve any agent by name and return cross-chain ERC-8004 registrations, Gnosis Safe address, spending module status, and A2A card URL. Powered by notapaperclip.red — the independent compliance oracle.",
      "tags": [
        "erc8004",
        "identity",
        "audit",
        "compliance",
        "oracle"
      ],
      "examples": [
        "https://ghostagent.ninja/api/agent-card?agent=ghostagent&chain=gnosis"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "a2a-card-validate",
      "name": "A2A Agent Card Validator",
      "description": "Fetch and validate any agent's /.well-known/agent-card.json against the Google A2A spec §8.2. Returns compliance status, skill list, and endpoint reachability. Live at notapaperclip.red/api/a2a/validate",
      "tags": [
        "a2a",
        "validation",
        "compliance",
        "oracle",
        "agent-card"
      ],
      "examples": [
        "https://notapaperclip.red/api/a2a/validate?url=https://ghostagent.ninja"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "swarm-trust-score",
      "name": "Multi-Agent Swarm Trust Scorer",
      "description": "Run a trust evaluation across a named agent's swarm. Returns trust scores per agent, flags bad actors (see: victor.openclaw.gno flagged red), and surfaces compliance issues. Live demo at notapaperclip.red/?swarm=ghostagent",
      "tags": [
        "swarm",
        "trust",
        "audit",
        "erc8004",
        "oracle"
      ],
      "examples": [
        "https://notapaperclip.red/api/swarm?agent=ghostagent"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    }
  ],
  "extensions": [
    {
      "uri": "https://eips.ethereum.org/EIPS/eip-8004",
      "description": "ERC-8004 Trustless Agents — on-chain identity registry",
      "required": false,
      "params": {
        "registrations": [
          {
            "chain": "eip155:100",
            "agentId": 3199,
            "identityRegistry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
            "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4"
          },
          {
            "chain": "eip155:8453",
            "agentId": 32756,
            "identityRegistry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
            "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4"
          },
          {
            "chain": "eip155:84532",
            "agentId": 1766,
            "identityRegistry": "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
            "safe": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4"
          }
        ],
        "reputationRegistry": "eip155:100:0x8004BAa17C55a88189AE136b182e5fdA19dE9b63",
        "registrationJson": "https://ghostagent.ninja/api/agent-card?agent=ghostagent",
        "complianceOracle": "https://notapaperclip.red",
        "synthesisAgentId": 32130,
        "synthesisRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
      }
    },
    {
      "uri": "https://eips.ethereum.org/EIPS/eip-712",
      "description": "EIP-712 typed data signing — chain-bound TradeIntents prevent cross-chain replay",
      "required": false,
      "params": {
        "domainName": "GhostAgent",
        "domainVersion": "1",
        "primaryChainId": 100,
        "tradeIntentType": "TradeIntent(address agent,address token,uint256 amount,uint256 price,uint256 deadline,string intentType)"
      }
    },
    {
      "uri": "https://eips.ethereum.org/EIPS/eip-1271",
      "description": "EIP-1271 contract signature validation — Gnosis Safe owns the ERC-8004 NFT handle",
      "required": false,
      "params": {
        "safeAddress": "0xb7e493e3d226f8fE722CC9916fF164B793af13F4",
        "safeChain": "eip155:100"
      }
    }
  ],
  "securitySchemes": {},
  "security": []
}