An AIOps control plane for LLM inference servers, with a terminal UI. When the model server stops answering, it finds the cause, proposes a fix, waits for your approval, applies it, and checks that the model really recovered. No LLM is in the loop, and nothing runs without your OK.
evidence → deterministic RCA → typed proposal → policy → your approval → remediation → verification → audit
Requires Python ≥ 3.11 and git. Everything below is a simulation: it runs the real control
loop over a synthetic workload and cannot touch anything on your machine.
git clone https://github.com/CJ445/inference-autopilot && cd inference-autopilot
python3 -m venv .venv && . .venv/bin/activate && pip install -e .
aiops demo --approve
Prefer a permanent command on your PATH? uv tool install --editable . instead of the venv line.
The UI is a small Rust program, so this step needs Rust (cargo):
cargo build --release --manifest-path tui/Cargo.toml
aiops
The first time, aiops offers to create ~/.config/aiops/aiops.toml (it asks, and never
overwrites). It then starts the control plane in the background and opens the UI. To try the failure
loop with no hardware: press 3 (Lab), Enter to run the recovery test, A then
Enter to approve the simulated restart. Q quits and leaves the control plane running;
aiops stop ends it. The full tour is in docs/tui-guide.md.
The default profile expects an NVIDIA GPU and Docker, because
aiopschecks them at start. On a machine without themaiopswill say which prerequisite failed;aiops demostill works.
| Command | What it does |
|---|---|
aiops |
Open the UI, starting the control plane first if needed |
aiops demo --approve / --reject |
Run the simulated failure loop in the terminal, no setup |
aiops status |
Observed state of the control plane and workload |
aiops doctor |
Read-only check of prerequisites |
aiops stop |
Stop the control plane (also disarms the watchdog) |
aiops start |
Run the control plane in the foreground (scripts, debugging) |
aiops tui |
Attach the UI only; never starts a control plane |
Point it at your own vLLM container and it manages that one container only: it never creates, starts or stops it, and a restart happens only after your approval. Setup, the Docker-pause scenario and the guarded fault test are in docs/real-hardware.md.
| The terminal UI | Screens, keys, how deciding works, themes |
| Simulation | What aiops demo and the in-UI recovery test do, and what they cannot prove |
| Real hardware | vLLM container, the real scenario, the guarded fault |
| Safety boundaries | What the system will and will not do, and the tests that enforce it |
| Architecture | How the launcher, control plane, TUI and watchdog fit together |
| Development | Tests, CI, the clean-machine check, re-recording the GIFs |
| PRD, Decisions | Specification and design decisions |
the operator TUI is not built: run thecargo buildline above (or setAIOPS_TUI_BIN).aiops opens an interactive terminal UI; this is not a terminal: useaiops start | stop | status | doctorin scripts.aiopscannot start (GPU or Docker prerequisite): runaiops doctorfor the exact failing check; the output of the failed start is in~/.config/aiops/aiops.state.json.log.- Port in use: change
portunder[control_plane]in~/.config/aiops/aiops.toml. aiops: command not found: activate the venv (. .venv/bin/activate) or useuv tool install.
Exercised on one hardware configuration (one consumer GPU, one model, one container runtime) and one real fault type. Not a production-grade guarantee; see Safety boundaries.

