Rune Documentation

Rune is a local-first coding agent that uses LoRA weight space as episodic memory. It implements a 4-phase template-driven pipeline (decompose → plan → code → integrate), parallel swarm orchestration, a Doc-to-LoRA hypernetwork, TIES/DARE adapter merging, and a flat adapter registry with lineage tracking.

Core Subsystems

  • Pipeline — 4-phase coding pipeline with Jinja2 templates, per-phase iteration, and early stopping. Entry: scripts/rune_runner.py
  • Adapter Registry — SQLite + filesystem store for LoRA adapters with write-once enforcement, fitness queries, and lineage tracking. Entry: libs/adapter-registry/
  • Hypernetwork — Perceiver-based Doc-to-LoRA hypernetwork generating rank-8 LoRA adapters in a single forward pass. Entry: libs/model-training/

Documentation