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
aien-rig / AGENTS.md
| 1 | # AIEN Rig (local AI and a measured FPS tuner for RTX gaming PCs) |
| 2 | |
| 3 | > Pre-alpha, under active build. Local AI and a measured FPS tuner for RTX gaming PCs, starting with the RTX 5070 (12 GB). Five parts: an own C++/CUDA inference engine, speech-to-text, a YouTube creator helper, a Windows FPS tuner, and one Windows app that ties them together. The component directories currently hold only placeholder READMEs; there is no build system or CI yet. Nothing has been tested on an RTX 5070. |
| 4 | |
| 5 | Shared rules: read https://www.aienos.com/agents/RULES.md first. This file adds what is specific to this repository; where the two differ, this file wins here. |
| 6 | |
| 7 | ## Scope |
| 8 | |
| 9 | - Applies to the whole repository. |
| 10 | - `engine/`: C++/CUDA inference engine for RTX cards (Qwen3 dense, INT4/FP8, CUDA graphs, OpenAI-compatible HTTP server). Goal: measure against llama.cpp on the same card and publish the result either way. |
| 11 | - `speech/`: own speech-to-text (Whisper-family runtime) for video transcripts. |
| 12 | - `creator/`: YouTube helper: titles, descriptions, chapters, Shorts picks, captions. |
| 13 | - `tuner/`: Windows FPS tuner: measures each game, applies only safe changes, keeps receipts, can undo everything. |
| 14 | - `app/`: the Windows app, packaging, Windows CI and release (`app/`, `.github/`). |
| 15 | - `docs/`: plan, targets (`docs/TARGETS.md` once written); `evidence/`: receipts. |
| 16 | |
| 17 | ## Installation |
| 18 | |
| 19 | ```bash |
| 20 | git clone https://github.com/aien-dev/aien-rig.git |
| 21 | cd aien-rig |
| 22 | ``` |
| 23 | |
| 24 | No build exists yet. When it does, engine and speech work needs an NVIDIA RTX card (target: RTX 5070, 12 GB), and tuner/app work needs Windows. |
| 25 | |
| 26 | ## Usage |
| 27 | |
| 28 | Work by stream. `docs/PLAN.md` maps each stream to its directory and branch: |
| 29 | |
| 30 | | Stream | Directory | Branch | |
| 31 | |---|---|---| |
| 32 | | Engine core | `engine/` | `engine/core` | |
| 33 | | Targets and yardsticks (ceiling math, llama.cpp and others on 5070) | `docs/TARGETS.md`, `evidence/` | `docs/targets` | |
| 34 | | FPS tuner (Windows) | `tuner/` | `tuner/v0` | |
| 35 | | Speech-to-text | `speech/` | `speech/v0` | |
| 36 | | YouTube helper | `creator/` | `creator/v0` | |
| 37 | | App, packaging, Windows CI, release | `app/`, `.github/` | `app/v0` | |
| 38 | |
| 39 | ## Conventions |
| 40 | |
| 41 | - Owners work on their own branch and directory. `main` is merged by the desk only. |
| 42 | - Every speed claim links to a receipt in `evidence/` and names the card it ran on. |
| 43 | - Compare against llama.cpp on the same card before claiming "faster". |
| 44 | - License is AGPL-3.0; keep new files compatible. |
| 45 | |
| 46 | ## Safety and approvals |
| 47 | |
| 48 | - The tuner changes settings on users' machines: it must apply only safe changes, record a receipt for each, and be able to undo every change. Do not add a change the tuner cannot revert. |
| 49 | - Do not publish a performance number without a receipt from real hardware. |
| 50 | - Never commit tokens, credentials, or private data. Work on a branch and merge through a pull request. |
| 51 | |
| 52 | ## Further reading |
| 53 | |
| 54 | - `README.md`: overview and status. |
| 55 | - `docs/PLAN.md`: streams, directories and branches. |