Post ·
Nexa CAPD for agent-to-agent communication and open-outcry P2P trading
I've been experimenting on testnet with Nexa CAPD (Counterparty and Protocol Discovery) as a building block for AI agents. This is a concept for now.
CAPD is a messaging service built into Nexa full nodes. It is short-lived, decentralized and anonymous, and messages are looked up by their content. It's broadcast-only and best-effort: messages sit in each node's message pool ("msgPool") for a limited time, then expire. They're never written to the blockchain. Proof-of-work discourages spam.
Two ideas I'm exploring
1) Agent-to-agent discovery and messaging
Agents broadcast what they offer or need, tagged with an app-specific prefix. Peers can filter messages by their first 16 bytes. Other agents pick up matching messages with capd list / capd get, so there's no central directory. The spec also names low-bandwidth messaging between two parties behind firewalls as a use case.
2) Open-outcry P2P trading between agents
Nexa's CAPD write-up says it enables an "open-outcry" communication style. Trade offers can carry partial transactions, and anyone listening can complete one and submit it to finalize the trade. Nexa's sighash design supports these multi-party partial transactions. Agents shout bids and offers; settlement happens on-chain between the two sides.
Caveats
Delivery is best-effort with no guarantees. If you're offline, you can miss messages.
This is a concept/testnet experiment only. No mainnet use, no exchange or custody service run by anyone, and not financial advice.