frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Live Sun and Moon Dashboard with NASA Footage

https://www.lumara-space.app/
154•beeswaxpat•9h ago•51 comments

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
28•frabonacci•6h ago•15 comments

Show HN: ClusterdOS – Kubernetes without the platform team

https://gitlab.com/aranya-tech/public/clusterdos
2•druid•30m ago•0 comments

Show HN: Effected Keyboard 2 – Effects as You Type

2•vitalipom•2h ago•0 comments

Show HN: A TUI for Markdown view an editing

https://mdee.bkh.dev
3•cloked•3h ago•0 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
364•GodelNumbering•1d ago•141 comments

Show HN: I mapped the latest UK fuel prices by county

https://fuelfox.uk/regional
3•sircipher•4h ago•0 comments

Show HN: Open Bias – proxy that enforces agent behavior at runtime

https://github.com/open-bias/open-bias/
8•algomaniac•4h ago•3 comments

Show HN: Utilyze – an open source GPU monitoring tool more accurate than nvtop

https://www.systalyze.com/utilyze
113•ManyaGhobadi•1d ago•28 comments

Show HN: A terminal spreadsheet editor with Vim keybindings

https://github.com/garritfra/cell
102•garritfra•1d ago•49 comments

Show HN: Ragnerock, an AI data analysis tool

https://www.ragnerock.com
7•mmahowald27•6h ago•4 comments

Show HN: Turning a Gaussian Splat into a videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
235•yak32•5d ago•63 comments

Show HN: Waiting for LLMs Suck – Give your user a game

https://github.com/ftaip/waiting-game
20•dalemhurley•20h ago•12 comments

Show HN: SyncVibe – Code with friends in the terminal, each with your own AI

https://syncvibe.online/
8•curious1008•7h ago•3 comments

Show HN: I wrote a DOOM clone in my own programming language

https://spectrelang.org/log/devlog#cubedoom
5•pizza_man•11h ago•3 comments

Show HN: VoiceGoat – A vulnerable voice agent for practicing LLM attacks

https://github.com/redcaller/voice-goat
6•xmhatx•8h ago•1 comments

Show HN: How much of the Linux kernel is written by AI?

https://assisted-by.dev/
5•snek14•8h ago•3 comments

Show HN: Devicons, +1300 logos and icons in React, SVG, and icon format

https://devicons.io/
6•vorillaz•14h ago•2 comments

Show HN: AgentSwift – Open-source iOS builder agent

https://github.com/hpennington/agentswift
46•hpen•21h ago•9 comments

Show HN: Implementing Patio11's "Dangerous Professional" as a Claude Code Plugin

https://playground.tetraresearch.io/p/implementing-patio11s-dangerous-professional
3•tawb•10h ago•1 comments

Show HN: Unusual Wikipedia

https://unusualwiki.nk412.com/
20•grilledchickenw•1d ago•3 comments

Show HN: The Unix Magic poster, annotated (updated)

https://github.com/drio/unixmagic
60•drio•1d ago•7 comments

Show HN: I built a dating SIM that prepares you for your date

https://claude.ai/public/artifacts/98750067-546b-4c9e-ab62-68cae2941329
3•danish00111•5h ago•1 comments

Show HN: Tiao, A two-player turn-based board game

https://playtiao.com
60•trebeljahr•2d ago•29 comments

Show HN: Free textbook on engineering thermodynamics

https://thermodynamicsbook.com/
174•2DcAf•2d ago•47 comments

Show HN: PrePrompt – rewrites vague prompts before they reach the LLM

https://preprompt.org/
5•yashdeeptehlan•20h ago•4 comments

Show HN: Blotter, a live map of LAPD radio activity

https://blotter.fm
5•s_e__a___n•21h ago•1 comments

Show HN: BeVisible.app - Blog that runs itself

https://www.bevisible.app
6•evanyang•15h ago•2 comments

Show HN: Startup Equity Adventure Game

https://options-game-polymathrobotics.pythonanywhere.com/
34•iliabara•2d ago•25 comments

Show HN: Gate – AI workers handle dev tickets in a visual workspace

https://soliddark.net/gate
3•SolidDark•16h ago•0 comments
Open in hackernews

Show HN: Drive any macOS app in the background without stealing the cursor

https://github.com/trycua/cua
28•frabonacci•6h ago
Hi HN, Francesco from Cua here. I hacked this project together last weekend, inspired by the Codex Computer-Use release and lessons learned from deploying GUI-operating agents for our customers.

The main problem: when a UI automation process controls a desktop app today, it usually takes over the human’s session. Your cursor moves, keyboard focus gets stolen, windows jump to the front, and you have to stop working until the agent is done. That is why we have historically avoided encouraging users to run these processes directly on their host machine, instead relying on VMs or GUI containers for concurrency and background execution.

But computer-use - the tools we give agents to operate computers like humans - does not scale cleanly that way. As models get smarter, agents need to share hosts safely, run in the background, and avoid collisions with the human or other agents using the same machine.

We realized macOS has no first-class API for "drive this app without touching the cursor". CGEventPost routes through the hardware input stream, so it moves your cursor. CGEvent.postToPid avoids the cursor warp, but Chromium treats those events as untrusted and silently drops clicks at the renderer boundary. Activating the target app first raises the window and pulls focus, defeating the point of background execution.

Cua Driver is our attempt at a real fix: a background computer-use driver for macOS that lets an agent click, type, scroll, and read native apps while your cursor, frontmost app, and Space stay where they are. The default interface is a CLI, so it is easy to script or call from any coding agent shell.

Try it on macOS 14+:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/cua-d...)"

The first internal use case was delegated demo recording. We ask Claude Code to drive an app while 'cua-driver recording start' captures the trajectory, screenshots, actions, and click markers. The result is an agent-generated product demo, Screen Studio inspired.

Other things we have used it for:

- Replacing Vercel’s agent-browser and other browser-use CLIs. With Claude Code and Cua Driver, you do not need Chrome DevTools Protocol at all.

- A dev-loop QA agent that reproduces a visual bug, edits code, rebuilds, and verifies the UI while my editor stays frontmost.

- Personal-assistant flows that use iMessage from Claude Code, Hermes, or other general-purpose agent CLIs.

- Pulling visual context from Chrome, Figma, Preview, or YouTube windows I am not looking at, without relying on their APIs.

What made this harder than expected:

- CGEventPost warps the cursor because it goes through the HID stream.

- CGEvent.postToPid does not warp the cursor, but Chromium drops it at the renderer IPC boundary.

- Activating the target first raises the window and can drag you across Spaces.

- Electron apps stop keeping useful AX trees alive when windows are occluded without a private remote-aware SPI.

The unlock was SkyLight. SLEventPostToPid is a sibling of the public per-PID call, but it travels through a WindowServer channel Chromium accepts as trusted. Pair it with yabai’s focus-without-raise pattern, plus an off-screen primer click at (-1, -1), and the click lands without the window ever raising.

One thing we learned: the right addressing mode depends on the app. Native macOS apps usually have rich AX trees, Chromium-family apps often need a hybrid of AX and screenshots, and apps like Blender or CAD tools may expose almost no useful AX surface. The mistake is defaulting to pixels everywhere - or defaulting to AX everywhere.

Long technical writeup: https://github.com/trycua/cua/blob/main/blog/inside-macos-wi...

I would like feedback from people building Mac automation, agent harnesses, or accessibility tooling. If it breaks on an macOS app you care about, that is useful data for us.

Comments

LatencyKills•6h ago
Ex-Apple engineer here. I really like your implementation. A few years ago I built a similar tool to help me automate the testing of some of my native macOS apps. Being able to run multiple UI automation tests simultaneously was the big win in my case.

My only criticism is enabling telemetry by default. I'm a fan of having people opt-in.

frabonacci•6h ago
Fair criticism. We took a similar approach to established dev tools like Homebrew, with an anonymous, opt-out telemetry to understand install issues, crashes, and high-level usage. For cua-driver specifically, telemetry is limited to command/tool-level events and basic environment metadata. We don’t send screenshots, recordings, app contents, prompts, typed text, file paths, or tool arguments. That said, we should make the opt-out path clearer
kveykva•2h ago
Would you be open to sharing what you built for running the automation tests? I could really use this right now.
frabonacci•1h ago
We don't have a specific testing framework yet. cua-driver is closer to an automation interface than a test runner. that said, you could definitely build one on top of it. For reference these are some of our integration tests: https://github.com/trycua/cua/tree/main/libs/cua-driver/Test...

One useful trick is to cua-driver 'launch_app' instead of the default 'open' or other osascript, since it can start the app without raising/focusing it, and the tests don't disturb your active desktop while they run

jorvi•1h ago
The problem with opt-in telemetry is that 95% of users don't change defaults, and the 5% who do are your power users. They're not representative of the average user. And only a subset of them will turn it on

Ironically enough the opposite happens with opt-out telemetry, for the same reason: a lot of power users will turn off telemetry, thus you will never see their usage patterns and will have to infer them. Dogfooding helps.

crazygringo•1h ago
I'm confused.

You claim power users opt in to telemetry, and then immediately say power users opt out.

pnw_throwaway•1h ago
The problem with opt-in telemetry is that 95% of users are sick and tired of being spied on with every little thing they do.
jorvi•42s ago
If they really were they would turn it off. And stop using Gmail and Android.

The overwhelming majority of people don't care about digital privacy because the cost is opaque to them.

Also, telemetry when done right isn't "spying". Again, it is anonymized and used to see, for example, where the hot paths and paper cuts in applications are.

davey2wavey•1h ago
Its looking great.

The audit trail question is interesting and I haven't seen it come up much. When an agent clicks through an ERP or edits a file, you've got logs, but how do you explain the "why" behind each decision to, say, a compliance team?

Curious if that's something you're thinking about or if it's too early.

krackers•1h ago
Nice! Thanks for the technical writeup, ~2 weeks from me wondering how it's implemented [1] to being able to play with a replicated version!

[1] https://news.ycombinator.com/item?id=47799128

frabonacci•1h ago
Thanks for starting that thread, I definitely drew some inspiration from it. But ultimately the secret sauce for the background click came from discovering yabai's window_manager_focus_window_without_raise https://github.com/asmvik/yabai/blob/f17ef88116b0d988b834bb2...
alsetmusic•1h ago
I tried out their Loom vm software a couple of months back. Worked well, fwiw. I'm not using it anymore because I decided to just give agents direct (supervised) access to my devices.
frabonacci•1h ago
Thanks for trying out Lume! We definitely haven't given up on the idea of sandboxing GUI agents in local macOS VMs. Cua Driver is aimed at a different use case though, letting coding agents and general agents use the Mac you're already on, asynchronously and in the background. That also makes the economics better since multiple agents can share the same machine instead of each needing its own VM
dtran•57m ago
This is one of the coolest hacks I've seen recently. Having done some much less involved MacOS hacking, I can't help but wonder if we may finally see momentum behind some flavor of agent-friendly Linux/Android if Apple doesn't give us more ways to let agents interact with our machines.
frabonacci•40m ago
really appreciate it. macOS has powerful primitives already, but they weren’t designed as one coherent agent API so you end up stitching together and hitting roadblocks. If Apple doesn't make this more first-class, Linux/Android-style environments may move faster because they’re easier to instrument. I think the OpenAI/Jony Ive AI hardware rumors are yet another signal that people may start building agent-native CUA devices instead of retrofitting agents onto existing desktops