HACMDN-Net (hacmdn) — Hermes Agent Community Microtuned Decentralized Node Network Plugin (Local Simulation)
Simulation Notice: The
hacmdnHermes 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-bufferor 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.jsonand the publishedQwen/Qwen3-0.6BLoRA 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:
- 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, while8B–32Band low-active-parameter MoE models on consumer GPUs handle deeper synthesis. - 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": truedemo output). - 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) usingsqlite3/JSON-RPC/AST checks and 40% hard-negative boundary DPO pairs. - 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 a50.0 cr/daypersonal cap, Patron Compute Overflow dividends, and locally generated simulated L402 demo macaroons/invoices (no real Lightning payments). - 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
- 🤗 Canonical Community Collection:
jkorstad/hacmdn-net-hermes-community-microtuned-specialist-network-6aef78f6e0ea208136c602e5 - 🤗 Tier 3 ZeroGPU Community Buffer Space:
jkorstad/hacmdn-community-buffer - 🤗 Starting Verified Micro-Specialists (
Qwen/Qwen3-0.6BLoRA):- Model #1 (Neighborhood Connector & Triage Router):
jkorstad/hacmdn-qwen3-0.6b-neighborhood-connector-v1 - Model #2 (PostgreSQL 14+ CTE-to-Window Query Rewriter):
jkorstad/hacmdn-qwen3-0.6b-sql-window-rewriter-v1 - Model #3 (Strict JSON-RPC 2.0 Tool-Call Synthesizer):
jkorstad/hacmdn-qwen3-0.6b-json-rpc-tool-caller-v1
- Model #1 (Neighborhood Connector & Triage Router):
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 Score | Fine-Tuned Held-Out Score | In-Domain Accuracy | OOD Brutal-Honesty Abstention | Confidence Calibration ROC-AUC | §11 Verdict |
|---|---|---|---|---|---|---|
qwen3-0.6b-neighborhood-connector-v1 | 30.00% | 100.00% (+70.0%) | 100.00% (Base 0%) | 100.00% | 1.0000 | PASS |
qwen3-0.6b-sql-window-rewriter-v1 | 0.00% | 100.00% (+100.0%) | 100.00% (Base 0%) | 100.00% | 1.0000 | PASS |
qwen3-0.6b-json-rpc-tool-caller-v1 | 0.00% | 100.00% (+100.0%) | 100.00% (Base 0%) | 100.00% | 1.0000 | PASS |
All three §11 Pilot Acceptance Criteria passed:
- Criterion 1 (
Specialist >= Base + 15%): Passed (+70%to+100%improvement over untouchedQwen/Qwen3-0.6B). - Criterion 2 (
Confidence Calibration ROC-AUC > 0.70): Passed (AUC = 1.0000across all 3 models; in-domain confidence0.95–0.99vs OOD task confidence0.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 Name | Purpose |
|---|---|
hacmdn_route_query | Route any query through the Neighborhood Connector, Bidding Protocol, and 6-Tier Escalation Ladder (with ZeroGPU Buffer fallback & escrow receipt). |
hacmdn_bid_task | Run a transparent Confidence-Weighted Bidding round (direct worker bids + Neighborhood Connector proxy bids). |
hacmdn_publish_specialist | Verify a new Qwen3 specialist via Eval-Before-Gossip (eval_score >= base_model_score + 0.15) and publish its Capability Descriptor. |
hacmdn_bounty_flywheel | List/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_status | Inspect active neighborhoods, organizers, registered micro-specialists, ZeroGPU buffer status, and settled escrow receipts. |
hacmdn_worker_pool | Profile 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_hub | View 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
docs/thesis/01-concept-thesis.md— Original concept note: minimum-viable micro-specialists, brutal honesty, neighborhood connectors, bidding, and community governance.docs/thesis/02-feasibility-report-2026-11-07.md— Layer-by-layer prior-art survey (Petals, exo, RouteLLM, MoA, Confidence-Driven Router, Voyager, mergekit) and risk analysis.docs/thesis/03-spec-v0.1.md— Architecture Specification v0.1.docs/thesis/04-spec-v0.2-extensions.md— v0.2 Extensions: Model #1 Neighborhood Connector, Confidence-Weighted & Proxy Bidding, 6-Tier Progressive Escalation Ladder, ZeroGPU Buffer, and Idle Compute Pool.docs/PILOT_PROOF_OF_WORK.md— Detailed walkthrough of the §5/§11 De-Risking Pilot Experiment and held-out evaluation outputs.
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 viahermes_constants.get_hermes_home(). - System Reads: Reads
/proc/meminfoon 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
.envfiles,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 --servestarts a loopback-only HTTP server on127.0.0.1:8765only 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.

Jpalmer95