# sybil-solutions/local-ai-registry — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `ai-models`
- Overall score: `3.7/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `e10a78517441` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/sybil-solutions/local-ai-registry
- Radar entry: https://radar.alplab.co/#repo/sybil-solutions/local-ai-registry
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `local-llm`, `gpu`, `recipes`, `registry`, `benchmarking`, `containers`

## Summary

A curated registry of per-GPU launch recipes for local LLMs, where every recipe is machine-written by a lab harness (lab/lab.py try) that rents the card on Vast/RunPod and writes the recipe only after six gates (load, chat, reasoning, tools, context, speed >=15 tok/s) pass; rendered as dist/catalog.json, plugin v2/v3 exports, SDKs, a static site, and a Linux terminal app.

## Implementation Check

Code backs the README: lab/lab.py implements the gates, digest pinning and check; lab/rent.py the Vast/RunPod renting; lab/catalog.py builds dist/catalog.json; sample launches exist (registry/launches/exllamav3-glm-5.3-flash-...json); CI (.github/workflows/ci.yml) enforces lab.py check, catalog/plugin currency, SDK agreement and site build. Only the legacy data/ tree is explicitly dead ('nothing reads it').

## When to Use

Reach for it when you want a known-good model+engine+settings launch for a specific consumer GPU (RTX 30/40/50, Arc Pro B70, ROCm, Apple) or as a model for evidence-backed recipe publishing. Not for non-listed cards, not as a general model catalog, and not if you need released/stable tooling.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.5/5 |
| usability | 3.5/5 |
| reliability | 3.0/5 |
| security | 4.0/5 |
| integration | 3.5/5 |

## Code Evidence

lab/lab.py (56KB) is a complete gate harness with real acceptance checks (reasoning must answer 17*23=391, context gate plants a code at 85% window fill, speed measured via server tokenizer over a 30s window) and cmd_check enforcing pins, paths, KV floors and launch_sha256 binding; lab/image_trust.py fails closed on unverified new image digests via gh attestation with pinned cert identity, with thorough tests (lab/test_image_trust.py); lab/runs/ holds dozens of six-gate passing run logs on real hardware (e.g. rtx-a2000-laptop-8gb-20261107.runlabs.log); app/test/core-test.sh is a real end-to-end shim test asserting container hardening flags and that the gateway key never leaks into argv or logs.

## Issues Found

The frozen legacy data/ tree (scrapers, old scripts, one-off lab dumps, including data/bin/local-ai which fetches assets over the network) ships alongside the active registry and adds confusion weight; weaker acceptance tiers (legacy/reported/proxy proofs) are clearly labeled but lower the bar for those recipes; the site install path is curl | bash (site/app/download/page.tsx).

## Key Risks

Nothing was executed for this review: all performance/acceptance evidence is self-reported logs and hashes inside the repo. No releases yet despite 710 commits; recipes depend on images from the project's own GHCR org, and SECURITY.md admits 5 of 10 audited plugin image digests could not be verified (grandfathered exceptions) and explicitly forbids calling the catalog fully attested or sandboxed. app/README admits a model has not yet been started by that build on real hardware and the Podman path is untested. Maturity class 'early', cap trial.

## Reviewed Files

- `README.md`
- `app/README.md`
- `Makefile`
- `SECURITY.md`
- `docs/design.md`
- `.github/workflows/ci.yml`
- `.github/workflows/digest.yml`
- `.github/workflows/ops.yml`
- `lab/lab.py`
- `lab/rent.py`
- `lab/catalog.py`
- `lab/image_trust.py`
- `lab/test_image_trust.py`
- `lab/digest.py`
- `registry/launches/exllamav3-glm-5.3-flash-exl3-3.05bpw-nvme-22g-32t-128k-rtx-3090-24gb.json`
- `app/test/core-test.sh`
