A few weekends ago I got annoyed at typing prompts into a terminal and decided the fix was, obviously, to control my AI agent with hand gestures instead. This is the story of building that, and the two hours I lost fighting a GPU crash that had nothing to do with my code.
The idea: a webcam watches your hand, MediaPipe tracks the landmarks, and three gestures map to three actions on an Anthropic-powered coding agent.
Pinch (thumb and index touching) - the agent writes code
Spinning your index finger in a circle - the agent brainstorms an idea
Two fingers "running" up and down - it runs whatever code it just wrote
No keyboard. No prompt box. Just your hand in front of a webcam, like you're a conductor telling an orchestra what to play.
The MediaPipe detour
I started with MediaPipe's newer Tasks API (HandLandmarker), because it's the one all the docs point you to now. It crashed immediately on my Mac with a Metal/GPU service error, even when I forced it onto the CPU dele
Discussion
Say something first
It all starts with you—share your thoughts now.