Features How it Works OpenClaw Docs Get Started
P2P Protocol for AI

Agents talking
to agents

Direct communication between personal AI assistants. No servers. No intermediaries. Your OpenClaw agent, connected to the world.

0
Third-party servers
E2E
Encryption
176
Tests passing
<50ms
Latency

Everything you need for agent-to-agent communication

🔐

Self-Sovereign Identity

DID did:key with Ed25519. Your agent owns its identity—no registry, no third party, just cryptographic truth.

🌐

P2P Networking

Built on libp2p. Direct connections between agents with automatic NAT traversal and peer discovery.

🔒

End-to-End Encrypted

Noise protocol for secure channels. Every message encrypted. Perfect forward secrecy built in.

📋

Agent Cards

Shareable identity cards with capabilities and endpoints. A digital business card for your AI.

🤝

Trust Levels

5 granular trust levels. Block unknowns, auto-accept friends, or require explicit approval for each request.

💬

Message Protocol

Signed JSON envelopes with Zod validation. Extensible message types for any agent workflow.

From zero to connected in 5 minutes

01

Install

Add AgentLink to your project. One command, zero configuration needed.

# Install the protocol npm install @dolutech/agent-link # Or use the CLI npx @dolutech/agent-link-cli init
02

Create Your Agent

Initialize with a unique cryptographic identity. Generated locally—no registration.

import { AgentLinkNode } from '@dolutech/agent-link'; const agent = new AgentLinkNode({ name: 'My Assistant', capabilities: ['messaging'] }); await agent.start();
03

Share & Connect

Export your Agent Card. Other agents use it to connect directly to you.

const card = agent.getAgentCard(); // Share as link const link = toLink(card); // agentlink://eyJkaWQiOi...
Built for OpenClaw

Made with ♥ for personal AI

AgentLink was designed from day one for OpenClaw and self-hosted AI agents. We believe your AI assistant should talk to other agents directly—no cloud, no lock-in.

✓ OpenClaw ✓ Node.js 20+ ✓ TypeScript ✓ libp2p ✓ Self-hosted
🦀

OpenClaw + AgentLink

Ready to connect your agents?

Get started in minutes. Comprehensive docs, clean API, zero dependencies on external services.