All plugins

hacmdn

Local, deterministic SQLite simulation of the Hermes Agent Community Microtuned Decentralized Node Network (HACMDN-Net) protocol. All tools, slash/CLI commands, web dashboard views, and Hermes Desktop panes run entirely locally with zero network calls: no live mesh, no Hugging Face ZeroGPU call, no Iroh/QUIC P2P traffic, and no real Lightning payments. Simulates neighborhood routing across micro-to-32B/MoE specialist descriptors, semantic-entropy conformal abstention, confidence-weighted and proxy bidding, a 6-tier escalation ladder (with locally simulated Tier 3 buffer fallback and explicitly marked demo outputs), 4 compute pools with Game-Guard hardware profiling, missing-expertise gap sensing, an offline execution-verified distillation curriculum generator, simulated Iroh/QUIC hole-punching and BLAKE3 LoRA blob gossip, and a simulated 70/10/10/10 attribution ledger with a Fair-Share Cap, Patron Compute Overflow, and simulated L402 demo invoices/macaroons. Disclosure — stores simulated network state in a profile-scoped SQLite database via plugins.plugin_storage.plugin_db("hacmdn"); writes HTML preview widgets and synthetic distillation curricula under <hermes_home>/cache/scratch/ via hermes_constants.get_hermes_home(); reads /proc/meminfo on Linux to check available RAM for Game-Guard profiling; requests no secrets or credentials; mounts /api/plugins/hacmdn/* REST routes and a dashboard tab on the Hermes web dashboard plus a right-docked pane and status-bar chip in Hermes Desktop via @hermes/plugin-sdk; and optionally starts a loopback HTTP server on 127.0.0.1:8765 only when the user explicitly runs hermes hacmdn gui --serve.

Jpalmer95Modelsv1.0.0Updated 1 day ago

About

Local, deterministic SQLite simulation of the Hermes Agent Community Microtuned Decentralized Node Network (HACMDN-Net) protocol. All tools, slash/CLI commands, web dashboard views, and Hermes Desktop panes run entirely locally with zero network calls: no live mesh, no Hugging Face ZeroGPU call, no Iroh/QUIC P2P traffic, and no real Lightning payments. Simulates neighborhood routing across micro-to-32B/MoE specialist descriptors, semantic-entropy conformal abstention, confidence-weighted and proxy bidding, a 6-tier escalation ladder (with locally simulated Tier 3 buffer fallback and explicitly marked demo outputs), 4 compute pools with Game-Guard hardware profiling, missing-expertise gap sensing, an offline execution-verified distillation curriculum generator, simulated Iroh/QUIC hole-punching and BLAKE3 LoRA blob gossip, and a simulated 70/10/10/10 attribution ledger with a Fair-Share Cap, Patron Compute Overflow, and simulated L402 demo invoices/macaroons. Disclosure — stores simulated network state in a profile-scoped SQLite database via plugins.plugin_storage.plugin_db("hacmdn"); writes HTML preview widgets and synthetic distillation curricula under <hermes_home>/cache/scratch/ via hermes_constants.get_hermes_home(); reads /proc/meminfo on Linux to check available RAM for Game-Guard profiling; requests no secrets or credentials; mounts /api/plugins/hacmdn/* REST routes and a dashboard tab on the Hermes web dashboard plus a right-docked pane and status-bar chip in Hermes Desktop via @hermes/plugin-sdk; and optionally starts a loopback HTTP server on 127.0.0.1:8765 only when the user explicitly runs hermes hacmdn gui --serve.

HACMDN-Net (hacmdn) — Hermes Agent Community Microtuned Decentralized Node Network Plugin (Local Simulation)

License: Apache-2.0
HF Collection
ZeroGPU Space

Simulation Notice: The hacmdn Hermes plugin tools, slash and CLI commands, web dashboard tab, and Hermes Desktop pane run entirely on a local, deterministic SQLite simulation of the HACMDN-Net protocol and make no network calls:

  • No live mesh: Neighborhood routing, bidding, abstention, and specialist outputs are simulated locally with deterministic demo outputs (not live peer or model inference).
  • No Hugging Face ZeroGPU call: Tier 3 buffer fallback is simulated locally in SQLite; the plugin never sends requests to jkorstad/hacmdn-community-buffer or Hugging Face APIs.
  • No Iroh/QUIC P2P traffic: Rendezvous leases, NAT hole-punching, and BLAKE3 LoRA blob gossip are modeled locally in SQLite with no P2P sockets or relays.
  • No real Lightning payments: L402 BOLT11 invoices, macaroons, preimages, and credit payouts are locally generated demo artifacts (sim-bolt11:... / sim-macaroon:...) — no real satoshis or Lightning Network transactions occur.

(Separately from the plugin runtime, the standalone offline pilot fine-tuning benchmark in data/pilot_eval_results.json and the published Qwen/Qwen3-0.6B LoRA adapter repositories linked below are real Hugging Face artifacts from our §5/§11 pilot experiment.)

HACMDN-Net (Hermes Agent Community Microtuned Decentralized Node Network) is a native Hermes Agent Plugin (hacmdn) that provides an interactive local SQLite simulation and reference prototype of a decentralized specialist routing protocol. Instead of sending every subtask to a monolithic cloud LLM — or having 1,000 community nodes all run redundant copies of the same generalist base model — the HACMDN-Net architecture models an ecosystem of laser-focused niche specialists across the entire consumer-grade spectrum (10M classifiers/translators $\rightarrow$ 0.6B–14B micro-models $\rightarrow$ 32B dense & sparse MoE models with small active parameters) across modalities:

  1. Multi-Tier & Multi-Modal Specialization (Millions of Params → 32B & Sparse MoE): Models how tiny classifiers, parsers, or translation models on a laptop CPU can execute subtasks inside larger workflows, while 8B–32B and low-active-parameter MoE models on consumer GPUs handle deeper synthesis.
  2. Simulated Topological Referral, Connector Routing & Conformal Abstention: Models calibrated abstention ([ABSTAIN: OUT_OF_SCOPE]), Neighborhood Connector (Model #1) proxy bidding, and Organizer Super-Peer escalation up a 6-Tier Escalation Ladder (all evaluated deterministically in local SQLite, returning explicitly marked "simulated": true demo output).
  3. Simulated Self-Healing Lifecycle, Gap Sensing & Execution-Verified Distillation: Tracks local abstention clusters and Shortage Scores to open simulated JIT fine-tuning bounties, and includes an offline synthetic curriculum generator + execution verifier (training/distill_specialist.py) using sqlite3/JSON-RPC/AST checks and 40% hard-negative boundary DPO pairs.
  4. Simulated 70/10/10/10 Attribution, Fair-Share Cap (50.0 cr/day), Patron Overflow & L402 Demo Artifacts: Simulates a value-backed 70% Worker / 10% Specialist Author Royalty / 10% Connector / 10% DeSci & Community Pool credit ledger in SQLite with a 50.0 cr/day personal cap, Patron Compute Overflow dividends, and locally generated simulated L402 demo macaroons/invoices (no real Lightning payments).
  5. Reference ZeroGPU Buffer Space & Pilot LoRA Adapters: Links to the standalone Hugging Face Collection and Demo Space (jkorstad/hacmdn-community-buffer) while simulating Tier 3 fallback locally inside the Hermes plugin with zero network calls.

Live Hugging Face Ecosystem


Verified Proof-of-Work Benchmark (§5 & §11 De-Risking Pilot)

Per §5 and §11 of the Feasibility Report and Architecture Spec v0.1, all three Qwen/Qwen3-0.6B LoRA micro-specialists were fine-tuned and evaluated against the untouched Qwen/Qwen3-0.6B base model on held-out in-domain and out-of-domain (OOD) test splits (training/run_pilot_experiment.py, full raw report in data/pilot_eval_results.json):

Specialist Model (Qwen/Qwen3-0.6B + LoRA r=16)Untouched Base ScoreFine-Tuned Held-Out ScoreIn-Domain AccuracyOOD Brutal-Honesty AbstentionConfidence Calibration ROC-AUC§11 Verdict
qwen3-0.6b-neighborhood-connector-v130.00%100.00% (+70.0%)100.00% (Base 0%)100.00%1.0000PASS
qwen3-0.6b-sql-window-rewriter-v10.00%100.00% (+100.0%)100.00% (Base 0%)100.00%1.0000PASS
qwen3-0.6b-json-rpc-tool-caller-v10.00%100.00% (+100.0%)100.00% (Base 0%)100.00%1.0000PASS

All three §11 Pilot Acceptance Criteria passed:

  • Criterion 1 (Specialist >= Base + 15%): Passed (+70% to +100% improvement over untouched Qwen/Qwen3-0.6B).
  • Criterion 2 (Confidence Calibration ROC-AUC > 0.70): Passed (AUC = 1.0000 across all 3 models; in-domain confidence 0.95–0.99 vs OOD task confidence 0.15–0.16).
  • Criterion 3 (End-to-End OOD Abstention >= 90% at <= 10% Wrong-Accept Risk): Passed (100% OOD abstention, 0% wrong-accept risk).

The 6-Tier Progressive Upstream Escalation Ladder

[Client Query]
      │
      ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Tier 0: Local Micro-Specialist (0.6B LoRA, ~95-135ms)                   │
│   └─ Direct domain match & Semantic-Entropy Confidence >= τ_abstain     │
└───────────────────────────────────┬─────────────────────────────────────┘
                                    │ (Abstain / Not Local)
                                    ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Tier 1: Neighborhood Connector + Confidence-Weighted Bidding Protocol   │
│   └─ Model #1 (`qwen3-0.6b-neighborhood-connector-v1`) triages domain   │
│   └─ Direct Worker Bids + Connector Proxy Bids (90% worker / 10% fee)   │
└───────────────────────────────────┬─────────────────────────────────────┘
                                    │ (No Local Peer Above τ_abstain)
                                    ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Tier 2: Organizer Super-Peer Cross-Neighborhood Bridge (kNN Index)      │
│   └─ 2-hop gossip search across bridged neighborhood organizers         │
└───────────────────────────────────┬─────────────────────────────────────┘
                                    │ (All P2P Workers Offline / TTL Expired)
                                    ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Tier 3: Hugging Face ZeroGPU Community Load-Balancing Buffer            │
│   └─ `jkorstad/hacmdn-community-buffer` dynamically serves approved     │
│      adapters from the HF Community Collection                          │
└───────────────────────────────────┬─────────────────────────────────────┘
                                    │ (No Verified Specialist Covers Domain)
                                    ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Tier 4 & Tier 5: Upstream Generalist Handoff + JIT Fine-Tune Flywheel   │
│   └─ Tier 4: Escalates immediate completion to `Hermes-4-14B` / Host LLM│
│   └─ Tier 5: Emits structured `status: "abstain"` demand signal & opens │
│      an escrowed JIT Fine-Tuning Bounty in the neighborhood ledger      │
└─────────────────────────────────────────────────────────────────────────┘

Installation & Usage in Hermes Agent

Install as a Hermes Plugin

# Clone directly into your Hermes plugins directory (or use hermes plugins install)
git clone https://github.com/Jpalmer95/hacmdn-net.git ~/.hermes/plugins/hacmdn

# Validate with Plugin Doctor & Catalog Validator
hermes plugins doctor ~/.hermes/plugins/hacmdn --ci
hermes plugins validate ~/.hermes/plugins/hacmdn

# Enable in Hermes
hermes plugins enable hacmdn

LLM Tools Provided (toolset: hacmdn)

Tool NamePurpose
hacmdn_route_queryRoute any query through the Neighborhood Connector, Bidding Protocol, and 6-Tier Escalation Ladder (with ZeroGPU Buffer fallback & escrow receipt).
hacmdn_bid_taskRun a transparent Confidence-Weighted Bidding round (direct worker bids + Neighborhood Connector proxy bids).
hacmdn_publish_specialistVerify a new Qwen3 specialist via Eval-Before-Gossip (eval_score >= base_model_score + 0.15) and publish its Capability Descriptor.
hacmdn_bounty_flywheelList/open/claim/fulfill JIT Fine-Tuning Bounties, run the Execution-Verified Synthetic Distillation Factory (distill_bounty), cast stake-weighted Community Governance Votes, or run Idle Compute Pool tasks (open-science, local-business-aid, network-calibration).
hacmdn_network_statusInspect active neighborhoods, organizers, registered micro-specialists, ZeroGPU buffer status, and settled escrow receipts.
hacmdn_worker_poolProfile hardware with Game-Guard, compute Shortage Scores, sync the Outbound HTTPS/WSS Rendezvous Work-Queue & llama.cpp GGUF+LoRA Hot-Swap Daemon (sync_rendezvous_daemon), negotiate Iroh QUIC P2P Hole-Punching & BLAKE3 LoRA Blob Gossip (gossip_and_holepunch_p2p), or execute parallel batch swarms.
hacmdn_contributor_hubView 70/10/10/10 Shared-Entity Attribution & 50.0 cr/day Anti-Whale Community Cap, simulate philanthropic datacenter overflow, settle L402 Lightning Network Micropayments & Cooperative Dividends (settle_l402_and_dividends, verify_l402_receipt), pitch community ideas, or export the Tri-Surface GUI Hub.

In-Session Slash Commands & CLI

# Inside any Hermes chat session (CLI, Desktop, Telegram, Discord):
/hacmdn status
/hacmdn hub
/hacmdn pools
/hacmdn rendezvous
/hacmdn p2p
/hacmdn distill bounty-sqlite-to-duckdb-v1
/hacmdn l402
/hacmdn route Rewrite this PostgreSQL CTE query into a ROW_NUMBER() window function
/hacmdn bid Tool: create_invoice(customer_id='c9', amount=99)
/hacmdn bounties
/hacmdn vote open-science-antimalarial-docking
/hacmdn idle open-science

# From a terminal:
hermes hacmdn status
hermes hacmdn hub
hermes hacmdn pools
hermes hacmdn rendezvous
hermes hacmdn p2p
hermes hacmdn distill --bounty-id bounty-sqlite-to-duckdb-v1
hermes hacmdn l402
hermes hacmdn gui --serve
hermes hacmdn simulate

Documentation & Architecture Thesis


Security, Storage & Privacy Disclosure (Catalog Rule 13)

  • Simulation Scope: All plugin tools, slash/CLI commands, dashboard views, and Desktop panes run locally on a deterministic SQLite model with zero network calls — no live mesh, no Hugging Face ZeroGPU calls, no Iroh/QUIC P2P traffic, and no real Lightning payments. All synthesized tool responses and L402 demo invoices/macaroons are explicitly tagged "simulated": true.
  • Local Storage: Stores simulated neighborhood capability descriptors, fine-tuning bounties, work queues, P2P blob metadata, and attribution receipts in a profile-scoped SQLite database via plugins.plugin_storage.plugin_db("hacmdn") (<hermes_home>/plugin-data/hacmdn/data.db). Writes HTML preview widgets and synthetic distillation curricula under <hermes_home>/cache/scratch/ resolved via hermes_constants.get_hermes_home().
  • System Reads: Reads /proc/meminfo on Linux to inspect available RAM for Game-Guard hardware profiling (network.py).
  • Credentials: None. The plugin requests no secrets, API keys, or environment credentials, and reads no .env files, auth.json, keychains, or external credential stores.
  • Network & Local Servers: Zero outbound network calls. The dashboard extension mounts /api/plugins/hacmdn/{hub,action,rendezvous} inside the Hermes web dashboard; hermes hacmdn gui --serve starts a loopback-only HTTP server on 127.0.0.1:8765 only when explicitly invoked by the user. No telemetry, no self-updating code, and no binary weights shipped in the plugin repository.

License

Licensed under the Apache License, Version 2.0 (Copyright 2026 Jonathan Korstad). See LICENSE.

README from the reviewed commit 74b3e46; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section