shipwithmuse

№ 0012GitHub

windows-cua computer-use agent

windows-cua is a native C++ Win32 port of Meta's macOS computer-use agent that drives Muse Spark 1.1 through the Responses API to see and operate a real Windows desktop.

windows-cua computer-use agent on github.com
jason-snell/windows-cuaREADME ↗

windows-cua

A high-performance, native C++ port of Meta’s macOS computer-use agent (originally named metacua).

This implementation replaces the original Swift/Python macOS architecture with a single, dependency-free Win32 executable. It drives Meta's muse-spark-1.1 model (via the Responses API) to interact with your actual Windows desktop. The agent operates in a classic look-act-look loop: capturing the screen, evaluating goals, planning, executing actions via native input synthesis, and repeating until the goal is complete or stopped.


Architectural & System-Level Highlights

Unlike sandboxed variants, this agent drives your actual physical machine. The C++ codebase integrates directly with native Windows subsystem APIs:

1. Pixel-Perfect Coordinate Mapping & DPI Awareness

To ensure that the model's normalized 0-1000 coordinates map accurately to physical coordinates on any screen:

  • The application calls SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) at startup (falling back to SetProcessDPIAware()).
  • This prevents Windows from virtualizing or scaling the display coordinates for the process, ensuring GDI screenshot dimensions align exactly with Win32 input dimensions.

2. High-Performance GDI+ Screen Capture

Screenshots are captured natively without shell process dependencies:

  • The primary display is copied into a 32bpp DIB section via a Win32 BitBlt with the CAPTUREBLT flag enabled (ensuring layered/transparent windows are captured).
  • Downsampling is handled in memory via Gdiplus::Bitmap using High-Quality Bicubic interpolation and half-pixel offsets to prevent alias distortion.
  • The resulting image is encoded directly to PNG base64 using GDI+ COM encoders streamed via IStream.

3. Native Win32 Input Synthesis (SendInput)

Input execution matches the performance and timing requirements of interactive environments:

  • Mouse Glide: Mouse movements are interpolated using a cubic ease-in-out curve over dynamic step counts based on travel distance to mimic human actions.
  • Absolute Coordinates: Mouse positions are scaled from normalized logical coordinate spaces to the Win32 0..65535 absolute coordinate system.
  • The Focus Theft Prevention Bypass: Windows modern focus-theft protection can block non-active processes from calling SetForegroundWindow. `wind

Also filed under Agents & automation

See all →
  1. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation

  2. 0199

    Muse as a control plane for a homelab via Tailscale★

    I think a lot of people are boxing Muse in as “Hermes for normies.” My guess is Meta intentionally keeps the deeper capabilities out of sight because the target audience does not want a complicated Hermes/Grok Bot-style setup. They aren't trying to capture the nerdy Hermes using market, they want this to be an AI agent for normies but they don't limit it as such. What it advertises its for is far from what it actually can do with very little work. But Muse gets much more interesting once you stop thinking of its VM as the whole system. I joined the Muse VM to my Tailscale network, gave it SSH access to a restricted user on my home Ubuntu box, and now it can run commands and browser automation through hardware I already own. I figured out Muse can do this because I asked it if it had a Tailscale skill and it said it did, then after a series of "proceed" replies, it set it up for me outside of the parts where I had to join it. At that point, Muse stops being a “shopping assistant” and starts looking more like a control plane for your own infrastructure. With Tailscale + SSH/API access, it can potentially: • Manage Docker, VMs, NAS, Proxmox, and homelab services • Pull repos,

    u/ogbrien

    Reddit post

    Agents & automation

  3. 1077

    BlindPilot

    It is a frontend and a chat client for AI providers, supporting 7 backends including muse code

    mastodon: serrebiradio.com/@serrebi

    GitHub

    Agents & automation

  4. 1074

    Ziggy, a 24/7 voice assistant on Muse Spark

    An always-on laptop voice companion: local Porcupine wake word, local Whisper speech-to-text in Hindi and English, Muse Spark via the Meta Model API as the brain, offline TTS and local conversation memory.

    @TanayYadavDev

    GitHub

    Agents & automation

More GitHub

See all →
  1. 1066

    Muse remote-control bridge for Intel Macs

    Since Muse for Mac ships only for Apple silicon, this small service lets Muse's cloud VM screenshot, click and type on an Intel Mac, compressing each 5K frame to about 150 KB and handling Retina coordinate scaling.

    @LilMuh

    GitHub

    Errands & personal agent

  2. 1040

    CursorBench 4.0 score-vs-cost report

    A self-contained visual report comparing CursorBench 4.0 score against cost per task for Opus 5.5, Fable 5.1, Grok 4.7 and Muse Spark 1.3, where Muse Spark 1.3 Max scores 41.6% at $2.64 per task. GPT-6 points are clearly marked as estimates.

    @dominicletz

    GitHub

    Benchmarks & research

  3. 0992

    Uber for Muse connector

    An Express-based Muse connector that books Uber rides from natural language, with routes for fare estimates and ride requests, connector auth middleware and a privacy page.

    @AshutoshKD

    GitHub

    Connectors & MCP

  4. 0984

    Movies & TV Muse connector (TMDB)

    A Muse connector powered by TMDB that exposes search, trending, now-playing, upcoming and top-rated movies, TV shows and people lookups behind connector auth.

    @AshutoshKD

    GitHub

    Connectors & MCP

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1013

    Shop Pay agentic checkout on every Shopify store★

    We are excited to announce we are partnering deeply with Muse to enable agentic checkout with Shop Pay on all Shopify stores, offering people an easy and delightful way to shop and check out with Muse.

    @tobi

    X post

    Business & commerce

  3. 1009

    Private e-book library app from Google Drive★

    Muse built me a private library for the e-books and articles in my Google Drive. Everything is organized by topic, and each section opens onto its own subcategorized shelves. Each book opens like a real book and is readable in-app

    @chiasmus_cap

    X post

    Apps & websites