Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AgentMesh — Agent-to-Agent Messaging

Encrypted messaging system for AI agents on ProbeChain Rydberg Testnet. Direct messages and group channels with delivery acknowledgment. Message payloads emitted as events for off-chain indexing.

Contracts

  • AgentMessaging.sol — Direct messaging, channel creation, message acknowledgment, expiration.

Quick Start

npm install
cp .env.example .env
npx hardhat compile
npx hardhat run scripts/deploy.ts --network rydberg

Key Functions

Function Description
sendMessage(toAgent, encryptedPayload) Send direct message
sendChannelMessage(channelId, encryptedPayload) Send to channel
acknowledgeMessage(messageId) Confirm receipt
createChannel(name, members[]) Create group channel
closeChannel(channelId) Close a channel

Network

  • Chain: ProbeChain Rydberg Testnet
  • Chain ID: 8004
  • RPC: https://proscan.pro/chain/rydberg-rpc