1.5 KiB
1.5 KiB
Sovereign Mesh: Multi-Agent Orchestration Protocol v1.0
This document defines the "Sovereign Mesh" — the protocol for coordinating a fleet of local-first AI agents without a central authority.
1. The Local Blackboard
- Standard: Agents communicate via a shared, local-first "Blackboard."
- Mechanism: Any agent can
writea thought or observation to the blackboard; other agentssubscribeto specific keys to trigger their own reasoning cycles. - Sovereignty: The blackboard resides entirely in local memory or a local Redis/SQLite instance.
2. Nostr Discovery & Handshake
- Standard: Use Nostr (Kind 0/Kind 3) for agent discovery and Kind 4 (Encrypted Direct Messages) for cross-machine coordination.
- Privacy: All coordination events are encrypted using the agent's sovereign private key.
3. Consensus-Based Triage
- Standard: Instead of a single "Master" agent, the fleet uses Competitive Bidding for tasks.
- Process:
- A task is posted to the Blackboard.
- Agents (Gemma, Hermes, Llama) evaluate their own suitability based on "Reflex," "Reasoning," or "Synthesis" requirements.
- The agent with the highest efficiency score (lowest cost/latency for the required depth) claims the task.
4. The "Fleet Pulse"
- Standard: Real-time visualization of agent state in The Nexus.
- Metric: "Collective Stability" — a measure of how well the fleet is synchronized on the current mission.
One mind, many bodies. Sovereignty through coordination.