Running Game Boy in ChatGPT: 282KB model achieves inline inference
Dimillian · x · 2026-08-09
A developer shared a use case for the /visualize feature in ChatGPT Work and Codex to create inline visualizations.
The developer ported a Game Boy Color emulator to JavaScript and ran it entirely within the ChatGPT visualization interface. Key highlights include:
- Embedded an actual 282KB model and tokenizer (based on Karpathy’s TinyStories).
- Inference runs completely locally within the inline visualization.
- Features functional controls, keyboard support, and a screen display.
- Not an external emulator; requires no API or external server, with everything fitting under 1MB.
More from coding & agent
- DIRECT: retrieval-based next-question suggestions for conversational agents — burkov · 2026-10-16
- Claude Code and Codex now autocomplete the user's next action — tokenbender · 2026-10-16
- Hermes Agent ships official Reverse Engineer Anything plugin with one-command setup — Teknium · 2026-10-16
- MLExpert: 35B MoE Agent Trained to Autonomously Handle Machine Learning Engineering — Shangheng Du · 2026-10-16
- Cowork-Gym: Alibaba Synthesizes 64.9K Agent Work Environments, Boosting Qwen by 8.7 Points — Anni Zou · 2026-10-16
- MMSearch-OPD: Joint RL and On-Policy Distillation for Long-Horizon Multimodal Search Agents — PekingUniversity · 2026-10-16