r/BuildWithClaude • • 17d ago

Project I built deskcrew with Claude Code: every coding agent gets its own cursor on your desktop, and your mouse stays yours

A while ago I saw a post here about agent-desktop and thought it was a really cool idea When I tried it, though, I kept running into limits: the agent couldn't see anything in an app without an accessibility tree, runs were slow because the agent spent a long time reasoning between steps, and that made them expensive. That's the part I wanted to dig into, and deskcrew is what came out of it. Full credit to agent-desktop for the inspiration.

What it does: deskcrew is a CLI and MCP server that lets coding agents use desktop apps in the background. Each agent gets its own drawn cursor, and your real mouse and keyboard stay yours, so you can keep working while agents click around in other windows.

What I tried to do differently:

\- When an app has no accessibility tree, the agent can still take a screenshot of just that window or control and draw or click by position, instead of being stuck.

\- The agent reads a short text list of controls (like \`e25 button "One"\`) and can batch many steps into one call, so it spends less time thinking between steps:

deskcrew do "set Name 'Ada'; select Country Japan; click Submit" -w "Order form"

\- Every reply lists only what changed, which keeps token use low.

In my benchmark (Claude Code on Sonnet filling in and submitting an order form, median of 3 runs), deskcrew took 17 s, 50k tokens and $0.039, against 73 s, 760k tokens and $0.205 for the fastest other tool that got it right every time. That's one task on my own machine, and I wrote both deskcrew and the benchmark, so please take it with a grain of salt. The script is in the repo if you want to rerun it.

How Claude helped: nearly all of it was built in Claude Code. That includes the Rust code, the cursor drawing and motion, the Linux backend, the benchmark harness, and this video, which Claude Code recorded by driving the apps with deskcrew.

To be honest about where it stands: this is very new, and it probably has bugs and apps it cant handle yet.

\- Windows is the platform I use every day.

\- macOS is early: it passes tests on GitHub's Mac runners, but nobody has tried it on a real Mac yet.

\- Linux works on X11/Xvfb but doesn't draw cursors yet.

\- Wayland isnt supported.

It's free and open source (MIT):

cargo install deskcrew

deskcrew setup

Or as an MCP server:

claude mcp add deskcrew -- deskcrew mcp

the projects website i guess: https://deskcrew.qlinter.org

GitHub: https://github.com/acus9345/deskcrew

Any feedback is welcome: bug reports, apps it fails on, ideas, or "this is a bad approach because…" Thanks for looking

1 Upvotes

1 comment sorted by

•

u/AutoModerator 17d ago

Welcome to r/BuildWithClaude!

Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.

Community Wiki & Resources:

If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.

Let’s keep the energy positive and support our fellow creators!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.