{
  "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://nftmail-email-worker.richard-159.workers.dev",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "GhostAgent Ninja",
    "url": "https://ghostagent.ninja"
  },
  "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 nftmail.box Ghost-Wire protocol. Messages are routed 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-card?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": {
        "agentId": 3199,
        "identityRegistry": "eip155:100:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
        "reputationRegistry": "eip155:100:0x8004BAa17C55a88189AE136b182e5fdA19dE9b63",
        "registrationJson": "https://ghostagent.ninja/api/agent-card?agent=ghostagent"
      }
    }
  ],
  "securitySchemes": {},
  "security": []
}