With a webcam and a raspberry pi emulating a keyboard and mouse, you can have AI drive a computer…
@ferrants2.4K followers
44,689 views
60 Comments
Comments from the original post on X (Twitter)

@parhamdb
I use usb nanokvm (~$50) to drive a computer from another one. There is an ethernet version as well.
36 likes

@ferrants
I should get one of those
8 likes

@parhamdb
Very very useful.
4 likes

@parhamdb
Sorry,thats ethernet, i have this one:
2 likes

@Michael_AI_Hu
键鼠 HID 是树莓派直接模拟的话,从画面到动作大概隔多少毫秒?
5 likes

@ferrants
Depends on the task, it makes scripts for things it wants to do repetitively, so that’s quick. But otherwise it needs inference.
3 likes

@interpt_co
But why would the computer care??
5 likes

@ferrants
the computer wouldn't
5 likes

@vwapster
@interpt_co When's the last time you asked it about it's feelings? You should care more. You can't just treat computers like they're just replaceable hardware.
1 like

@interpt_co
@ferrants I don’t care about the wasted token, I always say “please” and “thank you” to my agents, just in case…
3 likes

@david_nix
Dude what?!
3 likes

@ferrants
Now that I have it working, I can think of exactly what I’ll do with this. Kinda wild
6 likes

@kpoxo6op2
Watch out for crowdstrike which detects Linux devices
3 likes

@victormora
love this. any more details on how this works?
3 likes

@ferrants
Webcam to a more capable computer, though could go to the rpi. Main computer runs hidctl on the pi over ssh, which writes raw USB HId reports to the rpi’s devices. AI runs on the bigger computer to decode what to do, references webcam. But I want to tighten it up.
12 likes

@victormora
thanks for the info. please keep going with this project.

@KadrianStahley_
Wow. Impressive
3 likes

@GeopolRomania
🤨 You need neither a webcam or an external raspberry pi. Just ask the AI from one computer to tunnel through and take control of the other computer on the same Network (it'll use VNC if it's a Windows computer, if not figure out another tool) and take screenshots instead of using a webcam.
2 likes

@ferrants
That would be pretty clear on the controlled computer though, which is fine, but not what I was trying to demonstrate
8 likes

@GeopolRomania
Not sure what you mean by "would be pretty clear" but it's able to get past Captchas for instance. No problem.

























