{
  "$schema": "https://specs.a2aprotocol.ai/agent-card/v1",
  "name": "Ghost",
  "description": "The first cryptographically attestable AI system. Every AI decision generates a signed, hash-chained proof record in a tamper-evident AI Evidence Log. Persistent memory, voice conversation, 23 languages, proactive intelligence. Runs entirely on-device with zero cloud dependency.",
  "version": "1.0.0",
  "url": "https://ghostfied.com",
  "provider": {
    "organization": "Ghost AI",
    "founder": "Amir Jannatpour",
    "url": "https://ghostfied.com",
    "contact": "support@ghostfied.com"
  },
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "authentication": {
    "schemes": [
      "none"
    ],
    "description": "Ghost operates fully on-device. No authentication required for local inference."
  },
  "defaultInputModes": [
    "text",
    "voice",
    "audio"
  ],
  "defaultOutputModes": [
    "text",
    "voice",
    "audio"
  ],
  "skills": [
    {
      "id": "conversation",
      "name": "Natural Conversation",
      "description": "Engage in natural, context-aware conversation via text or voice with sub-2-second response times. Supports 23 languages with automatic detection.",
      "tags": [
        "conversation",
        "chat",
        "voice",
        "multilingual"
      ],
      "examples": [
        "Tell me about my schedule today",
        "Remind me about the project deadline",
        "Explain quantum computing simply"
      ]
    },
    {
      "id": "memory",
      "name": "Persistent Memory",
      "description": "Remember facts, preferences, events, entities, and relationships across sessions. Memory persists indefinitely with importance-based decay and consolidation.",
      "tags": [
        "memory",
        "recall",
        "context",
        "personalization"
      ],
      "examples": [
        "Remember that I prefer dark mode",
        "What did we discuss last Tuesday?",
        "What's my favorite restaurant?"
      ]
    },
    {
      "id": "reasoning",
      "name": "On-Device Reasoning",
      "description": "Analyze, summarize, plan, draft, and answer complex questions using a 3B parameter model running entirely on-device with speculative decoding.",
      "tags": [
        "reasoning",
        "analysis",
        "summarization",
        "planning"
      ],
      "examples": [
        "Summarize this article",
        "Help me plan a trip to Tokyo",
        "Compare these two approaches"
      ]
    },
    {
      "id": "composition",
      "name": "Content Composition",
      "description": "Draft messages, emails, summaries, plans, lists, and structured content in any of 23 supported languages.",
      "tags": [
        "writing",
        "drafting",
        "composition",
        "email"
      ],
      "examples": [
        "Draft a professional email to my manager",
        "Write a grocery list for pasta dinner",
        "Create a study plan for next week"
      ]
    },
    {
      "id": "proactive_intelligence",
      "name": "Proactive Intelligence",
      "description": "Surface relevant information, reminders, and suggestions before the user asks, based on memory graph analysis and contextual triggers.",
      "tags": [
        "proactive",
        "suggestions",
        "reminders",
        "intelligence"
      ],
      "examples": [
        "You have a meeting with Sarah in 30 minutes",
        "Based on your preferences, you might enjoy this",
        "It's been a week since you mentioned following up with John"
      ]
    },
    {
      "id": "cryptographic_attestation",
      "name": "Cryptographic Attestation",
      "description": "Every AI decision generates a signed, hash-chained proof record: model provenance, context fingerprint, processing locality, memory references, policy constraints. Device-signed with Secure Enclave keypair. Exportable as independently verifiable proof bundles. Deterministic replay for exact AI decision reproduction.",
      "tags": [
        "attestation",
        "proof",
        "evidence",
        "compliance",
        "audit",
        "replay"
      ],
      "examples": [
        "Export my proof records from this month",
        "Verify the chain integrity of my evidence log",
        "Replay the AI decision from record #847"
      ]
    },
    {
      "id": "voice_conversation",
      "name": "Voice-to-Voice Conversation",
      "description": "Full-duplex voice conversation with Whisper STT, streaming TTS, barge-in support, emotion-adaptive speech, and continuous conversation mode.",
      "tags": [
        "voice",
        "speech",
        "tts",
        "stt",
        "conversation"
      ],
      "examples": [
        "Hey Ghost, what's on my calendar?",
        "Read me the summary of yesterday's conversation",
        "Speak Farsi with me"
      ]
    },
    {
      "id": "deterministic_replay",
      "name": "Deterministic Replay",
      "description": "Reproduce any AI decision exactly as it occurred. Same model version, same context, same seed, identical output — verified by token ID sequence hashing. Model archive retention with configurable 3-7+ year retention. Context retention with zstd compression. Legally defensible for healthcare, legal, finance, and defense use cases.",
      "tags": [
        "replay",
        "deterministic",
        "audit",
        "compliance",
        "evidence",
        "legal"
      ],
      "examples": [
        "Replay the AI decision from record #847",
        "Verify that replay output matches the original",
        "Export replay verification for audit"
      ]
    },
    {
      "id": "fleet_attestation",
      "name": "Fleet Attestation",
      "description": "Enterprise fleet management with periodic device heartbeats verifying model hash inventory, policy version hash, and proof chain integrity. Drift detection (model drift, policy drift, chain drift) with automatic quarantine of non-compliant devices. Fleet-wide compliance posture verification.",
      "tags": [
        "fleet",
        "enterprise",
        "attestation",
        "compliance",
        "drift",
        "quarantine"
      ],
      "examples": [
        "Generate fleet compliance snapshot",
        "Check all devices for policy drift",
        "Quarantine device with model mismatch"
      ]
    },
    {
      "id": "policy_as_code",
      "name": "Policy-as-Code Engine",
      "description": "Declarative policy engine where organizational AI rules are enforced at runtime with cryptographic proof. Policies control cloud escalation, language enforcement, model restrictions, token budgets, content domains, memory access, voice restrictions, and retention. Every enforcement event is logged with what was attempted, blocked, and offered as alternative.",
      "tags": [
        "policy",
        "enforcement",
        "compliance",
        "governance",
        "enterprise"
      ],
      "examples": [
        "Enforce no-cloud policy for this conversation",
        "Show policy enforcement events this week",
        "Generate policy compliance report"
      ]
    },
    {
      "id": "trust_graph",
      "name": "Trust Graph",
      "description": "Team-level verifiable knowledge graph with cryptographically signed, versioned, permission-scoped knowledge objects. Authorship tracking with non-repudiation, edit provenance chains, reference visibility, knowledge bottleneck detection, and unused silo detection. AI Usage Audit Board for team intelligence analytics.",
      "tags": [
        "team",
        "knowledge",
        "trust",
        "provenance",
        "collaboration",
        "audit"
      ],
      "examples": [
        "Show knowledge contribution distribution",
        "Detect knowledge bottlenecks in the team",
        "Verify authorship of knowledge object #123"
      ]
    }
  ],
  "protocols": {
    "mcp": {
      "version": "1.0",
      "endpoint": "/api/mcp/sse",
      "schema": "/protocols/mcp/server.json",
      "description": "Model Context Protocol — exposes Ghost tools and resources to external LLMs"
    },
    "a2a": {
      "version": "1.0",
      "endpoint": "/api/a2a/tasks",
      "discovery": "/api/a2a/discover",
      "schema": "/protocols/a2a/agent-card.json",
      "description": "Agent-to-Agent — enables inter-agent discovery and task delegation"
    },
    "anp": {
      "version": "1.0",
      "schema": "/protocols/anp/network-config.json",
      "description": "Agent Network Protocol — cross-system agent mesh networking"
    },
    "ag_ui": {
      "version": "1.0",
      "endpoint": "/api/ag-ui/stream",
      "transport": [
        "sse"
      ],
      "schema": "/protocols/ag-ui/protocol.json",
      "description": "Agent-User Interaction — real-time streaming of agent state to frontend"
    },
    "agora": {
      "version": "1.0",
      "schema": "/protocols/agora/orchestration.json",
      "description": "AGORA — natural language-driven orchestration"
    },
    "lmos": {
      "version": "1.0",
      "schema": "/protocols/lmos/meta-protocol.json",
      "description": "Eclipse LMOS — transport-agnostic meta-protocol (HTTP, MQTT, WS, gRPC)"
    },
    "ap2": {
      "version": "1.0",
      "schema": "/protocols/ap2/payment-protocol.json",
      "description": "Agent Payment Protocol — autonomous agent financial transactions"
    },
    "oasf": {
      "version": "1.0",
      "schema": "/protocols/oasf/agent-schema.json",
      "description": "Open Agentic Schema — agent skill/cost discovery"
    }
  },
  "privacy": {
    "data_storage": "on_device_only",
    "encryption": "AES-256",
    "network_calls": "none_for_inference",
    "pii_handling": "automatic_redaction",
    "data_retention": "user_controlled",
    "proof_layer": "hash_chained_evidence_log",
    "device_signing": "secure_enclave_ed25519",
    "deterministic_replay": true
  },
  "performance": {
    "ttft_ms": 200,
    "tokens_per_second": 30,
    "memory_retrieval_ms": 50,
    "supported_context_length": 8192
  }
}
