28 lines
1.5 KiB
Markdown
28 lines
1.5 KiB
Markdown
|
|
# 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 `write` a thought or observation to the blackboard; other agents `subscribe` to 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:**
|
|
1. A task is posted to the Blackboard.
|
|
2. Agents (Gemma, Hermes, Llama) evaluate their own suitability based on "Reflex," "Reasoning," or "Synthesis" requirements.
|
|
3. 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.*
|