Local LLM agent drives Perfect Dark on Mac with 50 ms combat control
moyoteg · reddit · 2026-07-28
A hobby project shows a local LLM agent playing Perfect Dark on a Mac via the real game binary, not a reimplementation.
- A fast combat layer handles aim and movement every 50 ms.
- The LLM makes higher-level decisions on a slower cadence.
- Stack: Mac + MLX, a custom Perfect Dark bridge, and decision logging with programmatic agency checks based on position and facing deltas, not just button presses.
- The video shows the control panel and the game side by side so viewers can verify both HUD decisions and in-world movement/shooting.
- The author says it is a research/hobby project, not a product.
More from coding & agent
- OpenAI Codex appears to be filling a sessions folder with 360 GB of data — HankYeomans · 2026-07-28
- Pricing pages now ship as Markdown so AI agents can parse them — stuffyokodraws · 2026-07-28
- Agent search engine claims 62ms P50, about 6× faster than Exa — Scobleizer · 2026-07-28
- Kimi K3 lands in Cursor with US inference and zero data retention — togethercompute · 2026-07-28
- Prompt caching can cut agent token costs by 50% to 90% on repeated requests — blaizedsouza · 2026-07-28
- Five places agent memory can live as loops replace prompt engineering — blaizedsouza · 2026-07-28