Port Codex's computer-use tool to other harnesses
The poster pointed Gemini at a folder and had it adapt Codex's computer-use tool for Antigravity, finishing in under 10 minutes. ·
- What they did
- The poster says they pointed Gemini 3.8 in Antigravity at Codex’s folder on their PC and told it to adapt Codex’s computer-use tool for Antigravity. In under 10 minutes, Gemini rewired the Codex binary into a zero-dependency bridge that works as both a CLI and MCP stdio server, while reverse-engineering sandbox window access, auto-approving new apps, restoring the hidden mouse cursor, and adding screenshot fallback for Chrome or minimized windows.
- How it went
- The result reportedly reached feature parity with Codex’s tool and worked on tests including autonomous Telegram Web messaging on a dual-monitor setup and full Antigravity UI navigation. The post does not give benchmark numbers or failure rates beyond saying early issues included invisible cursor and failed browser capture.
- Worth knowing
- The main catch is that Gemini had to solve several Windows-specific low-level issues around desktop isolation, approvals, cursor recovery, and screen capture to make the bridge usable.
Try it yourself with Gemini
I've pointed you at the folder [path to folder] that contains [source tool, such as a computer-use tool from one agent harness]. Read how it works and adapt it so it runs in [target harness or environment]. You're finished when the ported tool is in [output folder], with a short README on how to install it and a basic test showing it works. Tell me what you changed and anything that couldn't be carried over.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Sep 4, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Hunt for unpatched vulnerabilities in SQLite commits
Google's Big Sleep agent reviewed recent SQLite commits starting from a patched bug and found an exploitable flaw, which was fixed before release.
Answer patient enquiries for a clinic by chat
An n8n and Gemini agent receives patient chat messages, keeps context, uses clinic info from Google Sheets and responds to enquiries.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build and ship a micro-SaaS in three hours
A developer used paid Replit to build and deploy a micro-SaaS to production in about 3 hours, with database, domain, hosting and monitoring handled.
Build an RFP analysis tool
The author built a simple RFP analysis tool with Replit Agent, using a Flask backend and an HTML, Tailwind and JavaScript frontend.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.