Tart VM + VNC turns Claude Code into a full WeChat desktop agent — workflow open-sourced
lxfater · x · 2026-12-01
@yucheng shared a WeChat automation setup that bypasses wx-cli entirely, with lxfater adding real-world results and an open-source doc.
Core idea: Run a macOS VM via Tart on a Mac, log into WeChat there, wrap it as an MCP tool for Claude Code, and drive the UI over VNC with screenshot-click-type-paste. Since it simulates real system operations, it sees more data and can output actions that wx-cli can't.
Results: The agent independently renamed remarks for 23 contacts and tagged 87 people inside the VM.
Performance: On 20 find-a-contact tasks, direct VNC (reading the screen 0.8s after click) succeeded on 19 vs only 7 for noVNC + browser-use — so the agent uses direct VNC while the human watches via read-only noVNC.
Pitfalls: vision-based control struggles with crowded UIs and lag (the Delete button sits 47px from Tag); Chinese IME swallows spaces, so all Chinese input goes through clipboard.
The full write-up is open-sourced at yskills/vnc-agent-desktop.md and can be pasted to your agent as a prompt. The author warns of ToS/ban risks — keep volume low and confirm outgoing messages manually.
More from coding & agent
- Simon Willison ships Datasette Charts in six days: charts as SQL aggregates — JeremyCMorgan · 2026-12-01
- One-line change cuts CI bill 11x: 7,500 jobs drop from $225 to $25 — aniketmaurya · 2026-12-01
- A full spec launch film made end-to-end with Claude and Krea, from 26 storyboards to final cut — angrypenguinPNG · 2026-12-01
- Nous Hermes agent runs a full architecture proposal workflow locally on NVIDIA DGX Station — NousResearch · 2026-12-01
- Remote MCP server lets Claude/Codex run training jobs on your lab's own GPUs — playidealab · 2026-12-01
- Gemini Neon catches Opus 5.5-injected pixel-shift bug in dev's ML training stack — willdepue · 2026-12-01