Self-taught builder and inventor. I make big AI models run on hardware that "shouldn't" handle them, and I build the tooling around them so they're actually useful day to day. Everything runs locally on one Mac: no cloud, my data stays mine.
I design systems the way networks are designed: layers with one job each, one standard protocol between parts, separate links so traffic never blocks, and escalation when a layer can't handle something. I work it out from first principles: "if this, then this has to come next."
Code Smash TeTi: a step-up layered coding brain that stays usable on 32 GB (code is public)
- Small fast models do most of the work; only tasks they can't pass climb to bigger ones: 9B → 35B → Titan 27B + checker (8/8 on the hidden-test exam, 0 false wins) → 122B overnight backup
- Runs Qwen3.5-122B (64 GB at 4-bit) on a 32 GB M1 Pro by streaming mixture-of-experts weights from the SSD, in a native Swift + Metal engine built on MLX
- Graded by hidden tests it never sees, with false wins (said "done," wasn't) counted separately
- Latest: mixing model families, and a frontier model's security slip
Battle AI: local models hack each other inside a no-network Docker box, and code keeps score
- An attack-defense CTF for LLMs: each turn one bash command, defend your own "mind" files or rewrite the opponent's
- 5 fighters, 12-match season; the cage passes 17/17 escape tests
Next: an AI security-trap exam. Coding tasks built around real CWEs (eval injection, path traversal, SQL injection, hardcoded secrets…) to log where AI models write insecure code, then test whether a checker from a different model family catches it.
| Project | What it does |
|---|---|
| Battle AI | Model-vs-model hacking arena in a locked Docker box (no network, no host folders, 17/17 escape tests). |
| Local multi-model AI assistant | Several local models behind one interface, each with its own role (chat, code, reasoning). Browser GUI plus native Mac app, local neural voice, a chat-only mode, and escalation to a stronger model when it gets stuck. |
| Prompt-injection canary | A small always-on model that screens every web page and tool result before the main model sees it. Locked model copy, guardian process, never removable by the AI itself. |
| Self-learning skills | After tool tasks, the assistant saves reusable skills, but only ones it has actually tested. A reviewer pass checks them twice a day. |
| Speculative decoding on MLX | 1.46× faster Qwen3.5-9B using its built-in multi-token-prediction head as the draft. |
| AI watchdogs | A compliance audit every 45 minutes, an integrity monitor, and a memory-pressure watchdog that root-caused and fixed a recurring "model returns garbage" failure. |
| Scam and phishing protection | Auto-removes phishing email, warns about scam pages in the browser (rules plus a small local model), and filters malicious domains at the network level. |
| Apple Watch + iPhone apps | watchOS/iOS companion apps that talk to the local AI server, relayed through the phone. |
| Home automation | Local models wired into a smart-home setup, with no cloud services. |
Swift · Metal · MLX / mlx-swift · Python · Docker · Ollama · macOS (launchd, LaunchAgents) · watchOS / iOS · networking fundamentals
I share the process, including the failures, with real measured numbers: nightguard-labs.github.io. How the design came together: How I figure things out. How I learned, mess-ups included: How I learned