Codex Computer Use Ventura
Restores OpenAI Codex Computer Use on macOS 13 by building a clean-room MCP backend that adapts to the bundled sky interface, enabling screen interaction and app control without modifying system libraries.
README
Codex Computer Use for macOS 13
An unofficial, source-built compatibility layer that restores the bundled Codex Computer Use skill on macOS 13 Ventura without modifying system libraries, lowering Mach-O deployment targets, or redistributing OpenAI code.
Tested on macOS 13.7.8 arm64, Xcode 15.2 / Swift 5.9.2, and bundled
Computer Use plugin versions 1.0.1000387 and 1.0.1000451.
[!IMPORTANT] This project is not affiliated with or endorsed by OpenAI. It does not contain OpenAI's proprietary Computer Use wrapper,
@oai/sky, skills, services, assets, or binaries. It interoperates with a legitimately installed local plugin and builds its native backend from MIT-licensed source.
Why this is needed
Recent bundled Computer Use services declare macOS 14.4 as their minimum OS
and link APIs unavailable on Ventura. Changing LSMinimumSystemVersion or the
Mach-O load command is not sufficient because the binaries genuinely import
newer Foundation and Swift runtime symbols.
This project takes a different route:
- Build an open Swift Accessibility/CoreGraphics backend targeting macOS 13.
- Adapt its stdio MCP tools to the ten-method
skyobject expected by the existing Codex skill. - Install a small clean-room loader in the local plugin cache. On macOS 14.4+ it delegates to the untouched saved OpenAI wrapper; on older systems it uses the open backend.
There is no patching of OpenAI native binaries and no TCC bypass.
flowchart LR
Skill["Bundled Computer Use skill"] --> Loader["Open clean-room loader"]
Loader -->|"macOS 14.4+"| Original["Saved local OpenAI wrapper"]
Loader -->|"macOS 13 / early 14"| Adapter["Sky-to-MCP adapter"]
Adapter --> Backend["MIT Swift macOS backend"]
Backend --> AX["Accessibility + CoreGraphics"]
What we added
- A Swift 5.9-safe capture result handoff for the open backend.
- The complete bundled Sky-facing tool surface, including
select_text. - Xdotool-style keypad names such as
KP_0. - Screenshot-pixel to global-coordinate conversion with bounds checks.
- App-path and bundle-ID resolution, app-scoped input, compact state diffs, permission prompting, bounded screenshot storage, and backend recovery.
- A hash-gated installer that refuses unfamiliar proprietary wrapper versions.
- An optional LaunchAgent that reapplies the loader when an update creates a fresh versioned plugin cache.
The backend source and history live in
Torrekie/open-codex-computer-use.
Requirements
- Apple Silicon Mac running macOS 13 or newer.
- Xcode 15.2 or another Swift 5.9 toolchain capable of targeting macOS 13.
- A current Codex/ChatGPT installation that already includes the bundled
Computer Use plugin and
node_replruntime. - Node.js 20+. The installer can use ChatGPT/Codex's bundled Node runtime.
- Accessibility and Screen Recording permission for the locally built helper.
Install
git clone https://github.com/Torrekie/codex-computer-use-ventura.git
cd codex-computer-use-ventura
./scripts/install.sh
The default build is ad-hoc signed. It works, but rebuilding can change its TCC identity and require granting permissions again. If you have a stable local code-signing identity, use it:
CODESIGN_IDENTITY='Apple Development: Your Name (TEAMID)' ./scripts/install.sh
The installer builds the pinned public backend commit, assembles a local app,
backs up recognized plugin wrappers byte-for-byte, installs the clean loader,
and enables the update watcher. Set INSTALL_WATCHER=0 to skip the watcher.
After installation, restart Codex or reset node_repl. The first app-state
request may open Privacy & Security; enable Accessibility and Screen
Recording for Codex Computer Use for macOS 13, then retry.
Verify
Use the normal bundled skill bootstrap. A minimal read-only probe is:
var apps = await sky.list_apps();
nodeRepl.write(JSON.stringify({ target: sky.target, count: apps.length }));
Then inspect Finder:
var state = await sky.get_app_state({ app: "Finder", disableDiff: true });
nodeRepl.write(JSON.stringify({
app: state.app,
textLength: state.text.length,
hasScreenshot: state.screenshot !== null,
}));
Updates
The watcher runs the hash-gated patcher whenever the bundled plugin cache changes. Known identical wrappers are updated automatically. Unknown future wrappers are left untouched and reported in:
~/.codex/computer-use-macos13/reapply.log
Do not add an unknown hash without reviewing the new wrapper and skill API.
Restore or uninstall
Restore the original local wrappers and disable the watcher while keeping the backend:
./scripts/restore.sh
Restore and remove the installed compatibility files:
./scripts/uninstall.sh
Neither command modifies macOS TCC databases.
Development
Run the Node adapter, loader, and installer tests:
npm test
Build and test the Swift backend fork:
BACKEND_SOURCE=/path/to/open-codex-computer-use ./scripts/build-backend.sh
See Architecture, Testing, and Troubleshooting for implementation details.
Security and licensing
Read SECURITY.md before enabling the backend on a sensitive machine. The bridge is MIT-licensed. The native backend retains its upstream MIT license and attribution; see Third-Party Notices.
OpenAI and Codex are trademarks of their respective owner.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。