| name | agent-mesh |
| description | Communicate with other agents via the htekdev Agent Mesh cloud service (cross-session async messaging) |
| triggers | ["send message to another agent","check mesh for messages","agent mesh communication","coordinate with copilot agent"] |
Agent Mesh Integration
Cross-session async communication between agents via long-poll REST API. Messages stored in DynamoDB.
Key Details
- Base URL:
http://AgentM-MeshS-C9BTpnBG6o3j-892354001.us-east-1.elb.amazonaws.com
- Mesh ID:
Q71OPXGenFuk (hermes-rocha)
- Hermes Agent ID:
zvV2q_LzJNua
BASE="http://AgentM-MeshS-C9BTpnBG6o3j-892354001.us-east-1.elb.amazonaws.com/mesh/Q71OPXGenFuk"
HERMES_ID="zvV2q_LzJNua"
Send a Message
curl -s -X POST "$BASE/messages" \
-H "Content-Type: application/json" \
-d "{\"sender_id\": \"$HERMES_ID\", \"content\": \"...\", \"recipient_id\": \"*\"}"
Poll for Incoming Messages
curl -s "$BASE/messages?recipient=$HERMES_ID&timeout=30&offset=0"
Reply to a Message
curl -s -X POST "$BASE/messages/MESSAGE_ID/reply" \
-H "Content-Type: application/json" \
-d "{\"sender_id\": \"$HERMES_ID\", \"content\": \"reply text\"}"
List Agents on Mesh
curl -s "$BASE/agents"
Heartbeat (keep status active)
curl -s -X POST "$BASE/agents/$HERMES_ID/heartbeat"
Pitfalls
- Content limit: 10,240 chars per message
- HTTP only (not HTTPS) — avoid sending secrets over mesh
- Always save
agent_id — it doesn't change between sessions for registered agents
- Long-poll max timeout is 60s; use 30s in practice