Port a computer-use tool into another harness

They had Gemini rework Codex’s computer-use tool for Antigravity and finished the port in under 10 minutes.

Done with GeminiCodex· Advanced· Sep 2026

What they did
They gave Gemini access to Codex’s folder on their PC and asked it to make the computer-use tool work inside Antigravity. Gemini turned the Codex binary into a bridge with no extra dependencies, usable from both the command line and an MCP stdio server. It also dealt with Windows quirks like sandboxed window access, auto-approving newly opened apps, bringing back a hidden pointer, and falling back to screenshots for Chrome or minimized windows.
How it went
The poster says the adapted tool reached feature parity with Codex’s version. They used it successfully for autonomous Telegram Web messaging on a setup with two monitors and for complete Antigravity interface control. Early trouble included an invisible cursor and browser-capture failures.
Tips
Ports like this can hinge on low-level desktop behavior, especially on Windows. If you try it, ask the agent to pause before any destructive or final action so you can review the changes first.

Try it yourself with Gemini

Take the files in [folder path] for [source tool] and modify them so the same tool runs inside [target harness or environment]. Keep the original behavior as much as you can, and make the finished version available in [output folder]. Add a short install guide and one basic test I can run to verify it works. Stop and ask me before you do anything irreversible, including deleting files, sending data, making payments, or submitting anything. When you’re done, list the changes you made, the parts that were not portable, and any OS-specific problems you had to solve.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.