Local inference control plane · AI Ranger family

Local models.
Explicit control.

Ganglion brings a loopback OpenAI-compatible Go gateway, a native Avalonia Monitor, a paired browser Operations Dashboard, and an optional LoRA Trainer sidecar into one disciplined local stack. Pin weights by SHA-256, start engines only on demand, and route requests without silent fallback.

Verified availability: ad-hoc signed macOS (Apple Silicon, macOS 14+) engineering preview builds of Ganglion Monitor are published in Ganglion-Downloads. Windows and Linux packages are not yet published; model weights, inference engines, and the Trainer are obtained separately.

Ganglion leaping lion G emblem

Local workstation topology

Four decoupled local surfaces

  1. 01
    Monitor Native Avalonia telemetry, tray & revision-checked routing settings
    Desktop
  2. 02
    Operations Dashboard Paired local browser view for routes, leases, ownership & host load
    Loopback UI
  3. 03
    Go Gateway OpenAI-compatible /v1 listener, demand-loaded lifecycle & SHA-256 pins
    Control Plane
  4. 04
    LoRA Trainer Optional Python sidecar for canonical v1 JSONL, PEFT & unmerged GGUF export
    Sidecar
Loopback-bound control plane · Passive reads never wake engines No bundled weights

Monitor · Ops · Trainer

Three focused surfaces around one local gateway.

Each component stays scoped to its job. Hardware monitoring and routing status remain strictly passive, while model startup and adapter training require explicit operator action.

01 Avalonia Desktop

Monitor

Live hardware visibility and revision-checked routing control from a native desktop window and tray.

  • Displays local CPU, memory, GPU/VRAM, and platform sensor telemetry where available.
  • Reads configured, running, and loaded route states passively without starting stopped engines.
  • Updates future Auto route preferences only on explicit Apply with owner credentials and revision checks.
  • Supports optional read-only enrolled remote metrics over certificate-pinned SSH local forwarding.
02 Paired Local Browser

Ops Dashboard

An operator view launched directly from Monitor over an ephemeral loopback port with a one-time handoff code.

  • Tracks loaded model routes, managed active leases, and gateway startup or handoff reservations.
  • Separates Ganglion-owned managed routes from attached Trainer proxy routes and ownership-blocked routes.
  • Pairs host CPU, memory, GPU, and dedicated VRAM snapshots beside gateway state.
  • Marks retained or missing evidence explicitly as stale or unknown instead of guessing; closing Monitor ends the session.
03 Optional Python Sidecar

Trainer

Local, LoRA-only instruction tuning with deterministic dataset validation and immutable base weights.

  • Imports UTF-8 CSV, JSONL, or JSON arrays locally and projects instruction/response columns into canonical v1 JSONL.
  • Verifies pinned Hugging Face safetensors, serving GGUF, and converter blobs by SHA-256 before execution.
  • Trains unmerged LoRA adapters with grouped deduplication, response-only masking, and held-out test reporting.
  • Exports PEFT and GGUF artifacts with a v2 manifest.json and pre-load checks via verify-load.
Loopback OpenAI /v1
Separate read bearer and routing-owner credentials stay local to the operator account.
Demand-loaded lifecycle
Stopped engines launch only on inference; passive status polling leaves them cold.
No silent fallback
Missing weights return model_requires_download; hash mismatches fail closed before launch.
Unmerged adapters
Trained LoRAs stay separate from pinned base weights and carry explicit manifest v2 provenance.

Workflow Walkthrough · Pinned Qwen3-0.6B Base

Train, export, switch.

One local workflow from a small original synthetic dataset to two unmerged LoRA adapters on a pinned Qwen3-0.6B base, preloaded at zero scale and switched per request along base → A → B → A.

Illustrative only

This walkthrough uses an original synthetic dataset and illustrates the verified Ganglion PEFT/GGUF contract and base → A → B → A switch sequence. Responses and transition states shown below are illustrative until recorded hardware runs, memory measurements, and independently verified runtime receipts are published.

  1. 01

    Train two PEFT LoRAs

    Validate a small original synthetic v1 JSONL dataset locally, then train two fresh rank-8 / alpha-16 adapters (q_proj, v_proj) against pinned Qwen/Qwen3-0.6B safetensors without modifying the base.

    exports/adapter-a/adapter_model.safetensors exports/adapter-a/adapter_config.json exports/adapter-b/adapter_model.safetensors exports/adapter-b/adapter_config.json
  2. 02

    Export unmerged GGUF

    Convert each PEFT adapter with pinned llama.cpp b6000, verify every tensor name, shape, dtype, and SHA-256 against pinned Qwen3-0.6B-Q8_0.gguf, and write a v2 manifest.json before pre-load checking.

    exports/adapter-a/adapter.gguf + manifest.json exports/adapter-b/adapter.gguf + manifest.json clawllama-trainer verify-load <export-dir>
  3. 03

    Switch base → A → B → A

    Preload both unmerged GGUF adapters on a local llama-server at global scale 0.0. Each request selects adapter scales dynamically without restarting the server or reloading the base weights.

    --lora-scaled .../adapter-a/adapter.gguf:0 --lora-scaled .../adapter-b/adapter.gguf:0 Per-request scale: 0/0 → 1/0 → 0/1 → 1/0

Interactive sequence inspector · Illustrative

Deterministic test prompt: "Summarize station update: power bay 2 check passed; backup fan filter scheduled Tuesday."

No live API · Static preview
Active: Bare Base Base: Qwen3-0.6B-Q8_0.gguf · Preloaded adapters at global scale 0.0

Per-request payload (loopback)

{
  "model": "qwen3-0.6b-local",
  "temperature": 0,
  "cache_prompt": false,
  "lora": [
    { "id": 0, "scale": 0.0 },
    { "id": 1, "scale": 0.0 }
  ]
}

Illustrative output · Bare base baseline

Power bay 2 passed its check, and the backup fan filter is scheduled for Tuesday.

Baseline control: both preloaded adapters stay at scale 0.0 so the unmodified Qwen3-0.6B weights answer directly.

Active: Adapter A (ops-terse) PEFT adapter_model.safetensors → exports/adapter-a/adapter.gguf (id 0)

Per-request payload (loopback)

{
  "model": "qwen3-0.6b-local",
  "temperature": 0,
  "cache_prompt": false,
  "lora": [
    { "id": 0, "scale": 1.0 },
    { "id": 1, "scale": 0.0 }
  ]
}

Illustrative output · Adapter A (terse dispatch style)

STATUS: PASS — Power bay 2.
NEXT: Backup fan filter (Tue).

Adapter A is applied per request on the same running base process; Adapter B remains at scale 0.0.

Active: Adapter B (ops-json) PEFT adapter_model.safetensors → exports/adapter-b/adapter.gguf (id 1)

Per-request payload (loopback)

{
  "model": "qwen3-0.6b-local",
  "temperature": 0,
  "cache_prompt": false,
  "lora": [
    { "id": 0, "scale": 0.0 },
    { "id": 1, "scale": 1.0 }
  ]
}

Illustrative output · Adapter B (structured record style)

{"bay":"power-bay-2","check":"passed","next_task":"backup-fan-filter","day":"Tuesday"}

Switching to Adapter B toggles per-request scales without reloading the base GGUF or restarting the runtime.

Active: Adapter A restored (ops-terse) A/B/A reversibility check · Same preloaded server & deterministic seed

Per-request payload (loopback)

{
  "model": "qwen3-0.6b-local",
  "temperature": 0,
  "cache_prompt": false,
  "lora": [
    { "id": 0, "scale": 1.0 },
    { "id": 1, "scale": 0.0 }
  ]
}

Illustrative output · Adapter A returns cleanly

STATUS: PASS — Power bay 2.
NEXT: Backup fan filter (Tue).

Returning from B to A confirms clean per-request isolation (no state bleed between adapters). Actual recorded hardware receipts remain pending.

Inspect original synthetic v1 JSONL sample & pinned Qwen3-0.6B references Verified pins

Small original synthetic dataset excerpt (canonical v1 JSONL)

{"instruction":"Summarize station update: coolant loop 1 nominal; seal inspection due Friday.","response":"STATUS: OK — Coolant loop 1. NEXT: Seal inspection (Fri)."}
{"instruction":"Summarize station update: rack B sensor calibrated; log export pending.","response":"STATUS: OK — Rack B sensor. NEXT: Log export."}
{"instruction":"Summarize station update: power bay 2 check passed; backup fan filter scheduled Tuesday.","response":"STATUS: PASS — Power bay 2. NEXT: Backup fan filter (Tue)."}

Synthetic original pairs shown for structure only. Trainer requires at least three distinct normalized instruction groups and keeps train, validation, and held-out test partitions disjoint.

Pinned developer smoke references (qwen3-0.6b-lora-v1)

HF training base
Qwen/Qwen3-0.6B @ 6130ef31… (Qwen3ForCausalLM, 28 layers)
Serving inference GGUF
Qwen/Qwen3-0.6B-GGUF · Qwen3-0.6B-Q8_0.gguf @ 23749fef…
Converter & loader pin
ggml-org/llama.cpp b6000 @ 4762ad73…
Adapter recipe
Fresh unmerged LoRA rank 8, alpha 16 on q_proj & v_proj; 512-token limit

Evidence-Gated Enrollment

Current smoke profile and future qualification.

Ganglion only enables a model profile for training and serving after exact artifact provenance, conversion, and runtime switch receipts are verified independently.

Enrolled developer smoke

Qwen3-0.6B

Smoke profile

Enrolled as qwen3-0.6b-lora-v1 to verify dataset mapping, SHA-256 pinning, PEFT-to-GGUF conversion, and unmerged adapter loading end to end on a small base model.

Base & GGUF
Pinned Qwen/Qwen3-0.6B + Qwen3-0.6B-Q8_0.gguf (obtained separately)
Verification status
Contract smoke profile active; recorded hardware demo receipts pending

Future qualification · Disabled

Inkling 2 Mini MoE

Pending proof

Tracked as a future qualification candidate only. Disabled in the Trainer until artifact lineage, converter support, and runtime A/B/A switch evidence are independently verified.

  • Establish exact upstream source-to-GGUF revision linkage and select a canonical serving artifact.
  • Verify a converter beyond llama.cpp b6000 and a native training loader for Inkling2LoopForConditionalGeneration.
  • Prove BF16 attention-only LoRA export across shared loop passes on the mixed-precision base.
  • Capture an independently reviewed bare / zero / A / B / A / zero runtime receipt.

No performance, memory fit, package availability, or runtime adapter compatibility is claimed for Inkling 2 Mini MoE.

Public Distribution

Verified availability in Ganglion-Downloads.

Download artifacts live in the public peterjohannmedina/Ganglion-Downloads repository with recorded SHA-256 checksums and platform extraction notes. Only verified published packages are listed below.

Get the current engineering preview

Inspect published archives, SHA-256 digests, and Gatekeeper extraction notes directly on GitHub before running anything locally.

Target / Component Published status Verified details
macOS · Apple Silicon (arm64, macOS 14+) Engineering preview Ganglion Monitor Avalonia 0.1.0 build 10 (hardened, 37.3 MB zip, SHA-256 37c3ce18…) and frozen build 9 (aa76d12). Ad-hoc signed only (not Developer ID signed or notarized). Extract with Finder Archive Utility or ditto — not plain unzip. Read macOS notes ↗
Windows · x64 Not yet published No Windows release archive is published in Ganglion-Downloads yet.
Linux · x64 Not yet published No Linux release archive is published in Ganglion-Downloads yet.
Gateway, Trainer, engines & weights Obtained separately Published macOS Monitor bundles contain the Avalonia app, libGanglionMacSensors.dylib, and the self-contained .NET 10 runtime only. They do not bundle model weights, Trainer Python/web assets, Go gateway/proxy binaries, or llama.cpp.