Authorization notice. Lcu is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Remote script. Setup runs a downloaded installer and unattended approval lets the agent act without a person present, so use it only on disposable machines.
Who it is forA DevOps engineer or tester who runs agent-driven GUI checks on a VM or CI runner where no one can answer approval prompts.
The problemInteractive approval prompts block unattended jobs, so GUI test runs stall when no one is present.
The outcomeThe agent runs GUI steps on the disposable machine without prompts, and per-app approval still applies to every app it touches.
What you need first
- The official ChatGPT desktop app installed locally
- Your agent harness installed (Claude Code, Codex CLI, Pi, or another supported adapter)
- macOS on Apple Silicon, or Linux ARM64 or x86-64 with an active X11 desktop and D-Bus
- Accessibility and screen-recording permissions on macOS, approved during first use
Steps
- Install the official ChatGPT desktop app and your harness on the disposable VM or runner.
- Run
~/.local/share/lcu/current/bin/lcu setup --approval auto. (inferred, check the README) - Run
lcu appsto confirm which apps are always allowed on this machine. - Run the agent job, then review the results and any screenshots it saved.
- Run
lcu cross-turn offif you turned on cross-turn computer use for this job.
Prompt for your agent
Using the amontlabs/lcu repo, configure LCU for unattended use on this disposable machine with `lcu setup --approval auto`. Run `lcu apps` and report the list of always-allowed apps. Verify that the list contains only apps the job needs.
Caveat. The auto approval mode only pre-allows LCU's two model tools in the harness, and per-app approval stays in force.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for amontlabs/lcu and "Run unattended computer use on a disposable VM or CI machine"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer