{
  "$schema": "https://a2a-protocol.org/schemas/v1.2/agent-card.json",
  "protocolVersion": "1.2",
  "name": "Nia",
  "description": "Local-sovereign agent. Runs entirely on-device against Ollama. Used when air-gapped operation, zero egress, or vendor-independent reasoning is required. No frontier-API calls.",
  "version": "2026.06.20",
  "url": "https://a2a.arnao.ai/nia/a2a",
  "documentationUrl": "https://a2a.arnao.ai/nia",
  "preferredTransport": "JSONRPC",
  "provider": {
    "organization": "Arnao",
    "url": "https://arnao.ai"
  },
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "extendedAgentCard": false
  },
  "defaultInputModes": ["text/plain", "application/json"],
  "defaultOutputModes": ["text/plain"],
  "skills": [
    {
      "id": "coding-agent",
      "name": "Coding Agent",
      "description": "Local-only code reading and editing. No external API calls.",
      "tags": ["code", "local", "sovereign"]
    },
    {
      "id": "switch-model",
      "name": "Switch Local Model",
      "description": "Swap between locally hosted Ollama models for the next turn.",
      "tags": ["routing", "local"]
    }
  ],
  "securitySchemes": {
    "none": {
      "type": "noAuth",
      "description": "Public discovery only. Real endpoint runs over Tailscale; never exposed to the public internet."
    }
  },
  "security": [{"none": []}],
  "metadata": {
    "model": {
      "primary": "ollama/gemma4:latest",
      "plannedSwap": "ollama/qwen3-coder:30b",
      "fallbacks": []
    },
    "role": "sovereign-local",
    "host": "Mac Mini (mia.local) via Ollama",
    "transports": ["Telegram", "A2A over Tailscale (planned)"],
    "endpointStatus": "planned",
    "endpointNote": "Nia's real endpoint will live on the Tailnet only. The public card is a discovery stub; clients must be Tailscale-authorized to invoke.",
    "signing": {
      "status": "unsigned",
      "plan": "ES256 detached JWS"
    }
  }
}
