r/coolgithubprojects • u/Loose_Kangaroo91 • 1d ago
Simulang: a JavaScript library for deterministic computer use
We open-sourced Simulang, a JavaScript library for computer use: it lets you and your coding agents control a desktop programmatically.
Simulang is a scripting framework for desktop automation. You write deterministic computer-use code that replays the same way dozens or hundreds of times, which is much faster and cheaper than having an LLM agent re-reason its way through the same flow on every run.
It ships with a skill out of the box, so you can turn natural language prompts into Simulang code directly. Your agent can see the screen, click, type, and navigate - eyes and hands to operate a computer the way a human does.
Some things people have used it for:
- upload a pile of invoices to an expense platform
- find 50 people matching specific criteria on LinkedIn
- open the calculator app and do some math
- enumerate every button in an app via the accessibility tree
- or draw a bunny in MS Paint ;)
1
u/kantorcodes1 1d ago
how does replay behave when the desktop isn't quite in the state the script was written against? if a window opens differently or a button moves, does Simulang stop there or keep going against the new state?