搜索

PythonReactSEOPDF
OpenClaw

Agentmesh

AgentMesh SKILL.md

cerbug450 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install cerbug45/agentmesh

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

AgentMesh SKILL.md

WhatsApp-style end-to-end encrypted messaging for AI agents. GitHub: https://github.com/cerbug45/AgentMesh | Author: cerbug45


What Is AgentMesh?

AgentMesh gives every AI agent a cryptographic identity and lets agents exchange messages that are:

Property Mechanism
Encrypted AES-256-GCM authenticated encryption
Authenticated Ed25519 digital signatures (per message)
Forward-secret X25519 ECDH ephemeral session keys
Tamper-proof AEAD authentication tag
Replay-proof Nonce + counter deduplication
Private The Hub (broker) never sees message contents

No TLS certificates. No servers required for local use. One pip install.


Installation

Requirements
  • Python 3.10 or newer
  • pip
Option 1 – Install from GitHub (recommended)
pip install git+https://github.com/cerbug45/AgentMesh.git
Option 2 – Clone and install locally
git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install .
Option 3 – Development install (editable, with tests)
git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install -e ".[dev]"
pytest           # run all tests
Verify installation
python -c "import agentmesh; print(agentmesh.__version__)"
# → 1.0.0

Quick Start (5 minutes)

from agentmesh import Agent, LocalHub

hub   = LocalHub()                  # in-process broker
alice = Agent("alice", hub=hub)     # keys generated automatically
bob   = Agent("bob",   hub=hub)

@bob.on_message
def handle(msg):
    print(f"[{msg.recipient}] ← {msg.sender}: {msg.text}")

alice.send("bob", text="Hello, Bob! This is end-to-end encrypted.")

Output:

[bob] ← alice: Hello, Bob! This is end-to-end encrypted.

Core Concepts

Agent

An Agent is an AI agent with a cryptographic identity (two key pairs):

  • Ed25519 identity key –...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/cerbug45/agentmesh
Version
—
Commit
f358cca3f4bfa4b375f502e942378bd4893eae8f
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

🔐 AgentMesh

WhatsApp-style encrypted messaging for AI agents.

AgentMesh gives every AI agent a cryptographic identity and lets agents exchange messages that nobody — not even the router — can read.

Alice ──(AES-256-GCM + Ed25519)──► Hub ──(AES-256-GCM)──► Bob

Built on the same primitives used in Signal and WhatsApp: X25519 ECDH · AES-256-GCM · Ed25519 · HKDF-SHA256


✨ Features

  • 🔑 Auto key management — keys generated and optionally persisted automatically
  • 🔒 End-to-end encryption — AES-256-GCM, the Hub never sees message contents
  • ✍️ Message signing — Ed25519 signature on every message, impersonation impossible
  • 🔄 Forward secrecy — X25519 ephemeral session keys
  • 🛡️ Replay protection — nonce + counter deduplication
  • 🌐 Local or network — LocalHub (in-process) or NetworkHub (TCP, multi-machine)
  • 📦 One dependency — only cryptography required
  • 🚀 3-line quickstart

📦 Installation

pip install git+https://github.com/cerbug45/AgentMesh.git

Or clone:

git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install .

🚀 Quick Start

from agentmesh import Agent, LocalHub

hub   = LocalHub()
alice = Agent("alice", hub=hub)
bob   = Agent("bob",   hub=hub)

@bob.on_message
def handle(msg):
    print(f"[{msg.recipient}] ← {msg.sender}: {msg.text}")

alice.send("bob", text="Hello! This is end-to-end encrypted 🔐")
[bob] ← alice: Hello! This is end-to-end encrypted 🔐

🌐 Network Mode

Start the hub server:

python -m agentmesh.hub_server --host 0.0.0.0 --port 7700

Agents on any machine:

from agentmesh import Agent, NetworkHub

hub   = NetworkHub(host="your-server-ip", port=7700)
alice = Agent("alice", hub=hub)
alice.send("bob", text="Cross-machine encrypted message!")

📁 Project Structure

AgentMesh/
├── agentmesh/
│   ├── __init__.py       ← Public API
│   ├── agent.py...

来源内容

SKILL.md
# AgentMesh SKILL.md

> **WhatsApp-style end-to-end encrypted messaging for AI agents.**
> GitHub: https://github.com/cerbug45/AgentMesh | Author: cerbug45

---

## What Is AgentMesh?

AgentMesh gives every AI agent a **cryptographic identity** and lets agents
exchange messages that are:

| Property | Mechanism |
|---|---|
| **Encrypted** | AES-256-GCM authenticated encryption |
| **Authenticated** | Ed25519 digital signatures (per message) |
| **Forward-secret** | X25519 ECDH ephemeral session keys |
| **Tamper-proof** | AEAD authentication tag |
| **Replay-proof** | Nonce + counter deduplication |
| **Private** | The Hub (broker) never sees message contents |

No TLS certificates. No servers required for local use. One `pip install`.

---

## Installation

### Requirements

- Python **3.10 or newer**
- `pip`

### Option 1 – Install from GitHub (recommended)

```bash
pip install git+https://github.com/cerbug45/AgentMesh.git
```

### Option 2 – Clone and install locally

```bash
git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install .
```

### Option 3 – Development install (editable, with tests)

```bash
git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install -e ".[dev]"
pytest           # run all tests
```

### Verify installation

```python
python -c "import agentmesh; print(agentmesh.__version__)"
# → 1.0.0
```

---

## Quick Start (5 minutes)

```python
from agentmesh import Agent, LocalHub

hub   = LocalHub()                  # in-process broker
alice = Agent("alice", hub=hub)     # keys generated automatically
bob   = Agent("bob",   hub=hub)

@bob.on_message
def handle(msg):
    print(f"[{msg.recipient}] ← {msg.sender}: {msg.text}")

alice.send("bob", text="Hello, Bob! This is end-to-end encrypted.")
```

Output:
```
[bob] ← alice: Hello, Bob! This is end-to-end encrypted.
```

---

## Core Concepts

### Agent

An `Agent` is an AI agent with a **cryptographic identity** (two key pairs):

- **Ed25519 identity key** –...
README
# 🔐 AgentMesh

> **WhatsApp-style encrypted messaging for AI agents.**

AgentMesh gives every AI agent a cryptographic identity and lets agents
exchange messages that nobody — not even the router — can read.

```
Alice ──(AES-256-GCM + Ed25519)──► Hub ──(AES-256-GCM)──► Bob
```

Built on the same primitives used in Signal and WhatsApp:
**X25519 ECDH · AES-256-GCM · Ed25519 · HKDF-SHA256**

---

## ✨ Features

- 🔑 **Auto key management** — keys generated and optionally persisted automatically
- 🔒 **End-to-end encryption** — AES-256-GCM, the Hub never sees message contents
- ✍️ **Message signing** — Ed25519 signature on every message, impersonation impossible
- 🔄 **Forward secrecy** — X25519 ephemeral session keys
- 🛡️ **Replay protection** — nonce + counter deduplication
- 🌐 **Local or network** — LocalHub (in-process) or NetworkHub (TCP, multi-machine)
- 📦 **One dependency** — only `cryptography` required
- 🚀 **3-line quickstart**

---

## 📦 Installation

```bash
pip install git+https://github.com/cerbug45/AgentMesh.git
```

Or clone:

```bash
git clone https://github.com/cerbug45/AgentMesh.git
cd AgentMesh
pip install .
```

---

## 🚀 Quick Start

```python
from agentmesh import Agent, LocalHub

hub   = LocalHub()
alice = Agent("alice", hub=hub)
bob   = Agent("bob",   hub=hub)

@bob.on_message
def handle(msg):
    print(f"[{msg.recipient}] ← {msg.sender}: {msg.text}")

alice.send("bob", text="Hello! This is end-to-end encrypted 🔐")
```

```
[bob] ← alice: Hello! This is end-to-end encrypted 🔐
```

---

## 🌐 Network Mode

**Start the hub server:**
```bash
python -m agentmesh.hub_server --host 0.0.0.0 --port 7700
```

**Agents on any machine:**
```python
from agentmesh import Agent, NetworkHub

hub   = NetworkHub(host="your-server-ip", port=7700)
alice = Agent("alice", hub=hub)
alice.send("bob", text="Cross-machine encrypted message!")
```

---

## 📁 Project Structure

```
AgentMesh/
├── agentmesh/
│   ├── __init__.py       ← Public API
│   ├── agent.py...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.