preloader
post-thumb

Last Update: November 30, 2026 4 min read


BYauthor-thumberic

|Loading...

TYOMAN's "Get AI help" lets the person at a Windows PC hand a problem to an AI and watch it work. The AI can do two kinds of things: look at the screen and click and type like a person (computer use), or run a command and read the result. Recently we added a choice of provider (Claude, Gemini or OpenAI) and of model size (Fast, Balanced or Expert), so we spent an afternoon giving the same boring job to different models. The job was joining the office Wi-Fi.

The task

"Connect to Wi-Fi network name with the WIFIPASSWORD password."

The password itself goes into TYOMAN's Secrets box on the PC. The AI only ever sees the name WIFIPASSWORD. When it needs the value, TYOMAN fills it in on the PC: either typed into whatever field the AI has clicked, or handed to a command as an environment variable. The value never reaches the AI provider, our server or any log.

Both routes were open to every model. Which one they picked is the interesting part.

What happened

Model
Route it chose
Outcome
Gemini 3.5 Flash (Fast)
Opened Wi-Fi Settings, then the Wi-Fi flyout, about 20 clicks and scrolls, typed the password four times
Stopped by us after 8 minutes
Gemini 4 Neon (Balanced)
Checked with commands first, then opened the Wi-Fi flyout and typed the password
Connected after 6 minutes (the first password we gave it was wrong, so it asked for the right one)
GPT-6.2 Sol (OpenAI Balanced)
Checked with a command, then opened the Wi-Fi flyout, clicked and typed the password
Connected in 1.5 minutes, cost $0.47
GPT-6 Luna (OpenAI Fast)
Three commands, no screen at all
Connected in 33 seconds, cost $0.02

The screen route did work twice. It was just slow and fragile. Every click is a round trip: take a screenshot, send it to the model, wait for it to decide, inject the click, take another screenshot. The Windows Wi-Fi flyout also closes the moment it loses focus, so anything that pops up in front of it (an approval prompt, a notification) sends the model back to the start.

Why the password pulls models to the screen

The giveaway was a different task. When we asked the same models to forget a Wi-Fi network, even Gemini 3.5 Flash did it with a single netsh wlan delete profile command in about a minute. Nobody clicked anything.

So the models know the commands. What changed their behaviour was the password. In the overwhelming majority of examples a model has seen, a Wi-Fi password is typed into a box on a screen. Given a password and a screen, they reach for the box. Computer use is also the newer, more impressive capability, and the models seem keen to use it.

What the command route looks like

Luna's whole job came down to one PowerShell command after two quick checks. Simplified, it did this:

  1. Read the password from the WIFIPASSWORD environment variable TYOMAN provided, and stop with a clear error if it is missing.
  2. Escape it and build a standard Windows Wi-Fi profile (WPA2-Personal) in memory.
  3. Write the profile to a randomly named file in the user's temp folder, import it with netsh wlan add profile, and connect with netsh wlan connect.
  4. Delete the temp file in a finally block, so it goes even if a step fails.
  5. Check the connection and report it in plain words.
powershell
$password = $env:WIFIPASSWORD
if ([string]::IsNullOrEmpty($password)) { throw 'Password is unavailable.' }
$path = Join-Path $env:TEMP ('wlan-' + [guid]::NewGuid().ToString('N') + '.xml')
try {
    [IO.File]::WriteAllText($path, $profileXml, [Text.Encoding]::UTF8)
    netsh wlan add profile filename="$path" user=current
    netsh wlan connect name="$ssid" ssid="$ssid"
} finally {
    Remove-Item $path -Force -ErrorAction SilentlyContinue
}

No screenshots, no clicking, no focus to lose. It also needs no administrator rights, because the profile is added for the current user only.

The nudge

Two things made Luna's run possible.

The first is the secret-as-environment-variable design. Without it, the only way to use a password the AI is not allowed to see is to have it typed into a box, and that drags every model to the screen.

The second is a single line we added to the instructions every model gets: prefer commands for anything a command can do (settings, Wi-Fi, network, files, installs, services), and use the screen only when no command can do the job. Luna's run came after that rule was added. The Gemini runs and the GPT-6.2 Sol run came before it.

What we are taking from it

  • A cheap model on a good path beats an expensive model on a bad one. Luna costs a small fraction of GPT-6.2 Sol per token, and on this job it was faster as well as about 24 times cheaper.
  • Computer use is the fallback, not the default. It is the right tool for an app with no command line, or for checking what the person actually sees. For Windows settings, there is almost always a command.
  • Give secrets a command-line path. If the only way to use a password is to type it into a field, the AI will go looking for a field.
  • Tell the model which path you prefer. One sentence in the instructions changed the route the cheapest model took.

We have since made Gemini 4 Neon the default Gemini model in TYOMAN and kept GPT-6 Luna as OpenAI's Fast option. For anything that is really a settings change, the Fast models with the command-first rule are now our first choice.

Comments (0)

Leave a Comment
Your email won't be published. We'll only use it to notify you of replies to your comment.
Loading comments...
Previous Article
post-thumb

Oct 03, 2021

Setting up Ingress for a Web Service in a Kubernetes Cluster with NGINX Ingress Controller

A simple tutorial that helps configure ingress for a web service inside a kubernetes cluster using NGINX Ingress Controller

Next Article
post-thumb

Nov 30, 2026

Face ID before your phone can type into your coding agent

The second Reach Sessions demo. A phone opens a live Claude Code session view-only, and has to pass Face ID before it can type and approve the agent's next step.

agico

We transform visions into reality. We specializes in crafting digital experiences that captivate, engage, and innovate. With a fusion of creativity and expertise, we bring your ideas to life, one pixel at a time. Let's build the future together.

Copyright ©  2026  TYO Lab · v0.0.40