Twitch Viewers Co-Pilot AI to Code Apps
ArmadilloGenocide · reddit · 2026-07-17
The creator built a livestream project where Twitch chat viewers collectively act as "prompt engineers," giving commands to an AI to generate and modify an app in real-time.
How it works
- Suggestions in chat go through a voting process, with a winner selected roughly every minute.
- The winning suggestion is sent to Claude as a prompt.
- The app updates in real-time on stream, without the creator directly controlling it.
Main Engineering Challenges
The creator notes the hard part wasn't the AI writing code, but building a system that runs safely on a public platform:
- Compliance Gate: Filtering requests that might violate platform ToS first
- Isolated Sandbox: Linux sandbox with file/account isolation, auto-wiped after runs
- Panic Button: A physical panic button on the desk to kill it immediately if it goes rogue
Tech Stack
- Node / TypeScript
- Claude Agent SDK
- twurple
- WSL2 sandbox
- WebSocket overlays
- 800 tests
The project is currently in the dry run stage but works end-to-end. The creator also asks if this "viewers as prompt engineers" format will last or just be a 4-minute novelty.
More from coding & agent
- Soft Clamp cuts tool-call overuse in multi-teacher distillation, from 13.7% to 9.0% — antgroup · 2026-07-21
- Agent harness memory loss and compaction are still a major usability problem — adityaag · 2026-07-21
- SpecJudge runs locally on Ollama to pick the right-sized AI model for your project — jokiruiz · 2026-07-21
- A developer maps out six design rules for CLIs that humans and AI agents can both use — yujiezha · 2026-07-21
- A coding-agent skill that forces ADHD-friendly, answer-first output — ayghri · 2026-07-21
- A set of agent skills for CAD, robotics, and hardware design — earthtojake · 2026-07-21