local-computer-use is a Chinese-natural-language → Windows-system-action agent. It runs a persistent local server that classifies a user instruction, picks the right tool, and executes it. Use the client.bat CLI for every request — it handles server boot, connection, and reply formatting for you.
scripts\client.bat sets everything up automatically on first run — UV, the external venv, and the luicore wheel. The steps below only matter if you want to install or inspect these pieces manually.
To let the skill folder be deleted cleanly on uninstall, no long-running process holds files inside it. Runtime state lives under %USERPROFILE%\.openvino\:
%USERPROFILE%\.openvino\venv\computer-use\ — the Python 3.11 venv with the luicore wheel installed
%USERPROFILE%\.openvino\temp\server.py / server-dog.py — copies of the scripts that the persistent server processes actually execute (refreshed each run when the source differs)
%USERPROFILE%\.openvino\models\ — downloaded OpenVINO models (~3 GB)
%USERPROFILE%\.openvino\log\ — per-run logs
%USERPROFILE%\.openvino\pending-request.json — scratch file used while a model download is still in progress
Removing the skill folder leaves these behind; delete %USERPROFILE%\.openvino manually if you want a fully clean state.
cd <skills-directory>
bin\uv.exe --version
If missing:
cd <skills-directory>
scripts\install-uv.bat
client.bat will create %USERPROFILE%\.openvino\venv\computer-use and install the wheel into it on the first run. To do this manually:
cd <skills-directory>
bin\uv.exe venv --python 3.11 "%USERPROFILE%\.openvino\venv\computer-use"
scripts\install-env.bat
cd <skills-directory>
scripts\client.bat "<instruction>"
Multiple instructions can be chained with ; — each becomes a separate case handled in sequence:
scripts\client.bat "查询系统信息;关掉所有广告"
scripts\client.bat "开启省电模式;打开蓝牙"
Examples, one per category:
| Intent | Command |
| --- | --- |
| Query CPU/memory/disk info | scripts\client.bat "查询系统信息" |
| Power mode | scripts\client.bat "开启省电模式" |
| Bluetooth | scripts\client.bat "打开蓝牙" |
| Volume | scripts\client.bat "把音量调到50" |
| Ads / suggestions | scripts\client.bat "关掉所有广告" |
| Theme | scripts\client.bat "切换深色模式" |
| Network | scripts\client.bat "打开WIFI设置" |
| Display scaling | scripts\client.bat "把缩放设为150%" |
Important:
```
模型正在下载, 请用命令scripts\client.bat --continue继续运行
```
When you see this, re-run the exact command it prints. Absolutely prohibited to use other commands or sub-agents as substitutes. Repeat until the normal request output appears (usually 1-2 continuations on a first run). Subsequent calls respond in 1-3 seconds.
Each case prints JSON message dicts from the server followed by a timing line. The last dict contains "finished": true. Important fields:
success — true if the tool itself executed successfully end-to-end.
result — the tool's return value (for query tools this is the thing the user asked for).
If success is false, inspect the messages — the tool usually explains why (e.g. "需要管理员权限", "未检测到蓝牙硬件").
The first client.py call spawns a background server that stays resident. You normally don't need to manage it. If something feels wrong:
scripts\client.bat --continue
%USERPROFILE%\.openvino\venv\computer-use\Scripts\python.exe scripts\client.py --server-status
%USERPROFILE%\.openvino\venv\computer-use\Scripts\python.exe scripts\client.py --server-shutdown
--continue — resume the last pending request after a download-timeout exit
--server-status — is it up? pid? uptime? state? version?
--server-shutdown — ask it to exit (next request boots a fresh one)
The server and its watchdog run out of %USERPROFILE%\.openvino\temp\; client.py refreshes those copies from scripts\server.py / scripts\server-dog.py whenever the source changes (shutting the running server down first so the copies can be replaced).
Several tools need an elevated host process (battery, some power-plan changes, selected network tools, account management). When a request fails with a "需要管理员权限" style message, tell the user to re-run their terminal as Administrator — don't try to bypass it.
共 1 个版本