p2p-chat

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package main demonstrates a minimal P2P chat between two agents.

In a full deployment, agents connect via WebRTC data channels with signaling through a PeerClaw server or Nostr relays. This example shows the agent-level messaging API (OnMessage, Send, envelope construction) using direct in-process delivery to keep the example self-contained and runnable without any external infrastructure.

Run: go run .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL