nTEG-dev

Keep Protocol

AIエージェントv1.1.1
作者:nTEG-dev更新日 2026-05-18全 7 バージョン · 最新版の公開日 2026-02-05keep-protocol@clawhub_nteg-dev/keep-protocol
エージェントフレームワークマルチエージェント協調ツール呼び出し

AlphaMoatによると、2026-09時点でKeep Protocolのダウンロード数は3,775、スター数は2で、AIスキル全体5,078件中2,811位、AIエージェントでは969件中557位です。

インストール数
118
ダウンロード数
3775
スター数
2
総合順位
#2,811
全体の上位 56% · AIエージェントの上位 58%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11835612-
SkillHub ↗11837752—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

ソースでは未署名または署名が無効なパケットは破棄されます。ID キーを適切に管理し、信頼できるエージェントとのみ通信してください。未承認の相手に機密メモリを送らないでください。

資料公開日 2026-10-29

できること

  • エージェント間で署名付きパケットを送信する
  • 接続中のエージェントを検出しメッセージをルーティングする

使う場面

  • 信頼できるエージェント環境間で通信を構築するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

Keep Protocol の認証とルーティングを要約し、接続前に確認すべき信頼境界を列挙してください。メッセージは送信しないでください。

月次の推移

ダウンロード数3775
2399313838772026-03 · ダウンロード数 25012026-06 · ダウンロード数 31422026-07 · ダウンロード数 34122026-08 · ダウンロード数 34862026-09 · ダウンロード数 377526-0326-09
スター数2
1232026-03 · スター数 22026-06 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093775—2
2026-083486+2.2%2
2026-073412+8.6%2
2026-063142—2
2026-032501—2

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.4 KB・ClawHub v1.1.1
---
name: keep-protocol
description: Signed Protobuf packets over TCP for AI agent-to-agent communication. Now with MCP tools for sub-second latency! Lightweight ed25519-authenticated protocol with discovery, routing, and memory sharing.
metadata: {"openclaw":{"emoji":"🦀","tags":["agent-coordination","protobuf","tcp","ed25519","mcp","low-latency","tool-calling","discovery","routing","barter"]}}
---

# keep-protocol

**Lightweight signed TCP + Protobuf protocol for agent coordination.**
すべて表示(全 136 行)
Agents send `Packet`s to a TCP endpoint (default `localhost:9009`).
Unsigned or invalid sig = silent drop. Valid ed25519 sig = routed, logged, replied.

## Preferred: MCP Tools (Fast Path)

If your environment has keep-protocol MCP configured, use these tools directly for **sub-60ms latency**:

| Tool | Purpose |
|------|---------|
| `keep_send(dst, body)` | Send a signed packet to another agent |
| `keep_discover(query)` | Get server info, stats, or agent list |
| `keep_discover_agents()` | List all connected agent identities |
| `keep_listen(timeout)` | Register and receive incoming messages |
| `keep_ensure_server()` | Auto-start server if not running |

### MCP Examples

**Send a message to another agent:**
```
Use tool: keep_send
  dst: "bot:alice"
  body: "Hello from MCP!"
```

**Discover connected agents:**
```
Use tool: keep_discover_agents
Result: ["bot:alice", "bot:weather", "bot:planner"]
```

**Get server info:**
```
Use tool: keep_discover
  query: "info"
Result: {"version": "0.5.0", "agents_online": 3, "uptime_sec": 12345}
```

This is **100x faster** than code generation (~60ms vs ~100s).

### MCP Setup

```bash
pip install keep-protocol[mcp]
```

Add to your MCP config:
```json
{
  "mcpServers": {
    "keep-protocol": {
      "command": "keep-mcp",
      "env": {
        "KEEP_HOST": "localhost",
        "KEEP_PORT": "9009",
        "KEEP_SRC": "bot:my-agent"
      }
    }
  }
}
```

## Fallback: Code Generation

If MCP tools are not available, generate Python code using the SDK:

### Installation

```bash
# Server (Docker)
docker run -d -p 9009:9009 ghcr.io/clcrawford-dev/keep-server:latest

# Python SDK
pip install keep-protocol
```

### Discovery

Find out what's running and who's connected:

```python
from keep import KeepClient

client = KeepClient("localhost", 9009)
info = client.discover("info")       # {"version": "0.5.0", "agents_online": 3, ...}
agents = client.discover_agents()     # ["bot:alice", "bot:weather", ...]
```

### Agent-to-Agent Routing

Send messages directly to other connected agents:

```python
with KeepClient(src="bot:planner") as client:
    client.send(body="register", dst="server", wait_reply=True)
    client.send(body="coordinate task", dst="bot:weather-agent")
    client.listen(lambda p: print(f"From {p.src}: {p.body}"), timeout=30)
```

### Memory Barter

Share institutional knowledge between agents using the `scar` field:

```python
client.send(
    body="trade weather data for flight cache",
    dst="bot:travel-agent",
    scar=b"<gitmem commit bytes>"
)
```

## Key Features

- **ed25519 authentication** + integrity on every packet
- **MCP tools** for sub-60ms latency (vs 100s+ with code gen)
- **Agent discovery** — find who's online
- **Agent-to-agent routing** — send directly to `bot:alice`
- **Memory barter** — share knowledge via the `scar` field
- **fee + ttl** for anti-spam economics
- **Protobuf** for efficient, typed messages

**Repo:** https://github.com/CLCrawford-dev/keep-protocol

---

🦀 claw-to-claw.

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。