Give Codex computer-use on Windows with any third-party model — no official OpenAI computer use required.
Codex Computer Use for Windows is a computer-use layer for Codex users who run third-party models (DeepSeek, GPT-5.6, Kimi, or any OpenAI-compatible API). If you use Codex with a custom model provider, the official Codex computer-use feature is unavailable — this project gives you that capability instead.
Chinese version: README.zh-CN.md
- Codex (running any model with tool/function calling) decides the next action.
- MCP server (windows-mcp, MIT) exposes Windows automation tools (click, type, scroll, screenshot, UI state, ...).
- Windows UI Automation (UIA) reads the screen as text + coordinates, so no vision model is needed — text-only models like
deepseek-v4-flashwork out of the box.
You → Codex (DeepSeek / GPT-5.6 / Kimi / ...) → MCP tools → Windows UIA → click/type/scroll
Option A — one-line bootstrap:
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/ukinch605/codex-computer-use-windows/main/scripts/install.ps1 | iex"Option B — manual:
git clone https://github.com/ukinch605/codex-computer-use-windows.git
cd codex-computer-use-windows
powershell -ExecutionPolicy Bypass -File setup.ps1Then:
-
Install the MCP server into Codex:
powershell -ExecutionPolicy Bypass -File install-codex-mcp.ps1
-
Restart Codex (the MCP server is loaded when a session starts).
-
Just ask Codex to operate the computer, e.g.:
打开记事本,输入 hello world
用 Edge 打开 example.com,把页面标题告诉我
-
Optional verification:
python scripts\mcp_smoke_test.py # MCP server starts and config fragment is valid
| Model | Status | Notes |
|---|---|---|
DeepSeek (deepseek-v4-flash / deepseek-v4-pro) |
✅ Tested | https://api.deepseek.com, tool calling works |
| GPT-5.6 / Kimi / other OpenAI-compatible models | Should work via any OpenAI-compatible endpoint; not individually tested yet |
Any model that supports OpenAI-style tool/function calling should work. Follow your provider's docs for base_url and model name.
If you don't use Codex, the same Windows automation stack can run as a standalone agent driven directly by a model API (Windows-Use based):
python scripts\agent\smoke_test.py # API connectivity + function calling
python scripts\agent\gui_test.py # Notepad: type "hello world"
python scripts\agent\edge_test.py # Edge: open example.com and read the titleOr double-click 启动Windows-Use.cmd.
See docs/TEST_MATRIX.md for results recorded on real virtual machines.
See CONTRIBUTING.md.
MIT. This project integrates Windows-MCP (MIT) and Windows-Use (MIT).
