AIEN Rig
Local AI and a measured FPS tuner for RTX gaming PCs, starting with the RTX 5070 (12 GB).
- engine/: my own C++/CUDA inference engine for RTX cards. Goal: measure against llama.cpp on the same card and publish the result either way.
- speech/: my own speech-to-text for video transcripts.
- creator/: YouTube helper: titles, descriptions, chapters, Shorts picks, captions.
- tuner/: Windows FPS tuner: measures each game, applies only safe changes, keeps receipts, can undo everything.
- app/: one Windows app that ties it together.
Status: pre-alpha, under active build. Not tested on an RTX 5070 yet. Every speed claim links to a receipt in evidence/.
How it works / How I built it
Walkthrough with a runnable exercise: docs/TEACHING.md.
Problem. A gaming PC with one 12 GB RTX card should run a local assistant and get faster in games, and every claim about speed should be checkable. "Faster" is only claimed against llama.cpp on the same card, and every number links to a receipt (AGENTS.md, plan).
Where the code is. main holds the plan and one placeholder README per component.
Each component is built on its own branch (plan). None of those branches
has been merged into main, and none has run on an RTX 5070.
| Component | Branch at the pinned commit | What is there | Evidence and its limit |
|---|---|---|---|
| tuner | tuner/v0 @ 2a2cda0 | Rust crate rig-tune: a pure core (stats, frame selection, undo log, tweaks, receipts) with 46 unit tests, plus a Windows layer (ETW, registry, power, display, NVML) | Windows CI run 39293286436 passed on a GitHub runner with no NVIDIA card |
| creator | creator/v0 @ 87f98af | Rust crate rig-create: caption parsers, chunked model pipeline, chapter and Shorts checks | end-to-end runs against a local model server on the DGX Spark |
| speech | speech/v0 @ af71f46 | Rust Whisper-family runtime, CPU path plus an Omega GPU path for GB10 (sm_121) | GB10 receipts; the RTX 5070 GPU path is not built |
| engine | engine/core @ 19b0032 | README, 5070 ceiling math (CEILING.md) and calc receipts; the serving code is in the rig/engine-12gb branch of aien-sovereign-core | GB10 under a 12 GiB budget only. That is not an RTX 5070 result. |
| app | app/v0 @ ea43b11 | Windows aien-rig.exe local page (Play, Create, Chat), release workflow | none on the target PC |
One mechanism, end to end (tuner undo log). Every change the tuner makes goes through
apply_change.
It reads the old value, writes a pending log entry to disk before it changes anything,
then makes the change and reads it back. If the read-back does not match, it puts the old
value back and drops the entry.
undo
restores entries newest first. It refuses to overwrite a setting that someone else changed
after the tuner did, unless the user passes --force.
Why it is built this way (from the module comments at that commit):
- Everything that decides something is pure Rust and is tested on every OS. Windows calls
sit behind a thin
winlayer and aStoretrait, so the tests use an in-memory store (lib.rs). - The log is written before the change, so the old value can still be restored after a power cut in the middle of a change (undo.rs).
A failed approach, kept on purpose. The first creator end-to-end run (commit 8c2c463)
got HTTP 503 "GPU busy" from the shared model server on every try for 899 s and exited 1.
Commit 7aef4de added --busy-wait, and the next run passed
(creator evidence README).
Limit. The tuner has not run on the RTX 5070 PC. Its NVML reads (Resizable BAR, PCIe link) and a real monitor refresh-rate change have only been compile-checked, because CI has no NVIDIA card. No game FPS gain is claimed.
Run it yourself without a GPU. The exercise in docs/TEACHING.md
checks out tuner/v0 at 2a2cda0 and runs its 46 unit tests on Linux or macOS. Then it
breaks the refusal check on purpose to show that a test catches it.
Human-Directed Agentic Engineering
Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions. This method does not imply that planned components or hardware performance have been verified.
For the documented method and a systems-software case study, see Gregory M. Kurtzer, [*Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548).
License: AGPL-3.0.