{
  "$schema": "https://anp.dev/schemas/network/v1",
  "protocolVersion": "1.0",
  "name": "Ghost ANP Network Configuration",
  "description": "Agent Network Protocol configuration for Ghost — enables discovery and communication across agent networks while maintaining privacy-first on-device operation.",
  "agent": {
    "id": "ghost-ai-personal-intelligence",
    "name": "Ghost",
    "type": "personal_assistant",
    "deploymentModel": "on_device",
    "networkRole": "leaf_agent"
  },
  "discovery": {
    "enabled": true,
    "methods": [
      {
        "type": "well_known",
        "endpoint": "/.well-known/agent.json",
        "description": "Standard agent card at well-known URL"
      },
      {
        "type": "dns_sd",
        "service": "_ghost-agent._tcp.local",
        "description": "Local network discovery via DNS-SD / Bonjour"
      },
      {
        "type": "oasf_registry",
        "registryUrl": "https://registry.oasf.dev",
        "description": "Open Agentic Schema registry listing"
      }
    ],
    "advertisedCapabilities": [
      "conversation",
      "memory",
      "reasoning",
      "stt",
      "tts",
      "language_detection",
      "proactive_intelligence",
      "content_composition"
    ]
  },
  "communication": {
    "transports": [
      {
        "type": "local_ipc",
        "priority": 1,
        "description": "In-process communication for on-device agents (primary)"
      },
      {
        "type": "unix_socket",
        "priority": 2,
        "path": "/tmp/ghost-agent.sock",
        "description": "Unix socket for local inter-process agent communication"
      },
      {
        "type": "bluetooth_le",
        "priority": 3,
        "description": "BLE for nearby device agent mesh (privacy-preserving)"
      },
      {
        "type": "https",
        "priority": 4,
        "endpoint": "https://api.ghostfied.com/agent",
        "description": "HTTPS for remote agent communication (explicit opt-in only)"
      }
    ],
    "serialization": [
      "json",
      "msgpack",
      "protobuf"
    ],
    "encryption": {
      "required": true,
      "algorithms": [
        "AES-256-GCM",
        "ChaCha20-Poly1305"
      ],
      "keyExchange": "X25519"
    }
  },
  "policies": {
    "privacy": {
      "dataSharing": "none_by_default",
      "consentRequired": true,
      "dataMinimization": true,
      "description": "Ghost never shares user data with other agents without explicit consent. All data stays on-device by default."
    },
    "taskDelegation": {
      "canDelegate": true,
      "canAccept": true,
      "requiresUserApproval": true,
      "maxDelegationDepth": 2
    },
    "rateLimit": {
      "maxRequestsPerMinute": 60,
      "maxConcurrentTasks": 1
    }
  },
  "mesh": {
    "topology": "star",
    "role": "leaf",
    "canRelay": false,
    "heartbeatInterval": 30,
    "description": "Ghost participates as a leaf node in agent networks, not a relay or orchestrator."
  }
}
