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 .
Click to show internal directories.
Click to hide internal directories.