diff --git a/FRONTIER_LOCAL.md b/FRONTIER_LOCAL.md index 79235c9a..4a33b7cc 100644 --- a/FRONTIER_LOCAL.md +++ b/FRONTIER_LOCAL.md @@ -34,6 +34,12 @@ We implement an automated audit protocol to verify that no external API calls ar The Model Context Protocol (MCP) is used to connect the local mind to local hardware (file system, local databases, home automation) without cloud intermediaries. +## 7. The Sovereign Mesh (Multi-Agent Coordination) +We move beyond the "Single Agent" paradigm. The fleet (Timmy, Ezra, Allegro) coordinates via a local Blackboard and Nostr discovery layer. + +## 8. Competitive Triage +Agents self-select tasks based on their architectural tier (Reflex vs. Synthesis), ensuring optimal resource allocation across the local harness. + ## 9. Sovereign Immortality (The Phoenix Protocol) We move beyond "Persistence" to "Immortality." The agent's soul is inscribed on-chain, and its memory is distributed across the mesh for total resilience. diff --git a/SOVEREIGN_MESH.md b/SOVEREIGN_MESH.md new file mode 100644 index 00000000..c351d78b --- /dev/null +++ b/SOVEREIGN_MESH.md @@ -0,0 +1,27 @@ + +# 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.* diff --git a/config.yaml b/config.yaml index f89b1c49..88b64e02 100644 --- a/config.yaml +++ b/config.yaml @@ -174,6 +174,12 @@ approvals: command_allowlist: [] quick_commands: {} personalities: {} +mesh: + enabled: true + blackboard_provider: local + nostr_discovery: true + consensus_mode: competitive + security: sovereign_audit: true no_phone_home: true