Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ARC-Neuron LLMBuilder

A governed local AI build-and-memory system โ€” train small language models, measure them, promote the better ones through a regression-aware gate, and keep every decision restorable.

Local-first. Evidence-backed. Promotion-gated. Rollback-safe. Part of the seven-repo ARC ecosystem.

๐Ÿ–ฅ๏ธ Built, tested, and verified on a 2012 Intel Mac running macOS Catalina. If it runs there, it runs anywhere. The four governed promotions, the 115-test suite, the Omnibinary throughput numbers, and the 9-step proof workflow were all produced on 12-year-old consumer hardware with a pre-Retina Intel CPU. No GPU. No cloud. No accelerator. Just Python and a lot of discipline.

๐Ÿ’ซ Thanks to our supporters

Stargazers

Topics: local AI

License: MIT Python 3.10+ Validator: passing Gate: v2 Audited: v10 Release: v1.0.0-governed Sponsor Ecosystem Discussions Runs on a 2012 Intel Mac CPU only

Table of contents


๐Ÿค– Live deployment โ€” continuous-learning AI operative

A real AI operative feeds this corpus every day. The ARC GitHub AI Operator answers code-review issues on the Portfolio via Cloudflare Workers AI, posts a verdict back on the issue, and emits every production review as a supervised training example in this repo's seed-examples schema. The nightly workflow ingest-operator-reviews.yml pulls those artifacts into data/critique/operator_reviews.jsonl, dedupes by id, and bumps human-correction records (from Portfolio Follow-up issues) by +0.05 confidence so Gate v2 weights them higher.

flowchart LR
 P["Portfolio<br/>code-review issue"] --> OP["gh-ai-operator<br/>CF Workers AI + Actions"]
 OP -- "verdict comment" --> P
 OP -- "training JSONL" --> A["llmbuilder-training-export<br/>artifact"]
 A --> IN["this repo<br/>ingest-operator-reviews.yml (daily 03:17 UTC)"]
 IN --> C["data/critique/operator_reviews.jsonl"]
 C --> G["next Gate v2 candidate"]
 P -. follow-up .-> COR["correction JSONL<br/>+0.05 confidence"]
 COR --> A
 style OP fill:#0366d6,stroke:#fff,color:#fff
 style IN fill:#7057ff,stroke:#fff,color:#fff
Loading

Nothing auto-promotes to the curated seed_examples.jsonl โ€” ingested data stays in a separate shard so a human curator keeps the final call. Full pipeline: docs/LIVE_DEPLOYMENT_LEARNING.md. Activation is one secret: OPERATOR_READ_TOKEN (PAT with Actions: Read on GareBear99/gh-ai-operator).

Live-run evidence: docs/OPERATOR_EVIDENCE.md โ€” chronological log of real runs. First entry (FreeEQ8, Portfolio issue #1) documents the verdict, the JSONL shape, and the ingest manifest with no code changes required to accept it.



๐Ÿ”ฌ Independent Audit Results โ€” v10 (2026ๅนด05ๆœˆ04ๆ—ฅ)

An independent DARPA-level code audit found 4 structural defects in the original benchmark and rubric, corrected all of them, and ran 4 consecutive governed promotion cycles. Every result is reproducible.

True baseline (post-fix): 0.6836 โ†’ Current: 0.9237 (+35.1%)

Capability Pre-Audit v10
critique 0.7500 1.0000
planning 0.8571 1.0000
repair 0.6667 1.0000
paraphrase_stability 0.8666 1.0000
quantization_retention 0.6667 1.0000
compression 0.5667 0.9167
out_of_domain 0.7500 0.9667
instruction_following 0.5833 0.9250
reasoning 0.5500 0.8833
reflection 0.5667 0.8375
continuity 0.5833 0.7708
OVERALL 0.6836 0.9237

4 governed promotions | 0 floor failures | 0 severe regressions | repository validator passing

โ†’ Full audit report | Step-by-step guide | How to grow it | Use cases

What 0.9237 actually means: The current model is a TF-IDF retrieval system over 669 stored examples โ€” not a trained neural network. The benchmark tasks are hand-authored engineering prompts; the rubric measures vocabulary patterns that correlate with good answers. These are documented limitations, not hidden ones. The score represents the honest ceiling of the exemplar architecture. The transformer layer (arc_core/transformer.py) is the next step. See docs/BENCHMARK_PROOF.md ยง8 Known Limitations for the full statement.


What this is

Honest status, patched package: this repository is best described as a governed alpha cognition lab / proof-of-loop package. The governance, receipts, benchmark, native tiny/small model, GGUF export, and promotion machinery are real. The included model tiers are intentionally small reference brains, not frontier-scale replacements for Claude/GPT/Gemini.

ARC-Neuron LLMBuilder is a local-first cognition lab that treats a language model as one artifact inside a governed lifecycle. You don't just train a model โ€” you train a candidate, measure it, compare it to the current incumbent, and promote it only if it genuinely improves without regressing on guarded capabilities. Every decision leaves receipts. Every candidate is restorable. Every archive ties back to the source truth through an indexed binary ledger.

The system ships with a working transformer family (ARC-Neuron Tiny and Small), a retrieval-based exemplar adapter, a canonical conversation pipeline, draftโ†’critiqueโ†’revise reflection, automatic terminology absorption from conversation, and a regression-aware promotion gate.

Governed proof loop: conversation data can feed the training/evaluation pipeline; promotion remains gated by evidence and human-curated shards. Three governed promotions recorded through v1.0.0. Post-audit (v2.0.0): four additional governed promotions (v7โ†’v10) raised the verified score from 0.6836 to 0.9237 (+35.1%) after independent audit corrected 4 structural defects in the benchmark and rubric.


๐ŸŒ The ARC Ecosystem

ARC-Neuron LLMBuilder is one of seven repositories in the ARC governed-AI ecosystem. Each repo owns a single frozen role; together they form a local-first AI operating system with full lineage, receipts, and rollback.

flowchart TB
 subgraph authority ["๐Ÿ›๏ธ Authority"]
 AC[ARC-Core<br/>event + receipt spine]
 end
 subgraph ops ["โš™๏ธ Operational"]
 CR[Cleanroom Runtime<br/>deterministic kernel]
 CC[Cognition Core<br/>model-growth lab]
 end
 subgraph assembly ["๐Ÿญ Assembly"]
 LLM[๐Ÿ† ARC-Neuron-LLMBuilder<br/>governed build loop]
 end
 subgraph substrate ["๐Ÿงฑ Substrate"]
 LM[Language Module<br/>lexical truth]
 OB[OmniBinary<br/>binary mirror]
 AR[Arc-RAR<br/>archives + rollback]
 end
 AC -.signs.-> LLM
 CR -->|kernel host| LLM
 CC -->|doctrine| LLM
 LLM --> LM
 LLM --> OB
 LLM --> AR
 style LLM fill:#7057ff,stroke:#fff,color:#fff
 style AC fill:#b60205,stroke:#fff,color:#fff
 style CR fill:#0e8a16,stroke:#fff,color:#fff
 style CC fill:#1d76db,stroke:#fff,color:#fff
 style LM fill:#0075ca,stroke:#fff,color:#fff
 style OB fill:#5319e7,stroke:#fff,color:#fff
 style AR fill:#fbca04,color:#000
Loading

Brief tour of each (full writeups in ECOSYSTEM.md):

ARC-Core โ€” authoritative event-and-receipt engine

The root authority. Every state change across the system is modeled as an event with a proposal, evidence, an authority, a receipt, and a SHA-256 hash. This is how the ecosystem proves something actually happened. It also carries the signal-intelligence event-graph primitives (cases, watchlists, risk scoring) that give operators a structured way to organize investigations over the event stream.

arc-lucifer-cleanroom-runtime โ€” deterministic execution kernel

The deterministic shell the rest of the system eventually runs inside. Event-sourced KernelEngine with an append-only log, policy evaluation, branch planning, point-in-time state_at(event_id) replay, SQLite backup, directive continuity across restarts. LLMs are stochastic; Cleanroom is the deterministic substrate that makes the rest of the system reproducible.

arc-cognition-core โ€” cognition build-and-benchmark lab

The upstream home of the cognition doctrine: candidate shaping (SFT / preference / merge / export), GGUF-oriented evaluation, promotion gate v1 (what LLMBuilder's Gate v2 evolved from), MCP-style tool descriptors, run manifests, experiment tracking, release bundle generation. Defines what "a cognition candidate" means.

arc-language-module โ€” governed multilingual language backend

The authoritative store for what a word means, how it is spelled, what it maps to across languages, and where each of those facts came from. Governed ingestion with provenance + trust rank, readiness/gap states, self-fill orchestration with approval gates, contradiction arbitration, release pipelines with replayable snapshots. 40+ internal services. Treats words as first-class governed records, not strings.

omnibinary-runtime โ€” native-first binary intake and runtime ledger

Applies the receipt economy to binaries. Intake + classification + deterministic decoding of executables, libraries, GGUF weights, ANCF artifacts. Federated execution lanes (managed / native / DBT) each with their own policy and receipts. JIT via Cranelift and LLVM. Cache-integrity-before-speed policy. Rust crates: obi-core, obi-cache, obi-intake, obi-jit-*, obi-lane-*, obi-receipts, and more.

Arc-RAR โ€” governed archive and rollback

CLI-first archive manager with a native-app control surface (Linux GTK, macOS, Windows WinUI). Bundles are manifest-indexed and SHA-256-verified; the manifest is readable without extracting. Extraction is evidence-producing โ€” every restore leaves a receipt. Automation crate, FFI crate, IPC crate for daemon mode. Any archived state is addressable by SHA-256; rollback is first-class, not a recovery special case.

ARC-Neuron-LLMBuilder (this repo) โ€” governed build loop

Assembly of the other six into a working train โ†’ benchmark โ†’ gate โ†’ archive โ†’ verify cycle. Canonical conversation pipeline, Gate v2 promotion, floor model, reflection loop, language absorption, OBIN v2 indexed ledger, Arc-RAR bundle packaging. Four post-audit governed promotions on record (v7, v8, v9, v10). 115 tests. 142-task benchmark suite (rebuilt and verified).

Full per-repo writeups, integration flow, and role contract: ECOSYSTEM.md


๐Ÿ’– Support this work

If the governance doctrine, the conversation-driven growth loop, or the evidence-backed promotion pipeline is useful to you or your organization, please consider becoming a sponsor:

github.com/sponsors/GareBear99

Sponsorship funds time across all seven ARC ecosystem repos โ€” not just this one.


๐Ÿ’ก What it does, in plain English

You do The system does
Talk to it Records the conversation with a signed receipt, mirrors it into the Omnibinary indexed ledger, extracts terminology with provenance
Ask it to train a new model Mines the accumulated SFT corpus, trains a byte-level transformer, exports .pt + .gguf, builds a retrieval exemplar artifact
Ask it to compare Runs the candidate against the full 142-task benchmark (14 capabilities ร—ใฐใค 10 tasks each), scores with the task-aware rubric, prints per-capability deltas
Ask it to promote Applies Gate v2 (hard-reject floor, floor-model protection, regression ceilings), updates the scoreboard, bundles the candidate into an Arc-RAR archive
Ask it to roll back Restores a prior incumbent from its bundle; the prior state is always addressable by SHA-256
Ask it to prove itself Runs demo_proof_workflow.py or run_n_cycles.py โ€” every step produces a receipt

๐Ÿ“Š Current state

๐ŸŸข Operational

  • โœ… Validator: python3 scripts/validate_repo.py passing in this package
  • ๐Ÿงช Tests: PyTorch smoke tests are included; run locally with python3 -m pytest tests -q
  • ๐Ÿ† Incumbent: arc_governed_v10_wave4
  • ๐Ÿ“ˆ Score: 0.9237 on 142 tasks (post-audit benchmark)
  • ๐Ÿ“š Docs: 21 root + 62 indexed
  • ๐Ÿ“ฆ Bundles: 12 restorable
  • ๐Ÿ’พ Pipeline: Canonical, single-path

โšก Performance (measured)

  • โœ๏ธ Append: 6,639 ev/sec
  • ๐Ÿ”Ž Lookup: 8,859 O(1) ops/sec
  • ๐Ÿ“ p99 latency: ~0.35 ms (Omnibinary lookup) ยท validator passing
  • ๐Ÿ’พ Per-event: 397 bytes
  • ๐Ÿ—„๏ธ Per TB: ~2.71 billion events
  • ๐Ÿ“ Fidelity: SHA-256 stable โœ…

๐ŸŽฏ Promotion lineage

v1 (0.6122) โ†’ v2 (0.6247) โ†’ v4 (0.7128) โ†’ v5 (0.7169) โ†’ v6 (0.6836โ€ ) โ†’ v7 (0.8537) โ†’ v8 (0.8883) โ†’ v9 (0.8911) โ†’ **v10 (0.9237)** ๐Ÿ†
โ€ v6 true baseline after audit remediation. Pre-audit claimed 0.7333 (inflated by synthetic benchmarks).
 promote promote promote promote promote / INCUMBENT
 +35.1% net improvement from true v6 baseline through 4 governed audit cycles

Plus: v6 tied โ‡’ archive_only ยท v7_regressed caught โ‡’ archive_only ยท 5/5 STABLE at v5 floor.

Post-audit: 4/4 PROMOTE across waves 1โ€“4 ยท 0 floor failures ยท 0 severe regressions.

All four Gate v2 decision states have fired lawfully on real runs. Every claim above is individually verifiable:


๐Ÿš€ Quick start

1. Install

Option A โ€” pip (Python 3.10+)

git clone https://github.com/GareBear99/ARC-Neuron-LLMBuilder.git
cd ARC-Neuron-LLMBuilder
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e ".[training]" # installs core + torch + numpy
python3 scripts/ops/bootstrap_keys.py

Option B โ€” Docker (zero setup)

git clone https://github.com/GareBear99/ARC-Neuron-LLMBuilder.git
cd ARC-Neuron-LLMBuilder
docker build -t arc-neuron-llmbuilder .
docker run --rm arc-neuron-llmbuilder python3 scripts/ops/demo_proof_workflow.py

2. Validate

python3 -m pytest tests/ -q # 115 tests
python3 scripts/ops/benchmark_omnibinary.py # measures the ledger
python3 scripts/ops/demo_proof_workflow.py # 9-step end-to-end proof

3. Use the incumbent model

Shortest possible โ€” one line:

python3 examples/hello.py "Critique a plan that ships without a rollback path."

Full CLI equivalent:

python3 scripts/execution/run_direct_candidate.py \
 --adapter exemplar \
 --artifact exports/candidates/arc_governed_v10_wave4/exemplar_train/exemplar_model.json \
 --prompt "Critique a plan that ships without a rollback path."

4. Train your own candidate

# Train a new candidate against the current corpus
python3 scripts/training/train_arc_native_candidate.py \
 --candidate my_candidate_v1 --tier small --steps 300
# Benchmark it
python3 scripts/execution/run_model_benchmarks.py \
 --adapter exemplar \
 --artifact exports/candidates/my_candidate_v1/exemplar_train/exemplar_model.json \
 --output results/my_candidate_v1_outputs.jsonl
# Score it
python3 scripts/execution/score_benchmark_outputs.py \
 --input results/my_candidate_v1_outputs.jsonl \
 --output results/my_candidate_v1_scored.json
# Submit to Gate v2 โ€” promote, archive-only, or reject with reasons
python3 scripts/execution/promote_candidate.py \
 --scored results/my_candidate_v1_scored.json \
 --model-name my_candidate_v1 \
 --candidate my_candidate_v1

5. Run the full governed loop

make full-loop # train โ†’ benchmark โ†’ score โ†’ gate โ†’ bundle โ†’ verify
make pipeline # run one conversation through the canonical path
make verify-store # check Omnibinary integrity

๐Ÿ—๏ธ Architecture at a glance

flowchart TD
 U([๐Ÿ‘ค User prompt]) --> P[๐Ÿ’ฌ Canonical Conversation Pipeline]
 P --> A{Adapter}
 A -->|exemplar / command / llama_cpp_http / openai| R[๐Ÿงพ Response]
 R --> Rec[๐Ÿ” Receipt<br/>SHA-256]
 Rec --> OB[(โ›“๏ธ Omnibinary Ledger<br/>OBIN v2 indexed)]
 Rec --> LA[๐Ÿ“– Language Absorption]
 LA --> LM[(๐Ÿ“š Language Module<br/>terms + provenance + trust rank)]
 Rec --> Train[๐Ÿ› ๏ธ Training-eligibility tag]
 Train --> Corpus[๐Ÿ“ SFT Corpus]
 Corpus --> Cand[๐Ÿง  Candidate Model]
 Cand --> Bench[๐Ÿ“Š 142-task Benchmark]
 Bench --> Gate{โš–๏ธ Gate v2}
 Gate -->|beat incumbent| Promote[โœ… PROMOTE]
 Gate -->|tie or regression| Archive[๐Ÿ’พ archive_only]
 Gate -->|hard-reject / floor breach| Reject[โŒ REJECT]
 Promote --> Bundle[(๐Ÿ“ฆ Arc-RAR Bundle<br/>SHA-256 restorable)]
 Archive --> Bundle
 Floor[(๐Ÿšซ Floor Model<br/>never-below baseline)] -.guards.-> Gate
 style Gate fill:#b60205,stroke:#fff,color:#fff
 style Promote fill:#0e8a16,stroke:#fff,color:#fff
 style Reject fill:#d73a4a,stroke:#fff,color:#fff
 style Archive fill:#fbca04,color:#000
 style OB fill:#5319e7,stroke:#fff,color:#fff
 style LM fill:#1d76db,stroke:#fff,color:#fff
 style Bundle fill:#5319e7,stroke:#fff,color:#fff
 style Floor fill:#e99695,color:#000
Loading

Four layers, frozen roles:

  • Language Module โ€” living truth spine. Stores terms with provenance, trust ranks, and contradiction flags. Grows from every conversation.
  • Runtime โ€” persistent operator shell. Canonical conversation pipeline, reflection loop, language absorption, continuity state.
  • Cognition Core โ€” build-and-benchmark lab. Native training, exemplar adapter, benchmark harness, scoring rubric, promotion gate.
  • Archive โ€” Arc-RAR bundles for restorable lineage. Omnibinary ledger for O(1) indexed event history. ANCF for canonical model artifacts.

See ARCHITECTURE.md and GOVERNANCE_DOCTRINE.md for the full map.


โš–๏ธ The governance doctrine

Every candidate must clear Gate v2 before displacing an incumbent:

  1. Hard-reject floor โ€” repair_success โ‰ฅ 0.30, failure_rate โ‰ค 0.25
  2. Floor model check โ€” core capabilities cannot drop below 95% of the incumbent baseline (currently v10_wave4)
  3. Regression ceilings โ€” no guarded capability may drop more than its per-capability allowance vs the incumbent
  4. Beat the incumbent on overall weighted score
  5. Non-promotable adapter filter โ€” heuristic/echo adapters can never become incumbents

Outcomes are one of: promote, archive_only, or reject. Every outcome produces a receipt. archive_only and reject never displace the current incumbent. promote bundles the winning candidate via Arc-RAR, preserving the full lineage.

Full spec: specs/promotion_gate_v2.yaml, specs/benchmark_schema_v2.yaml


๐Ÿ—บ๏ธ Roadmap

Live roadmap. Updated as milestones ship. Full detail in ROADMAP.md.

Version Status Milestone Key deliverables
v1.0.0-governed โœ… Shipped (2026ๅนด04ๆœˆ22ๆ—ฅ) Doctrine Closed Three governed promotions, Gate v2 all four states, OBIN v2 indexed ledger, 87-test suite, 165-task benchmark, Arc-RAR bundles
v2.0.0-audited โœ… Shipped (2026ๅนด05ๆœˆ04ๆ—ฅ) Audit Complete 4 defects fixed, 4 governed promotions (v7โ†’v10), 0.6836โ†’0.9237, 115-test suite, 142-task benchmark rebuilt, TF-IDF retrieval, 296 new exemplars
v1.1.0 ๐Ÿšง Next Expanded Native Lane ARC-Neuron Base tier (GPU), real tokenizer (SentencePiece/BPE), distillation wave v2 driver, arc CLI frontend, scorer v3 with per-cap weights, +50 benchmark tasks
v1.2.0 ๐Ÿ”ฎ Planned External Backend Integration Reference docs for Qwen3-32B / Llama-4 / DeepSeek via llama_cpp_http, per-adapter scoreboard namespacing, command-adapter timeout tuning, reflection loop v2
v1.3.0 ๐Ÿ”ฎ Planned Multi-Repo Integration OmniBinary โ†” LLMBuilder federation, ARC-Core event attestation (co-signed receipts), Arc-RAR โ†” Cleanroom replay, Language Module canonicalization
v2.1.0 ๐ŸŽฏ Future Production Governance Formal governance spec (machine-checkable), sandboxed gate execution, audit-trail export, per-org scoreboards, SOC 2 / ISO 27001 hooks

Progress toward each milestone

gantt
 title ARC-Neuron LLMBuilder Release Trajectory
 dateFormat YYYY-MM-DD
 axisFormat %Y Q%q
 section v1.0
 v1.0.0-governed (Doctrine Closed) :done, v10, 2026ๅนด01ๆœˆ01ๆ—ฅ, 2026ๅนด04ๆœˆ22ๆ—ฅ
 section v1.1 Next
 ARC-Neuron Base tier + GPU path :active, v11a, 2026ๅนด04ๆœˆ23ๆ—ฅ, 45d
 Real tokenizer (SentencePiece/BPE) : v11b, after v11a, 20d
 Distillation wave v2 driver : v11c, after v11a, 25d
 `arc` CLI frontend : v11d, after v11b, 20d
 section v1.2
 External backends (Qwen3/Llama-4) : v12a, after v11d, 30d
 Per-adapter scoreboard namespacing : v12b, after v12a, 15d
 section v1.3
 OmniBinary federation : v13a, after v12b, 40d
 ARC-Core co-signed receipts : v13b, after v13a, 30d
 section v2.0
 Formal governance spec : v20a, after v13b, 60d
 Sandboxed gate execution : v20b, after v20a, 45d
Loading

How to influence what ships

Explicitly not on the roadmap

โŒ Alignment / safety filtering (orthogonal concern) ยท โŒ Hosted cloud service (local-first project) ยท โŒ Closed-source components (MIT all the way down) ยท โŒ Role inversion (the seven-repo contract is permanent)


๐Ÿ“ˆ Benchmark surface

142 tasks across 14 capability families (rebuilt and verified):

Family Tasks v10 score
reasoning 10 0.8833
planning 10 1.0000
compression 10 0.9167
paraphrase_stability 10 1.0000
calibration 10 0.9000
english_understanding 10 0.9000
critique 10 1.0000
out_of_domain 10 0.9667
quantization_retention 10 1.0000
repair 10 1.0000
instruction_following 10 0.9250
intelligence 12 0.8472
continuity 10 0.7708
reflection 10 0.8375

๐Ÿ“‚ Repository layout

ARC-Neuron-LLMBuilder/
โ”œโ”€โ”€ arc_core/ # Single canonical transformer implementation
โ”œโ”€โ”€ arc_tiny/ # Tiny tier (~0.05M params) + GGUF v3 I/O
โ”œโ”€โ”€ arc_neuron_small/ # Small tier (~0.18M params)
โ”œโ”€โ”€ arc_neuron_tokenizer/ # Hybrid byte + wordpiece tokenizer builder
โ”œโ”€โ”€ adapters/ # Model backend abstraction (exemplar, command, llama_cpp_http, openai)
โ”œโ”€โ”€ runtime/ # Canonical pipeline, reflection, absorption, terminology, floor model
โ”œโ”€โ”€ scorers/ # Task-aware rubric scorer with 23 capability buckets
โ”œโ”€โ”€ scripts/
โ”‚ โ”œโ”€โ”€ training/ # Native training, LoRA routing, corpus prep
โ”‚ โ”œโ”€โ”€ execution/ # Benchmark, score, promote, candidate gate
โ”‚ โ”œโ”€โ”€ ops/ # Proof workflows, repeatability runners, distillation waves
โ”‚ โ”œโ”€โ”€ lab/ # Tiny/Small GGUF smoke and validate
โ”‚ โ””โ”€โ”€ operator/ # User-facing shell scripts
โ”œโ”€โ”€ benchmarks/ # 142 tasks across 14 capability families (rebuilt)
โ”œโ”€โ”€ datasets/ # Seed and distilled SFT corpora
โ”œโ”€โ”€ specs/ # Gate v2, benchmark schema v2, promotion doctrine
โ”œโ”€โ”€ configs/ # Base model candidates, training stages, runtime profiles
โ”œโ”€โ”€ reports/ # Promotion receipts, repeatability reports, benchmark numbers
โ”œโ”€โ”€ artifacts/ # GGUF models, Arc-RAR bundles, Omnibinary ledger
โ”œโ”€โ”€ exports/candidates/ # Trained candidate artifacts (per-candidate directories)
โ”œโ”€โ”€ results/ # Benchmark outputs, scored summaries, scoreboard
โ”œโ”€โ”€ tests/ # 115-test suite covering the full loop
โ””โ”€โ”€ docs/ # Extended design documentation (62 markdown files)

โš™๏ธ One-command operations

make validate # validate repo structure and required files
make test # run the 115-test suite
make counts # count datasets and benchmarks
make candidate-gate # run the full candidate gate
make native-tiny # train an ARC-Tiny candidate (~0.05M params)
make native-small # train an ARC-Small candidate (~0.18M params)
make full-loop # train โ†’ benchmark โ†’ score โ†’ gate โ†’ bundle โ†’ verify
make pipeline # run one conversation through the canonical path
make bootstrap-keys # generate runtime secrets (idempotent)
make bundle-candidate CANDIDATE=<name> # Arc-RAR bundle a promoted candidate
make verify-store # verify Omnibinary ledger integrity

๐Ÿ”ฌ Proof runners

# 9-step end-to-end proof: term โ†’ conversation โ†’ train โ†’ benchmark โ†’ gate โ†’ archive
python3 scripts/ops/demo_proof_workflow.py
# Measure Omnibinary throughput, latency, and fidelity
python3 scripts/ops/benchmark_omnibinary.py
# Run N governed promotion cycles and emit a repeatability verdict
python3 scripts/ops/run_n_cycles.py --cycles 3 --tier small --steps 300
# Generate draftโ†’critiqueโ†’revise SFT pairs from the incumbent
python3 scripts/ops/generate_reflection_sft.py
# Absorb a conversation session end-to-end into the learning pipeline
python3 scripts/ops/absorb_session.py --text "..." --session-id my_session

๐Ÿ“š Documentation

Core docs

Reference

Release

Community

๐Ÿ‘ฅ Community

  • ๐Ÿ’ฌ GitHub Discussions โ€” ask questions, share runs, propose directions
  • ๐Ÿ› Issues โ€” bug reports, feature requests, gate behavior reports, benchmark contributions
  • ๐Ÿ”’ Security advisories โ€” private disclosure
  • ๐Ÿ’– Sponsor โ€” support the ecosystem
  • ๐Ÿ“ฆ Releases โ€” all versions with evidence bundles

๐Ÿ“Œ Status and scope

What this is: a local-first governed cognition lab and control plane for training, promoting, and archiving small language models with full lineage. The included native models (Tiny and Small) are reference tiers designed to prove the pipeline is real, not to compete with frontier LLMs.

What this is not: a frontier-scale LLM. The ARC-Neuron Tiny model is ~0.05M parameters. The Small model is ~0.18M parameters. They are deliberately small because the contribution here is the governance, not the raw brain.

The shell is contender-grade. The brain is the research lane. The adapter boundary is the integration point: you can plug any local GGUF runtime or HTTP-served model into the existing governance machinery via adapters/command_adapter.py or adapters/llama_cpp_http_adapter.py.


๐Ÿ“ Citation

If you use ARC-Neuron LLMBuilder in research or production, please cite:

@software{arc_neuron_llmbuilder_2026,
 author = {Doman, Gary},
 title = {ARC-Neuron LLMBuilder: A Governed Local AI Build-and-Memory System},
 year = 2026,
 version = {v2.0.0-audited},
 url = {https://github.com/GareBear99/ARC-Neuron-LLMBuilder}
}

Full metadata in CITATION.cff.


๐Ÿ“œ License

MIT โ€” see LICENSE.


๐ŸŽฏ One-line verdict

The machine is lawful. The measurement is honest. The loop grows a better brain on demand, preserves the prior one, rejects worse ones with attribution, and does so repeatedly.

About

A governed local AI build-and-memory system that trains small brains, compares them, protects the better one, archives the worse one, and preserves the evidence of why. v1.0.0-governed.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /