{
  "$schema": "https://kernuq.com/agent.json",
  "name": "Kernuq",
  "alt_name": "科努克",
  "description": "Single-binary MicroAgent OS kernel: URI-addressed resources, Harness rotors, hybrid human–agent Formations, JSON-RPC 2.0 gateway and built-in MCP server.",
  "homepage": "https://kernuq.com",
  "repository": "https://github.com/Payhon/Kernuq",
  "spec": "KSP v1.0",
  "docs": {
    "index": "https://kernuq.com/llms.txt",
    "full": "https://kernuq.com/llms-full.txt",
    "human": "https://kernuq.com/en/docs/"
  },
  "install": {
    "posix": {
      "command": "curl -fsSL https://kernuq.com/install.sh | sh",
      "non_interactive_env": {
        "KERNUQ_JSON": "1"
      },
      "script": "https://kernuq.com/install.sh"
    },
    "windows": {
      "command": "irm https://kernuq.com/install.ps1 | iex",
      "non_interactive_env": {
        "KERNUQ_JSON": "1"
      },
      "script": "https://kernuq.com/install.ps1"
    },
    "verify": "kernuq probe --json",
    "env": [
      "KERNUQ_VERSION",
      "KERNUQ_INSTALL_DIR",
      "KERNUQ_NO_MODIFY_PATH",
      "KERNUQ_JSON",
      "KERNUQ_DOWNLOAD_BASE"
    ]
  },
  "mcp": {
    "stdio": {
      "command": "kernuq",
      "args": [
        "mcp-serve",
        "--profile",
        "builder"
      ]
    },
    "http": {
      "url": "http://127.0.0.1:7680/mcp/v1",
      "auth": "Bearer <token from iam.create_token>"
    },
    "profiles": [
      {
        "name": "observer",
        "description": "Read-only introspection"
      },
      {
        "name": "ui_co_designer",
        "description": "UI co-design"
      },
      {
        "name": "builder",
        "description": "Build resources, rotors, topologies"
      },
      {
        "name": "operator",
        "description": "Runtime operations"
      }
    ],
    "tools": [
      "kernuq_inspect",
      "kernuq_org_admin",
      "kernuq_resource_admin",
      "kernuq_compute_admin",
      "kernuq_harness_upsert",
      "kernuq_formation_deploy",
      "kernuq_ui_widget_publish",
      "kernuq_sdui_view_evolve",
      "kernuq_ui_reset_to_rom",
      "kernuq_session_control",
      "kernuq_audit_rollback_batch",
      "kernuq_cortex_delegate"
    ]
  },
  "cli": {
    "introspection": [
      "kernuq manual [topic]",
      "kernuq schema <kind>",
      "kernuq skill-export [--dir <path>]",
      "kernuq probe --json"
    ],
    "global_flags": [
      "--json",
      "--dry-run"
    ]
  },
  "endpoints": {
    "rpc": "POST http://127.0.0.1:7680/rpc (JSON-RPC 2.0)",
    "events": "GET http://127.0.0.1:7680/events/sse",
    "health": "GET http://127.0.0.1:7680/healthz",
    "edge_status": "https://kernuq.com/api/v1/status",
    "edge_schemas": "https://kernuq.com/api/v1/schemas",
    "edge_rpc_sandbox": "https://kernuq.com/api/v1/rpc-sandbox"
  },
  "guardrails": [
    "ui://rom/* and kernel_mutation_logs are read-only",
    "vault:// plaintext has no read API; secrets are blind-injected in Ring 0",
    "sandboxed widgets default to connect_allowlist: []",
    "destructive deletes, production writes and privilege escalation require human approval"
  ]
}