Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-rig/blob/main/README.md # aien-rig AIEN Rig: local AI and frame-rate tuning for RTX gaming PCs. Pre-alpha; host fixtures and target-card qualification are separate. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-rig / README.md` 77 lines ยท 6189 bytes Raw Blame History Rendered 1 # AIEN Rig 2 3 Local AI and a measured FPS tuner for RTX gaming PCs, starting with the RTX 5070 (12 GB). 4 5 - **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. 6 - **speech/**: my own speech-to-text for video transcripts. 7 - **creator/**: YouTube helper: titles, descriptions, chapters, Shorts picks, captions. 8 - **tuner/**: Windows FPS tuner: measures each game, applies only safe changes, keeps receipts, can undo everything. 9 - **app/**: one Windows app that ties it together. 10 11 Status: pre-alpha, under active build. Not tested on an RTX 5070 yet. Every speed claim links to a receipt in evidence/. 12 13 ## How it works / How I built it 14 15 **Walkthrough with a runnable exercise: [docs/TEACHING.md](docs/TEACHING.md).** 16 17 **Problem.** A gaming PC with one 12 GB RTX card should run a local assistant and get 18 faster in games, and every claim about speed should be checkable. "Faster" is only 19 claimed against llama.cpp on the same card, and every number links to a receipt 20 ([AGENTS.md](AGENTS.md), [plan](docs/PLAN.md)). 21 22 **Where the code is.** `main` holds the plan and one placeholder README per component. 23 Each component is built on its own branch ([plan](docs/PLAN.md)). None of those branches 24 has been merged into `main`, and none has run on an RTX 5070. 25 26 | Component | Branch at the pinned commit | What is there | Evidence and its limit | 27 |---|---|---|---| 28 | tuner | [`tuner/v0` @ `2a2cda0`](https://github.com/aien-dev/aien-rig/tree/`2a2cda0e2e4684119d28859261dbe123b4ded009`/tuner) | 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`](https://github.com/aien-dev/aien-rig/actions/runs/`39293286436`) passed on a GitHub runner with no NVIDIA card | 29 | creator | [`creator/v0` @ `87f98af`](https://github.com/aien-dev/aien-rig/tree/`87f98af04e15fffea4009ed34dca4d6892e6bd3e`/creator) | Rust crate `rig-create`: caption parsers, chunked model pipeline, chapter and Shorts checks | [end-to-end runs](https://github.com/aien-dev/aien-rig/tree/`87f98af04e15fffea4009ed34dca4d6892e6bd3e`/evidence/creator) against a local model server on the DGX Spark | 30 | speech | [`speech/v0` @ `af71f46`](https://github.com/aien-dev/aien-rig/tree/`af71f46fde79e566b2a1151bef3794b8f4636ee8`/speech) | Rust Whisper-family runtime, CPU path plus an Omega GPU path for GB10 (sm_121) | [GB10 receipts](https://github.com/aien-dev/aien-rig/tree/`af71f46fde79e566b2a1151bef3794b8f4636ee8`/evidence/speech/2026-10-19-gb10); the RTX 5070 GPU path is not built | 31 | engine | [`engine/core` @ `19b0032`](https://github.com/aien-dev/aien-rig/tree/`19b0032ab3714ae3dc9d8311d7a7577dd0e63d05`/engine) | README, 5070 ceiling math ([CEILING.md](https://github.com/aien-dev/aien-rig/blob/`19b0032ab3714ae3dc9d8311d7a7577dd0e63d05`/engine/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. | 32 | app | [`app/v0` @ `ea43b11`](https://github.com/aien-dev/aien-rig/tree/`ea43b1198f6598fd7cfc676bf8eb50047a03736f`/app) | Windows `aien-rig.exe` local page (Play, Create, Chat), release workflow | none on the target PC | 33 34 **One mechanism, end to end (tuner undo log).** Every change the tuner makes goes through 35 [`apply_change`](https://github.com/aien-dev/aien-rig/blob/`2a2cda0e2e4684119d28859261dbe123b4ded009`/tuner/src/undo.rs#L175). 36 It reads the old value, writes a `pending` log entry to disk *before* it changes anything, 37 then makes the change and reads it back. If the read-back does not match, it puts the old 38 value back and drops the entry. 39 [`undo`](https://github.com/aien-dev/aien-rig/blob/`2a2cda0e2e4684119d28859261dbe123b4ded009`/tuner/src/undo.rs#L258) 40 restores entries newest first. It refuses to overwrite a setting that someone else changed 41 after the tuner did, unless the user passes `--force`. 42 43 **Why it is built this way** (from the module comments at that commit): 44 - Everything that decides something is pure Rust and is tested on every OS. Windows calls 45 sit behind a thin `win` layer and a `Store` trait, so the tests use an in-memory store 46 ([lib.rs](https://github.com/aien-dev/aien-rig/blob/`2a2cda0e2e4684119d28859261dbe123b4ded009`/tuner/src/lib.rs)). 47 - The log is written before the change, so the old value can still be restored after a 48 power cut in the middle of a change 49 ([undo.rs](https://github.com/aien-dev/aien-rig/blob/`2a2cda0e2e4684119d28859261dbe123b4ded009`/tuner/src/undo.rs#L1-L14)). 50 51 **A failed approach, kept on purpose.** The first creator end-to-end run (commit `8c2c463`) 52 got HTTP 503 "GPU busy" from the shared model server on every try for 899 s and exited 1. 53 Commit `7aef4de` added `--busy-wait`, and the next run passed 54 ([creator evidence README](https://github.com/aien-dev/aien-rig/blob/`87f98af04e15fffea4009ed34dca4d6892e6bd3e`/evidence/creator/README.md)). 55 56 **Limit.** The tuner has not run on the RTX 5070 PC. Its NVML reads (Resizable BAR, PCIe 57 link) and a real monitor refresh-rate change have only been compile-checked, because CI 58 has no NVIDIA card. No game FPS gain is claimed. 59 60 **Run it yourself without a GPU.** The exercise in [docs/TEACHING.md](docs/TEACHING.md) 61 checks out `tuner/v0` at `2a2cda0` and runs its 46 unit tests on Linux or macOS. Then it 62 breaks the refusal check on purpose to show that a test catches it. 63 64 ## Human-Directed Agentic Engineering 65 66 Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, 67 architecture, constraints, acceptance criteria, and stopping points; agents implement, 68 execute checks, diagnose failures, and revise within those boundaries. Human review 69 retains responsibility for claims, acceptance, and release decisions. This method does 70 not imply that planned components or hardware performance have been verified. 71 72 For the documented method and a systems-software case study, see Gregory M. Kurtzer, 73 [*Ginux: Building an Independent Kernel That Runs Linux Userspace through 74 Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.`23682548`). 75 76 77 License: AGPL-3.0.