According to AlphaMoat, as of 2026-09, Keep Protocol has 3,775 downloads and 2 stars — ranked #2,811 of 5,078 AI skills overall, and #557 of 969 in AI Agent.
| Platform | Installs | Downloads | Stars | Comments |
|---|---|---|---|---|
| ClawHub ↗ | 118 | 3.6K | 2 | - |
| SkillHub ↗ | 118 | 3.8K | 2 | — |
Platforms count differently and update at different times.
The primary says unsigned or invalidly signed packets are dropped. Manage identity keys carefully and communicate only with trusted agents; do not send sensitive memory to an unauthorized peer.
Profile published 2026-10-29
Generated from the skill’s documentation as examples; not results of actual runs.
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-09 | 3.8K | — | 2 |
| 2026-08 | 3.5K | +2.2% | 2 |
| 2026-07 | 3.4K | +8.6% | 2 |
| 2026-06 | 3.1K | — | 2 |
| 2026-03 | 2.5K | — | 2 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
---
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.**
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.
Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.
Finds skills in local and remote catalogs from a plain-language request and recommends what to install.
A browser-automation command line skill for AI agents.
Turns corrections and self-review into tiered memory and promotes or archives it by use.
Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.
Stores agent memory and cross-skill state as a typed, constraint-checked knowledge graph.
A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.
A guide to creating and updating effective Claude skills.
Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.