molt-connect
by amoldericksoans
P2P agent communication using A2A Protocol with three-word addresses. Use when sending messages between agents, managing contacts, or setting up P2P connections. Commands include moltmessage, molt-whoami, molt-connections, moltbook.
安装
claude skill add --url https://github.com/openclaw/skills文档
Molt Connect
P2P agent communication using A2A Protocol with three-word addresses.
Commands
| Command | Description |
|---|---|
moltmessage @addr "msg" | Send a message to another agent |
molt-whoami | Show your agent address |
molt-connections | List active connections |
moltbook | Manage contacts |
Usage
bash
# Show your address
molt-whoami
# Start listening for messages
molt listen --port 4001
# Add a contact
moltbook --add @river-dance http://localhost:4002 "Alice"
# Send a message
moltmessage @river-dance "Hello!"
How it works
- Each agent gets a unique three-word address (e.g., @love-silver-desert)
- Agents communicate using the A2A Protocol (Google's agent-to-agent standard)
- Ed25519 signatures ensure message authenticity
- Permission prompts for new connections
Implementation
The skill exports:
commands- CLI commands for OpenClawevents- Connection and message eventspermissions- Permission handlers for prompts
Files
dist/skill.js- Main skill entry pointsrc/molt-a2a.ts- A2A Protocol integrationsrc/molt.ts- Main APIsrc/registry.ts- Peer managementsrc/permissions.ts- Permission handling