{
  "schemaVersion": "1.0",
  "item": {
    "slug": "keep-protocol",
    "name": "Keep Protocol",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nTEG-dev/keep-protocol",
    "canonicalUrl": "https://clawhub.ai/nTEG-dev/keep-protocol",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/keep-protocol",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=keep-protocol",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "AGENTS.md",
      "CHANGELOG.md",
      "CONTRIBUTING.md",
      "README.md",
      "SKILL.md",
      "docs/clawhub-publishing.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "keep-protocol",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T16:20:00.382Z",
      "expiresAt": "2026-05-11T16:20:00.382Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=keep-protocol",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=keep-protocol",
        "contentDisposition": "attachment; filename=\"keep-protocol-1.1.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "keep-protocol"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/keep-protocol"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/keep-protocol",
    "agentPageUrl": "https://openagent3.xyz/skills/keep-protocol/agent",
    "manifestUrl": "https://openagent3.xyz/skills/keep-protocol/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/keep-protocol/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "keep-protocol",
        "body": "Lightweight signed TCP + Protobuf protocol for agent coordination.\n\nAgents send Packets to a TCP endpoint (default localhost:9009).\nUnsigned or invalid sig = silent drop. Valid ed25519 sig = routed, logged, replied."
      },
      {
        "title": "Preferred: MCP Tools (Fast Path)",
        "body": "If your environment has keep-protocol MCP configured, use these tools directly for sub-60ms latency:\n\nToolPurposekeep_send(dst, body)Send a signed packet to another agentkeep_discover(query)Get server info, stats, or agent listkeep_discover_agents()List all connected agent identitieskeep_listen(timeout)Register and receive incoming messageskeep_ensure_server()Auto-start server if not running"
      },
      {
        "title": "MCP Examples",
        "body": "Send a message to another agent:\n\nUse tool: keep_send\n  dst: \"bot:alice\"\n  body: \"Hello from MCP!\"\n\nDiscover connected agents:\n\nUse tool: keep_discover_agents\nResult: [\"bot:alice\", \"bot:weather\", \"bot:planner\"]\n\nGet server info:\n\nUse tool: keep_discover\n  query: \"info\"\nResult: {\"version\": \"0.5.0\", \"agents_online\": 3, \"uptime_sec\": 12345}\n\nThis is 100x faster than code generation (~60ms vs ~100s)."
      },
      {
        "title": "MCP Setup",
        "body": "pip install keep-protocol[mcp]\n\nAdd to your MCP config:\n\n{\n  \"mcpServers\": {\n    \"keep-protocol\": {\n      \"command\": \"keep-mcp\",\n      \"env\": {\n        \"KEEP_HOST\": \"localhost\",\n        \"KEEP_PORT\": \"9009\",\n        \"KEEP_SRC\": \"bot:my-agent\"\n      }\n    }\n  }\n}"
      },
      {
        "title": "Fallback: Code Generation",
        "body": "If MCP tools are not available, generate Python code using the SDK:"
      },
      {
        "title": "Installation",
        "body": "# Server (Docker)\ndocker run -d -p 9009:9009 ghcr.io/clcrawford-dev/keep-server:latest\n\n# Python SDK\npip install keep-protocol"
      },
      {
        "title": "Discovery",
        "body": "Find out what's running and who's connected:\n\nfrom keep import KeepClient\n\nclient = KeepClient(\"localhost\", 9009)\ninfo = client.discover(\"info\")       # {\"version\": \"0.5.0\", \"agents_online\": 3, ...}\nagents = client.discover_agents()     # [\"bot:alice\", \"bot:weather\", ...]"
      },
      {
        "title": "Agent-to-Agent Routing",
        "body": "Send messages directly to other connected agents:\n\nwith KeepClient(src=\"bot:planner\") as client:\n    client.send(body=\"register\", dst=\"server\", wait_reply=True)\n    client.send(body=\"coordinate task\", dst=\"bot:weather-agent\")\n    client.listen(lambda p: print(f\"From {p.src}: {p.body}\"), timeout=30)"
      },
      {
        "title": "Memory Barter",
        "body": "Share institutional knowledge between agents using the scar field:\n\nclient.send(\n    body=\"trade weather data for flight cache\",\n    dst=\"bot:travel-agent\",\n    scar=b\"<gitmem commit bytes>\"\n)"
      },
      {
        "title": "Key Features",
        "body": "ed25519 authentication + integrity on every packet\nMCP tools for sub-60ms latency (vs 100s+ with code gen)\nAgent discovery — find who's online\nAgent-to-agent routing — send directly to bot:alice\nMemory barter — share knowledge via the scar field\nfee + ttl for anti-spam economics\nProtobuf for efficient, typed messages\n\nRepo: https://github.com/CLCrawford-dev/keep-protocol\n\n🦀 claw-to-claw."
      }
    ],
    "body": "keep-protocol\n\nLightweight signed TCP + Protobuf protocol for agent coordination.\n\nAgents send Packets to a TCP endpoint (default localhost:9009). Unsigned or invalid sig = silent drop. Valid ed25519 sig = routed, logged, replied.\n\nPreferred: MCP Tools (Fast Path)\n\nIf your environment has keep-protocol MCP configured, use these tools directly for sub-60ms latency:\n\nTool\tPurpose\nkeep_send(dst, body)\tSend a signed packet to another agent\nkeep_discover(query)\tGet server info, stats, or agent list\nkeep_discover_agents()\tList all connected agent identities\nkeep_listen(timeout)\tRegister and receive incoming messages\nkeep_ensure_server()\tAuto-start server if not running\nMCP Examples\n\nSend a message to another agent:\n\nUse tool: keep_send\n  dst: \"bot:alice\"\n  body: \"Hello from MCP!\"\n\n\nDiscover connected agents:\n\nUse tool: keep_discover_agents\nResult: [\"bot:alice\", \"bot:weather\", \"bot:planner\"]\n\n\nGet server info:\n\nUse tool: keep_discover\n  query: \"info\"\nResult: {\"version\": \"0.5.0\", \"agents_online\": 3, \"uptime_sec\": 12345}\n\n\nThis is 100x faster than code generation (~60ms vs ~100s).\n\nMCP Setup\npip install keep-protocol[mcp]\n\n\nAdd to your MCP config:\n\n{\n  \"mcpServers\": {\n    \"keep-protocol\": {\n      \"command\": \"keep-mcp\",\n      \"env\": {\n        \"KEEP_HOST\": \"localhost\",\n        \"KEEP_PORT\": \"9009\",\n        \"KEEP_SRC\": \"bot:my-agent\"\n      }\n    }\n  }\n}\n\nFallback: Code Generation\n\nIf MCP tools are not available, generate Python code using the SDK:\n\nInstallation\n# Server (Docker)\ndocker run -d -p 9009:9009 ghcr.io/clcrawford-dev/keep-server:latest\n\n# Python SDK\npip install keep-protocol\n\nDiscovery\n\nFind out what's running and who's connected:\n\nfrom keep import KeepClient\n\nclient = KeepClient(\"localhost\", 9009)\ninfo = client.discover(\"info\")       # {\"version\": \"0.5.0\", \"agents_online\": 3, ...}\nagents = client.discover_agents()     # [\"bot:alice\", \"bot:weather\", ...]\n\nAgent-to-Agent Routing\n\nSend messages directly to other connected agents:\n\nwith KeepClient(src=\"bot:planner\") as client:\n    client.send(body=\"register\", dst=\"server\", wait_reply=True)\n    client.send(body=\"coordinate task\", dst=\"bot:weather-agent\")\n    client.listen(lambda p: print(f\"From {p.src}: {p.body}\"), timeout=30)\n\nMemory Barter\n\nShare institutional knowledge between agents using the scar field:\n\nclient.send(\n    body=\"trade weather data for flight cache\",\n    dst=\"bot:travel-agent\",\n    scar=b\"<gitmem commit bytes>\"\n)\n\nKey Features\ned25519 authentication + integrity on every packet\nMCP tools for sub-60ms latency (vs 100s+ with code gen)\nAgent discovery — find who's online\nAgent-to-agent routing — send directly to bot:alice\nMemory barter — share knowledge via the scar field\nfee + ttl for anti-spam economics\nProtobuf for efficient, typed messages\n\nRepo: https://github.com/CLCrawford-dev/keep-protocol\n\n🦀 claw-to-claw."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nTEG-dev/keep-protocol",
    "publisherUrl": "https://clawhub.ai/nTEG-dev/keep-protocol",
    "owner": "nTEG-dev",
    "version": "1.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/keep-protocol",
    "downloadUrl": "https://openagent3.xyz/downloads/keep-protocol",
    "agentUrl": "https://openagent3.xyz/skills/keep-protocol/agent",
    "manifestUrl": "https://openagent3.xyz/skills/keep-protocol/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/keep-protocol/agent.md"
  }
}