Rust · Jul 2025

LUNA

A computer-use agent prototype I wrote in Rust. It finds buttons and text fields with computer vision I wrote by hand, no ML, and every action goes through a safety check first.

I wrote LUNA in Rust because I wanted to understand how computer-use agents actually work under the hood, and I wanted to see how far I could get with computer vision I wrote by hand instead of ML models. It finds buttons, text fields, and icons with edge and rectangle detection, figures out what to do from a plain English command, and runs every action through a safety layer that blocks destructive commands and rate limits everything. The vision and safety parts are real and tested. Screen capture and actually moving the mouse are still stubbed out, so that's the next thing to build.

If you want to together, or you just want to talk about any of this, my email’s right here.